--> wes has joined #net-snmp
[2003/05/05 07:11:48] #net-snmp <nixman_> is dlmod supported on windows ?
[2003/05/05 07:12:38] #net-snmp <rstory> i'm pretty sure it won't work with MSVC++.. it might work for cygwin...
[2003/05/05 07:12:59] #net-snmp <nixman_> ACTION feels the weight of the sky on his head
[2003/05/05 07:13:21] #net-snmp <nixman_> cygwin is gpl ... no can do for us !
[2003/05/05 07:14:09] #net-snmp <nixman_> i only have a couple of hours for my demo left ...
[2003/05/05 07:14:15] #net-snmp <rstory> then you'll need to hire a windows programmer to figure out how to make it work.. we'd gladly accept a patch!
[2003/05/05 07:15:00] #net-snmp <wes> I think someone somewhere has a patch to make dll plugins work on windows. I wonder what that is... I don't remember off the top of my head.
[2003/05/05 07:15:39] #net-snmp <nixman_> i am a windows programmer myself ... but marketing considers anything above 2 weeks to be too long !
[2003/05/05 07:20:14] #net-snmp <nixman_> where is the code for dlmod ?
[2003/05/05 07:20:48] #net-snmp <nixman_> i means which files ?
[2003/05/05 07:21:51] #net-snmp <nixman_> dlmod.c .. duh !
[2003/05/05 07:28:41] #net-snmp <nixman_> anyone know why debug info is striped of snmpd in the *Debug* configuration ?
[2003/05/05 07:36:48] #net-snmp <rstory> is it stripped, or not compiled in in the first place? check the project settings..
[2003/05/05 07:43:09] #net-snmp <nixman_> i just checked it .. everything seem to be fine. I compared all the compiler settings (via the ui and cli ) with a default project and it all seems fine. However when i start debugging snmpd it says it has no debug info @#$%@#%@#%$
--> TrogL has joined #net-snmp
[2003/05/05 07:56:21] #net-snmp <TrogL> ACTION survived his Vancouver band trip
[2003/05/05 07:59:55] #net-snmp <nixman_> ACTION wants to strangle slowly the person who did the win32 project ..
[2003/05/05 08:10:01] #net-snmp <rstory> wes: is there a particular reason net-snmp-config is created w/out execute, requiring a make to set it as exe? (we've probably had this discussion, i just don't remember it)
[2003/05/05 08:10:48] #net-snmp <rstory> or a better question, would it be a problem if I changed it to be created w/exe permissions?
[2003/05/05 08:18:39] #net-snmp <nixman_> for some reason the project settings are messed up in the snmpd project. Just copying snmpget project settings fixed my problems. I am not sure why these settings were selected !
[2003/05/05 08:19:00] #net-snmp <rstory> the windows part of the project needs work..
[2003/05/05 08:21:43] #net-snmp <nixman_> someone needs to come up with a cross platform way of doing these things. make/dsp/autoconf just all suck for me !
[2003/05/05 08:22:23] #net-snmp <nixman_> something similar to ant
[2003/05/05 08:38:24] #net-snmp <TrogL> My God, what have I done? Sun appears to be taking Net-SNMP very seriously
[2003/05/05 08:39:28] #net-snmp <nixman_> in what sense ?
[2003/05/05 08:39:44] #net-snmp <nixman_> ACTION needs background info
[2003/05/05 08:42:20] #net-snmp <TrogL> I've been fighting a running battle with Sun over SNMP issues. At one point I suggested they have a serious look at NET-SNMP as an alternative to their expensive alternative
[2003/05/05 08:42:40] #net-snmp <TrogL> since then we've been seeing the sun.com email addy popping up more and more
[2003/05/05 08:43:16] #net-snmp <TrogL> Saturday one of the sun developers said that there's actually a "project" to work on it
[2003/05/05 08:44:00] #net-snmp <nixman_> took me 2 years to introduce snmp uphere ... and still it was not until new management came !
[2003/05/05 08:44:27] #net-snmp <TrogL> I dont' know what I'd do without it, not that I've got it
--> gprsi16 has joined #net-snmp
[2003/05/05 08:47:00] #net-snmp <wes> rstory: because when I created net-snmp-config configure.in didn't have an option (that I knew of, it's not like I read the docs) for setting the permission of the created file. Maybe the newer 2.57 does?
[2003/05/05 08:47:21] #net-snmp <rstory> no, it's possible in 2.13 as well. i'll check it in..
[2003/05/05 08:47:27] #net-snmp <wes> kay, thanks!
[2003/05/05 08:47:36] #net-snmp <gprsi16> hello
[2003/05/05 08:47:40] #net-snmp <wes> hi
[2003/05/05 08:48:08] #net-snmp <gprsi16> i have a problem trying to compile
[2003/05/05 08:48:17] #net-snmp <gprsi16> In file included from /usr/include/ucd-snmp/ucd-snmp-includes.h:4, from pr2.c:3: /usr/include/netinet/in.h:133: redefinition of `u_int' /usr/include/sys/types.h:35: `u_int' previously declared here
[2003/05/05 08:48:20] #net-snmp <TrogL> platform?
[2003/05/05 08:48:26] #net-snmp <gprsi16> redhat
[2003/05/05 08:50:22] #net-snmp <nixman_> anyone can access the page linked from http://www.net-snmp.org/tutorial-5/ ? specially the under "The tutorial" section"
[2003/05/05 08:50:23] #net-snmp <wes> errr..
[2003/05/05 08:50:45] #net-snmp <wes> gprsi16: It looks to me like configure isn't properly determining that you have that type already available.
[2003/05/05 08:51:09] #net-snmp <wes> you might look at the config.log file for details on u_int detection.
[2003/05/05 08:51:19] #net-snmp <wes> oh, wait.
[2003/05/05 08:51:24] #net-snmp <wes> I can't read straight yet this morning.
[2003/05/05 08:51:47] #net-snmp <wes> what version of redhat?
[2003/05/05 08:51:52] #net-snmp <gprsi16> 7.1
[2003/05/05 08:51:57] #net-snmp <wes> nixman_: what's the problem?
[2003/05/05 08:52:13] #net-snmp <wes> which link?
[2003/05/05 08:53:55] #net-snmp <gprsi16> wes: where is the config.log file?
[2003/05/05 08:54:57] #net-snmp <wes> in your main directory
[2003/05/05 08:55:01] #net-snmp <wes> configure generates it.
[2003/05/05 08:55:13] #net-snmp <gprsi16> but i'm using gcc directly
[2003/05/05 08:55:29] #net-snmp <gprsi16> cos its a program i wrote
[2003/05/05 08:56:34] #net-snmp <gprsi16> gcc -o pr2 -I/usr/include -Wall -L/usr/lib -lsnmp pr2.c
[2003/05/05 08:57:59] #net-snmp <wes> Ah, so you're using an rpm for net-snmp?
[2003/05/05 08:58:45] #net-snmp <gprsi16> it was already installed, i'm in a university lab
[2003/05/05 08:59:23] #net-snmp <gprsi16> an unfortunatelly our teacher is completelly inutil
[2003/05/05 09:00:01] #net-snmp <wes> Ah.
[2003/05/05 09:01:11] #net-snmp <wes> well, what is odd is that that line in in.h shouldn't be for u_int (at least on my machine). It should be for u_int32
--> miike has joined #net-snmp
[2003/05/05 09:08:37] #net-snmp <gprsi16> it's curious, but in in.h we cannot find u_int :??
[2003/05/05 09:12:47] #net-snmp <gprsi16> and effectively, in our in.h line 133 u_int32 is defined
[2003/05/05 09:16:02] #net-snmp <wes> odd.
--> bcrosby has joined #net-snmp
[2003/05/05 09:32:29] #net-snmp <bcrosby> hello!
[2003/05/05 09:34:11] #net-snmp <gprsi16> we got it!
[2003/05/05 09:34:19] #net-snmp <TrogL> hello bcrosby
[2003/05/05 09:34:26] #net-snmp <gprsi16> we compiled in other PC
[2003/05/05 09:34:27] #net-snmp <gprsi16> :D
[2003/05/05 09:34:31] #net-snmp <wes> heh.
[2003/05/05 09:34:45] #net-snmp <bcrosby> im trying to use the diskUsage OID, but keep on getting returned "0"
[2003/05/05 09:34:55] #net-snmp <gprsi16> thanks for your aid, wes
[2003/05/05 09:34:57] #net-snmp <TrogL> bcrosby: platform?
[2003/05/05 09:35:04] #net-snmp <bcrosby> the partition i'm trying to get stats on is an NFS mount.
[2003/05/05 09:35:06] #net-snmp <wes> np
[2003/05/05 09:35:07] #net-snmp <bcrosby> FreeBSD
[2003/05/05 09:35:09] #net-snmp <gprsi16> bye
[2003/05/05 09:35:59] #net-snmp <bcrosby> as an intrem solution i'm using HrStorageUsed... but that is returning odd values (even when I factor in the 2K block size)
[2003/05/05 09:36:33] #net-snmp <TrogL> which MIB?
[2003/05/05 09:43:59] #net-snmp <TrogL> did you include HOST-RESOURCES-MIB?
[2003/05/05 09:46:45] #net-snmp <bcrosby> yup
[2003/05/05 09:46:49] #net-snmp <bcrosby> im using the proper mib
[2003/05/05 09:46:58] #net-snmp <bcrosby> and it works fine on locally mounted partitions
[2003/05/05 09:47:00] #net-snmp <bcrosby> just not NFS ones
[2003/05/05 09:47:02] #net-snmp <bcrosby> ACTION thinks its a bug
[2003/05/05 09:48:23] #net-snmp <rstory> try searching the mailing lists.. (any maybe the bug database) this seems to ring a bell for me..
[2003/05/05 09:49:49] #net-snmp <bcrosby> will do
[2003/05/05 09:59:50] #net-snmp <nixman_> ACTION just realized agent_check_and_process makes select calls wich he supposes are not working on windows !
[2003/05/05 10:00:12] #net-snmp <bcrosby> silly sourceforge.. searching of the mailing lists seems to be broken
[2003/05/05 10:02:57] #net-snmp <nixman_> oooh .. now it says "Error opening specified endpoint "udp:161""
[2003/05/05 10:28:51] #net-snmp <nixman_> can someone tell me possible reason why it cannot open udp port 161 ?
[2003/05/05 10:29:13] #net-snmp <nixman_> logging says "netsnmp_udp: open local 0.0.0.0"
[2003/05/05 10:29:30] #net-snmp <rstory> you aren't root?
[2003/05/05 10:29:39] #net-snmp <rstory> another agent already has it open?
[2003/05/05 10:29:44] #net-snmp <nixman_> i am on windows !
[2003/05/05 10:30:08] #net-snmp <nixman_> i am using the code at http://www.net-snmp.org/tutorial-5/toolkit/
[2003/05/05 10:30:39] #net-snmp <nixman_> so it is a basic agent .. i am trying to avoid the basic snmpd with all the bells and whistles
[2003/05/05 10:31:32] #net-snmp <rstory> try another port... say udp:1161
[2003/05/05 10:34:37] #net-snmp <nixman_> i am getting the same error !
[2003/05/05 10:35:16] #net-snmp <nixman_> does "netsnmp_udp: open local 0.0.0.0" makes sense ?
[2003/05/05 10:36:59] #net-snmp <rstory> not sure.. try udp:localhost:1161 or udp:1.2.3.4:1161 (where 1.2.3.4 is your ip)
[2003/05/05 10:39:35] #net-snmp <nixman_> aaaaaaaaaarrrrch .. still same .. something is not cocher with this tutorial !
[2003/05/05 10:47:02] #net-snmp <nixman_> the default snmpd looks fine
--> benr has joined #net-snmp
[2003/05/05 11:13:06] #net-snmp <nixman_> are you supposed to run the agent with some config files ?
[2003/05/05 11:18:52] #net-snmp <wes> yes
[2003/05/05 11:19:12] #net-snmp <wes> without them you won't have access to the agent.
[2003/05/05 11:19:28] #net-snmp <wes> run "snmpconf -g basic_setup" and it'll walk you through creating a basic on.
[2003/05/05 11:19:55] #net-snmp <rstory> wes: he's on windoze.. snmpconf probably wont work
[2003/05/05 11:20:10] #net-snmp <wes> errr.... it will, actually, maybe, possibly.
[2003/05/05 11:20:19] #net-snmp <wes> especially if you run it as "perl snmpconf ..."
[2003/05/05 11:20:31] #net-snmp <wes> Or just read the snmpd.conf manual page
[2003/05/05 11:20:54] #net-snmp <nixman_> wes: it is not build tho !
[2003/05/05 11:20:56] #net-snmp <rstory> nixman_: it should at least open ports w/out config file.. are you still getting the open error?
[2003/05/05 11:21:23] #net-snmp <nixman_> yes i am getting the errors. and i am assuming it is because of the cfg file
[2003/05/05 11:21:56] #net-snmp <nixman_> can i run the snmpconf on my spare linux machine ?
[2003/05/05 11:22:08] #net-snmp <rstory> no, config file is later.. how are you running the agent?
[2003/05/05 11:22:28] #net-snmp <rstory> yes, conf file generation should be ok from another machine
[2003/05/05 11:26:47] #net-snmp <nixman_> i am running my agent with no command lines . on snmpd i am using -VDL
[2003/05/05 11:51:13] #net-snmp <rstory> uhh.. first, snmpd == agent; second, then how have you been specifying the port?
[2003/05/05 11:52:21] #net-snmp <nixman_> netsnmp_ds_set_string(NETSNMP_DS_APPLICATION_ID,
[2003/05/05 11:52:21] #net-snmp <nixman_> NETSNMP_DS_AGENT_PORTS, "udp:10.20.2.95:6161");
[2003/05/05 11:53:58] #net-snmp <rstory> if it's still saying 0.0.0.0 in the error (as opposed to 10.20.2.95), i'd try moving that call earlier..
[2003/05/05 11:54:05] #net-snmp <rstory> off to lunch.. back in a bit
[2003/05/05 11:54:14] #net-snmp <nixman_> thanks .
--> BillGatesOfBorg has joined #net-snmp
[2003/05/05 13:17:12] #net-snmp <BillGatesOfBorg> Hey guys....
[2003/05/05 13:17:31] #net-snmp <BillGatesOfBorg> is there some way to know which of the MIB-2 objects have "set" operations implemented already?
[2003/05/05 13:17:59] #net-snmp <BillGatesOfBorg> For Linux, that is.
[2003/05/05 13:18:31] #net-snmp <BillGatesOfBorg> I noticed for example. that IP has set implemented for Win32, for example. But I was unable to find anything to do with set for IP, in Linux
--> bcrosby has joined #net-snmp
--> miike has joined #net-snmp
[2003/05/05 15:01:33] #net-snmp <wes> rstory: you going to check in a configure change for the mainline as well (re: +x)
[2003/05/05 15:01:47] #net-snmp <rstory> sure
[2003/05/05 17:34:33] #net-snmp <rstory> wes: it's already there (re +x in mainline).. don't know who put it there..
[2003/05/05 17:41:32] #net-snmp <NuWave> hey guys, i'm having a really screwy problem with snmpd, after i reboot, the counters are all wrong, ise mrtg to graph it and it says like 4000MB/s in and -3500MB/s out, I tried using 4.2.6 and 5.0.8, same problem and tried rebooting, but the counters dont reset
[2003/05/05 17:43:22] #net-snmp <rstory> what does ifconfig report?
[2003/05/05 17:44:55] #net-snmp <NuWave> its freebsd, doens't report in/out usage
[2003/05/05 17:44:59] #net-snmp <NuWave> netstat -i gives..
[2003/05/05 17:45:17] #net-snmp <NuWave> rl0 1500
00:50:ba:4f:16:68 735516 0 551779 0 521
[2003/05/05 17:45:17] #net-snmp <NuWave> rl0 1500 192.168.0 web 14700 - 14700 - -
[2003/05/05 17:45:45] #net-snmp <NuWave> sorry the mrtg graph of out is.. Current Out: -4629708749173422080.0 B/s
[2003/05/05 17:45:46] #net-snmp <NuWave> heh
[2003/05/05 17:49:20] #net-snmp <rstory> and are the numbers in a snmpwalk of ifTable way off too?
[2003/05/05 18:10:48] #net-snmp <NuWave> yes
[2003/05/05 18:11:20] #net-snmp <NuWave> sorry, was afk for a few
--> TrogL has joined #net-snmp
[2003/05/05 22:56:29] #net-snmp <wes> rstory: I did of course (heh., err... memory failing. must be time to sleep...)
[2003/05/05 22:56:34] #net-snmp <wes> 5.33 (hardaker 12-Feb-03): [chmod +x net-snmp-config])