--> alienbrain has joined #net-snmp
--> jsafrane has joined #net-snmp
--> tehhobbit has joined #net-snmp
[2009/06/29 01:01:23] #net-snmp <tehhobbit> http://pastie.org/527741
[2009/06/29 01:01:37] #net-snmp <tehhobbit> cant unde4rstand what it is that is accually failing
[2009/06/29 03:10:37] #net-snmp <rstory> tehhobbit: it looks like it couldn't find ar on your system
[2009/06/29 03:13:15] #net-snmp <rstory> jota-: ok, so that looks like support is detected.. so maybe the issues is access control..
[2009/06/29 03:14:55] #net-snmp <rstory> what do you get for snmpgetnext -cpublic -v1 localhost enterprises
[2009/06/29 03:20:15] #net-snmp <tehhobbit> rstory: yeah thanx noticed, didnt know configure put absolute path in the Makefile
[2009/06/29 03:21:02] #net-snmp <tehhobbit> gaaaah
[2009/06/29 03:21:03] #net-snmp <tehhobbit> # /opt/kb/bin/net-snmp-config --configure-options
[2009/06/29 03:21:03] #net-snmp <tehhobbit> '--prefix=/opt/kb' '--enable-mfd-rewrites' '--without-rpm' '--with-mib-modules=if-mib,ucd-snmp/diskio'
[2009/06/29 03:21:32] #net-snmp <tehhobbit> but when I try to walk the ifX table it still gives me missing oid
[2009/06/29 03:22:18] #net-snmp <rstory> what release?
[2009/06/29 03:23:25] #net-snmp <tehhobbit> 5.4.2.1
--> hardaker has joined #net-snmp
--> Sieg has joined #net-snmp
--> frostburn has joined #net-snmp
[2009/06/29 07:08:40] #net-snmp <jota-> rstory UCD-SNMP-MIB::memIndex.0 = INTEGER: 0
[2009/06/29 07:41:06] #net-snmp <rstory> jota-: ok, so it looks like it's not access control..
[2009/06/29 07:41:33] #net-snmp <rstory> let's run with debug... stop the agent and run 'snmpd -f -Lo -Dsensor'
[2009/06/29 07:43:21] #net-snmp <rstory> should see something like "Initialise Hardware Sensors module"
[2009/06/29 07:45:15] #net-snmp <jota-> nope
[2009/06/29 07:45:32] #net-snmp <jota-> registered debug token sensors, 1
[2009/06/29 07:45:32] #net-snmp <jota-> NET-SNMP version 5.4.1
[2009/06/29 07:45:36] #net-snmp <jota-> thats it
[2009/06/29 07:47:04] #net-snmp <jota-> (thats with the binary from the package.... I could try with the one I compiled too)
[2009/06/29 07:47:55] #net-snmp <rstory> ok, change it to -Dmib_init,sensors and pastebin the output
[2009/06/29 07:48:17] #net-snmp <jota-> ok
[2009/06/29 07:51:21] #net-snmp <jota-> http://www.pastebin.ca/1478410
[2009/06/29 07:54:48] #net-snmp <rstory> ok, now -Ducd-snmp/lmsensorsMib,sensors
[2009/06/29 07:57:16] #net-snmp <jota-> no output, just the registered with debug token line
[2009/06/29 08:02:40] #net-snmp <rstory> argh.. was looking in trunk instead of 5.4.x... try -Ducd-snmp/lmsensors,sensors
[2009/06/29 08:06:20] #net-snmp <jota-> same
[2009/06/29 08:11:18] #net-snmp <rstory> argg.. one more time.. not only did they change the name, they changed the case... -Ducd-snmp/lmSensors,sensors
[2009/06/29 08:12:17] #net-snmp <jota-> => sensor_init
[2009/06/29 08:12:17] #net-snmp <jota-> <= sensor_init
[2009/06/29 08:12:24] #net-snmp <jota-> thats it
[2009/06/29 08:13:33] #net-snmp <jota-> when I do a walk on lmSensors it print a bunch of free_sensor_arrays
[2009/06/29 08:14:33] #net-snmp <rstory> ok, so at least we know it loading the code
[2009/06/29 08:14:49] #net-snmp <rstory> so the question is, where is the data?
[2009/06/29 08:14:58] #net-snmp <rstory> you're sure lmsesnors is already working?
[2009/06/29 08:15:21] #net-snmp <jota-> yeah
[2009/06/29 08:16:00] #net-snmp <jota-> http://www.pastebin.ca/1478429
[2009/06/29 08:17:09] #net-snmp <jota-> some had similar behaviour on ubuntu 804... but apparently all they did to fix it was ln -s /etc/sensors.conf /etc/sensors3.conf.... which I already did
[2009/06/29 08:18:26] #net-snmp <jota-> I have found no reports of anyone having trouble on jaunty though...
[2009/06/29 08:19:26] #net-snmp <jota-> on the other hand I have also found no reports of anyone who has got it to work on jaunty
[2009/06/29 08:21:10] #net-snmp <jota-> and even for those ppl that still had problem on other ubuntu versions after doing the symlink the suggested solution was to compile net-snmp themselves... which I already did... this is realy bothering me... :(
[2009/06/29 08:23:52] #net-snmp <rstory> ok, since I'm not sure how ubuntu does default access control, let's try one more thing before you have to resort to patching or running in a debugger...
[2009/06/29 08:25:16] #net-snmp <rstory> run "snmpd -f -Lo --rocommunity=jota" and then snmpwalk -v2c -c jota localhost lmSensors
[2009/06/29 08:25:29] #net-snmp <jota-> man ubuntu is BS.... I switched to it from slackware because I was tired of having to compile stuff all the time.....
[2009/06/29 08:25:51] #net-snmp <jota-> k
[2009/06/29 08:26:58] #net-snmp <jota-> jota@ubuntu64srv:~$ snmpwalk -v2c -c jota localhost lmSensors
[2009/06/29 08:26:58] #net-snmp <jota-> LM-SENSORS-MIB::lmSensors = No Such Object available on this agent at this OID
[2009/06/29 08:29:51] #net-snmp <rstory> bummer. well, that's about as far as I can take you on your quest... now it's a matter of figuring out what's not working in the code
[2009/06/29 08:30:01] #net-snmp <rstory> you either have to run in a debugger and step through the code, or add more debug output in the source and recompile
[2009/06/29 08:38:15] #net-snmp <jota-> ok... If I were to add the debugging info I should only worry about this file right agent/mibgroup/ucd-snmp/lmSensors.c ?
[2009/06/29 08:40:26] #net-snmp <jota-> also... why is the output different on the last test we did? before I was getting no output at all... why did I get that no Suck Object available.... and also would you consider this a bug or do you still think there might be something wrong with my system/setup?
[2009/06/29 08:45:32] #net-snmp <jota-> well... I'll be back later, thank you very much for your help, btw
--> kisielk has joined #net-snmp
--> mike_irc has joined #net-snmp
--> hardaker has joined #net-snmp
--> varun_c has joined #net-snmp
--> hardaker2 has joined #net-snmp
--> alienbrain has joined #net-snmp
--> snmpbot has joined #net-snmp