From: xbgmsharp <xbg...@gm...> - 2007-12-20 09:54:57
|
Hi all, In order to figure if it is the same bug, i would sujest. In template directory execute: find . -type f -name "oids" | xargs cat | grep leaf | cut -d ':' -f 2 | tr -d ' ' | awk '{ print "snmpget -t 20 -On -v2c -c COMMUNAUTY IP " $1 }' | sh It should work, this do an snmpget on all leaf oid like in my version. To do it like devmon do it, it is: find . -type f -name "oids" | xargs cat | grep leaf | tr -d ' ' | tr '\n' ' ' | awk -F '|' '{ print "snmpget -t 20 -On -v2c -c COMMUNAUTY IP " $1 }' | sh Which request all oids leaf in one request. If yo get Tobbig error, my version fix the bug. If not, send the error msg. If the problem is due to snmpwalk, i would sujest do add this line: do_log("DEBUG SNMP MSG: $SNMP_Session::errmsg",0) if $g{'debug'} before line 474 and 524 in the file modules/dm_snmp.pm. Then running devmon in devmon will print you the error msg you received when polling. For anyone having this kind of problem, please do it. Regards, Francois Buchan Milne a écrit : > On Wednesday 19 December 2007 17:19:34 xbgmsharp wrote: >> Hi all, >> >> After a day of DEBUG. I works. >> I modify the file dm_snmp.pm which do snmp pooling. >> So now instead of pooling all leaf oid in one request, 1 oid equal 1 >> request. So now than i am pooling each oid separitly devmon should not go >> purple. I try to make it per pakets like 5 or 10 but devmon get lost when >> corresponding data with test done in dm_tests.pm >> >> I will let it working on some PIX and F5 devices and commit by the end of >> the week. >> >> All of this, is for not getting SNMP Error: "error status: tooBig". >> Because of this error all my leaf test was going clear. >> >> Comments? > > I have a number of servers using the compaq-server template, and on some, all > the tests are always green. On the others, the are all clear, and I have > error messages such as this: > > Missing repeater data for primary OID cpqHeFltTolFanIndex > > There is no apparent difference between the servers. One DL380 works, one does > not. Two DL580s work, three don't. > > I'm wondering if there is a similar issue here. If I snmpwalk the whole Compaq > OID, or each branch, I get the data I expect on the servers that aren't > working. > > I think that is one of the last few issues I'd like to see fixed before 0.3.0 > goes out. > > Regards, > Buchan > |