From: xbgmsharp <xbg...@gm...> - 2007-12-19 09:42:05
|
Your are right. It just send clear status on the test with error. It doesn't send status on other test so they go purple by hobbit. if you use this option -f -p -vvvvvvvvvvv --debug. You will see: [07-12-19@10:34:53] DEBUG SNMP: Dethawing data for device [07-12-19@10:34:53] ERROR: snmpget device (Received SNMP response with error code) Here is the code refrence to this error. # Looks like we got some data my $hashref = thaw($data_in); my %returned; if (defined $hashref) { do_log("DEBUG SNMP: Dethawing data for $dev",0) if $g{'debug'}; %returned = %{ thaw($data_in) }; # If we got good data, reset the fail counter to 0 $g{'fail'}{$dev} = 0; } else { print "failed thaw on $dev\n"; next; } The problem that i still don't undestand weel the hash structure via the thaw function. Francois Nathan Hand a écrit : > On Tue, 18 Dec 2007 23:05:48 +0100, "xbgmsharp" <xbg...@gm...> > said: > >>> Short summary: If any single oid fails to retrieve then devmon stops >>> collecting the rest of the oids in the template. >>> >>> I've confirmed this hypothesis with with -f -p -vvvvvvvvvvv. Devmon >>> says something about "too many failures" and "skipping device". >>> Perhaps devmon should only skip that single column and still test the >>> others. >>> >> In the code, when 2 tests fails it stop chec the device and send a >> clear status. >> >> in modules/dm_snmp.pm >> >> 535 # We dont want to do every table if we are failing alot of >> walks >> 536 if($failed_query > 2) { >> 537 my $error_str = >> 538 "Failed too many queries on $dev, aborting query"; >> 539 $data_out{'error'}{$error_str} = 1; >> 540 send_data($sock, \%data_out); >> 541 $session->close(); >> 542 next DEVICE; >> 543 } >> >> >> I have the same problem with memory on my pix. >> >> But it never made the test go purple. >> > > The interesting thing is it makes _other_ tests go purple. > > My guess is that because it aborts the device query it doesn't send any > message for subsequent tests on that device, not even clear messages. So > after an hour the other tests go purple. > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services > for just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Devmon-support mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/devmon-support > > |