From: <Lor...@pf...> - 2007-11-12 17:38:01
|
Folks, (months later), I think I may have spotted what the issue is, but I have no idea about how to fix it. I.e. although the specs file for the NetApp filer says "use snmp v1", devmon sticks to snmp v2. Any suggestions? Cheers Loris $ cat /usr/local/devmon.v03/templates/netapp-misc/specs vendor : Network Appliances model : NetApp v1.0 snmpver : 1 sysdesc : NetApp $ $ ./devmon -vvvv -p --debug --readbbhosts [07-11-12@17:25:08] DEBUG TEMPLATES: running read_templates() [07-11-12@17:25:08] DEBUG TEMPLATES: read cisco:2800:if_dsc template [07-11-12@17:25:08] DEBUG TEMPLATES: read cisco:2800:if_col template [07-11-12@17:25:08] DEBUG TEMPLATES: read cisco:2800:if_stat template [07-11-12@17:25:08] DEBUG TEMPLATES: read cisco:2800:if_err template [07-11-12@17:25:08] DEBUG TEMPLATES: read cisco:2800:fans template [07-11-12@17:25:08] DEBUG TEMPLATES: read cisco:2800:cpu template [07-11-12@17:25:08] DEBUG TEMPLATES: read cisco:2800:if_load template <snip> ... <snip> [07-11-12@17:25:09] DEBUG TEMPLATES: read cisco:7206:if_dsc template [07-11-12@17:25:09] DEBUG TEMPLATES: read cisco:7206:if_col template [07-11-12@17:25:09] DEBUG TEMPLATES: read cisco:7206:if_stat template [07-11-12@17:25:09] DEBUG TEMPLATES: read cisco:7206:if_err template [07-11-12@17:25:09] DEBUG TEMPLATES: read cisco:7206:power template [07-11-12@17:25:09] DEBUG TEMPLATES: read cisco:7206:cpu template [07-11-12@17:25:09] DEBUG TEMPLATES: read cisco:7206:if_load template [07-11-12@17:25:09] DEBUG TEMPLATES: read f5:bigip:connects template [07-11-12@17:25:09] DEBUG TEMPLATES: read f5:bigip:cpu template [07-11-12@17:25:09] DEBUG TEMPLATES: read f5:bigip:if_load template [07-11-12@17:25:09] DEBUG TEMPLATES: read Network Appliances:NetApp v1.0:netapptemp template [07-11-12@17:25:09] DEBUG TEMPLATES: read Network Appliances:NetApp v1.0:cluster template [07-11-12@17:25:09] DEBUG TEMPLATES: read Network Appliances:NetApp v1.0:status template [07-11-12@17:25:09] DEBUG TEMPLATES: read Network Appliances:NetApp v1.0:if_load template [07-11-12@17:25:09] DEBUG TEMPLATES: read Network Appliances:NetApp v1.0:volume template [07-11-12@17:25:09] DEBUG TEMPLATES: read Network Appliances:NetApp v1.0:quota template [07-11-12@17:25:09] DEBUG TEMPLATES: read powerware:9170:power template [07-11-12@17:25:09] DEBUG TEMPLATES: read powerware:bestlink:power template [07-11-12@17:25:09] DEBUG TEMPLATES: read powerware:xups:power template [07-11-12@17:25:09] DEBUG TEMPLATES: running post_template_load() [07-11-12@17:25:09] Saw 7 vendors, 25 models, 25 sysdescs & 75 templates [07-11-12@17:25:09] SNMP querying all hosts in bb-hosts file, please wait... [07-11-12@17:25:09] DEBUG CFG: running read_hosts [07-11-12@17:25:09] Querying new hosts using cid 'xxxxxxxxx' and snmp v2 [07-11-12@17:25:19] DEBUG SNMP: Dethawing data for viking [07-11-12@17:25:19] ERROR: snmpget viking (no response received) [07-11-12@17:25:19] viking sysdesc = ::: UNDEFINED ::: [07-11-12@17:25:19] Querying new hosts using cid 'private' and snmp v2 ^XAttempt to free unreferenced scalar, <$__ANONIO__> line 2. $ Lor...@pf... Sent by: dev...@li... 24/08/2007 13:30 Please respond to dev...@li... To dev...@li... cc Subject Re: [Devmon] Issues monitoring a NetApp Filer Right, I've updated to version 0.3.0-beta2 (and its new templates). Still, same old story. I am sure it must be me missing something. Any ideas, anyone? Cheers Loris [bb@genesis devmon]$ ./devmon -f -p -vvvvvvv [07-08-24@13:27:04] Nodename autodetected as genesis [07-08-24@13:27:04] ---Initilizing devmon... [07-08-24@13:27:04] Verbosity level: 7 [07-08-24@13:27:04] Logging to /var/log/devmon.log [07-08-24@13:27:04] Node 0 reporting to localhost [07-08-24@13:27:04] Running under process id: 6790 [07-08-24@13:27:04] Entering poll loop [07-08-24@13:27:05] Starting snmp queries [07-08-24@13:27:05] Querying i-wexf-a01 for tests cpu,if_err,if_dsc,if_stat,if_col,if_load,fans [07-08-24@13:27:05] Querying i-wexf-a02 for tests cpu,if_err,if_dsc,if_stat,if_col,if_load,fans [07-08-24@13:27:05] Querying viking for tests quota,status,volume,cluster,netapptemp,if_load [07-08-24@13:27:05] Querying wexi-isp-rtr for tests cpu,if_err,if_dsc,if_stat,power,if_col,if_load [07-08-24@13:27:05] Querying wexsw01 for tests cpu,if_err,if_dsc,if_stat,power,if_col,if_load,fans [07-08-24@13:27:05] ERROR: snmpget viking (Received SNMP response with error code) [07-08-24@13:27:05] ERROR: Error walking 1.3.6.1.4.1.9.9.13.1.4.1.2 for wexsw01 () [07-08-24@13:27:05] ERROR: Error walking 1.3.6.1.4.1.9.9.13.1.4.1.3 for wexsw01 () [07-08-24@13:27:05] ERROR: Error walking 1.3.6.1.4.1.9.9.13.1.5.1.2 for wexsw01 () [07-08-24@13:27:05] ERROR: Failed too many queries on wexsw01, aborting query [07-08-24@13:27:05] Performing test logic [07-08-24@13:27:05] No SNMP data found for qrVType on viking [07-08-24@13:27:05] No SNMP data found for qrVPathName on viking [07-08-24@13:27:05] No SNMP data found for qrVKBytesUsed on viking [07-08-24@13:27:05] No SNMP data found for qrVKBytesLimit on viking [07-08-24@13:27:05] Missing repeater data for qrVPathName for quota msg [07-08-24@13:27:05] No SNMP data found for envOverTemperature on viking [07-08-24@13:27:05] No SNMP data found for envFailedPowerSupplyMessage on viking [07-08-24@13:27:05] No SNMP data found for envFailedFanCount on viking [07-08-24@13:27:05] No SNMP data found for miscGlobalStatusMessage on viking [07-08-24@13:27:05] No SNMP data found for diskFailedCount on viking [07-08-24@13:27:05] No SNMP data found for envFailedPowerSupplyCount on viking [07-08-24@13:27:05] No SNMP data found for miscGlobalStatus on viking [07-08-24@13:27:05] No SNMP data found for nvramBatteryStatus on viking [07-08-24@13:27:05] No SNMP data found for envFailedFanMessage on viking [07-08-24@13:27:05] No SNMP data found for diskFailedMessage on viking [07-08-24@13:27:05] No SNMP data found for currentTemp on viking [07-08-24@13:27:05] No SNMP data found for dfKBytesTotal on viking [07-08-24@13:27:05] No SNMP data found for dfKBytesUsed on viking [07-08-24@13:27:05] No SNMP data found for dfFileSys on viking [07-08-24@13:27:05] Missing repeater data for dfFileSys for volume msg [07-08-24@13:27:05] No SNMP data found for cfPartnerStatus on viking [07-08-24@13:27:05] No SNMP data found for cfPartnerName on viking [07-08-24@13:27:05] No SNMP data found for cfCannotTakeoverCause on viking [07-08-24@13:27:05] No SNMP data found for cfSettings on viking [07-08-24@13:27:05] No SNMP data found for cfInterconnectStatus on viking [07-08-24@13:27:05] No SNMP data found for cfState on viking [07-08-24@13:27:05] No SNMP data found for envOverTemperature on viking [07-08-24@13:27:05] No SNMP data found for currentTemp on viking [07-08-24@13:27:05] No SNMP data found for ifOutOctets on viking [07-08-24@13:27:05] No SNMP data found for ifDescr on viking [07-08-24@13:27:05] No SNMP data found for ifInOctets on viking [07-08-24@13:27:05] No SNMP data found for ifBps on viking [07-08-24@13:27:05] Missing repeater data for ifDescr for if_load msg [07-08-24@13:27:05] No SNMP data found for ifOutOctets on wexsw01 [07-08-24@13:27:05] No SNMP data found for ifName on wexsw01 [07-08-24@13:27:05] No SNMP data found for ifOutErrors on wexsw01 [07-08-24@13:27:05] No SNMP data found for ifInErrors on wexsw01 [07-08-24@13:27:05] Missing repeater data for ifName for if_err msg [07-08-24@13:27:05] No SNMP data found for ifInDiscards on wexsw01 [07-08-24@13:27:05] No SNMP data found for ifName on wexsw01 [07-08-24@13:27:05] No SNMP data found for ifOutDiscards on wexsw01 [07-08-24@13:27:05] Missing repeater data for ifName for if_dsc msg [07-08-24@13:27:05] No SNMP data found for ifName on wexsw01 [07-08-24@13:27:05] No SNMP data found for ifOperStatNum on wexsw01 [07-08-24@13:27:05] No SNMP data found for ifAdminStatNum on wexsw01 [07-08-24@13:27:05] Missing repeater data for ifName for if_stat msg [07-08-24@13:27:05] No SNMP data found for PsuState on wexsw01 [07-08-24@13:27:05] No SNMP data found for PsuDescr on wexsw01 [07-08-24@13:27:05] Missing repeater data for PsuDescr for power msg [07-08-24@13:27:05] No SNMP data found for ifName on wexsw01 [07-08-24@13:27:05] No SNMP data found for ifOutCollisions on wexsw01 [07-08-24@13:27:05] Missing repeater data for ifName for if_col msg [07-08-24@13:27:05] No SNMP data found for ifName on wexsw01 [07-08-24@13:27:05] Missing repeater data for ifName for if_load msg [07-08-24@13:27:05] No SNMP data found for FanState on wexsw01 [07-08-24@13:27:05] No SNMP data found for FanDescr on wexsw01 [07-08-24@13:27:05] Missing repeater data for FanDescr for fans msg [07-08-24@13:27:05] Done with test logic [07-08-24@13:27:05] Sending messages to display server status i-wexf-a01.cpu green Fri Aug 24 13:27:05 2007 Lor...@pf... Sent by: dev...@li... 23/08/2007 18:07 Please respond to dev...@li... To Lor...@pf... cc dev...@li... Subject Re: [Devmon] Issues monitoring a NetApp Filer Here it is, Johann. (OK errors on a 2950 switch too, but one thing at a time...) Thanks Loris [bb@genesis devmon]$ ./devmon -f -p -vvvvvvv [07-08-23@17:52:22] Nodename autodetected as genesis [07-08-23@17:52:22] ---Initilizing devmon... [07-08-23@17:52:22] Verbosity level: 7 [07-08-23@17:52:22] Logging to /var/log/devmon.log [07-08-23@17:52:22] Node 0 reporting to localhost [07-08-23@17:52:22] Running under process id: 20126 [07-08-23@17:52:22] Entering poll loop [07-08-23@17:52:22] Starting snmp queries [07-08-23@17:52:22] Querying i-wexf-a01 for tests if_dsc,cpu,if_err,if_stat,if_col,if_load,fans [07-08-23@17:52:22] Querying i-wexf-a02 for tests if_dsc,cpu,if_err,if_stat,if_col,if_load,fans [07-08-23@17:52:22] Querying viking2 for tests status,quota,volume,cluster,netapptemp,if_load [07-08-23@17:52:22] Querying wexi-isp-rtr for tests if_dsc,cpu,if_err,if_stat,power,if_col,if_load [07-08-23@17:52:22] Querying wexsw01 for tests if_dsc,cpu,if_err,if_stat,power,if_col,if_load,fans [07-08-23@17:52:22] ERROR: snmpget viking2 (Received SNMP response with error code) [07-08-23@17:52:23] ERROR: Error walking 1.3.6.1.4.1.9.9.13.1.4.1.2 for wexsw01 () [07-08-23@17:52:23] ERROR: Error walking 1.3.6.1.4.1.9.9.13.1.4.1.3 for wexsw01 () [07-08-23@17:52:23] ERROR: Error walking 1.3.6.1.4.1.9.9.13.1.5.1.2 for wexsw01 () [07-08-23@17:52:23] ERROR: Failed too many queries on wexsw01, aborting query [07-08-23@17:52:23] Performing test logic [07-08-23@17:52:23] No SNMP data found for envOverTemperature on viking2 [07-08-23@17:52:23] No SNMP data found for envFailedPowerSupplyMessage on viking2 [07-08-23@17:52:23] No SNMP data found for envFailedFanCount on viking2 [07-08-23@17:52:23] No SNMP data found for miscGlobalStatusMessage on viking2 [07-08-23@17:52:23] No SNMP data found for diskFailedCount on viking2 [07-08-23@17:52:23] No SNMP data found for envFailedPowerSupplyCount on viking2 [07-08-23@17:52:23] No SNMP data found for miscGlobalStatus on viking2 [07-08-23@17:52:23] No SNMP data found for nvramBatteryStatus on viking2 [07-08-23@17:52:23] No SNMP data found for envFailedFanMessage on viking2 [07-08-23@17:52:23] No SNMP data found for diskFailedMessage on viking2 [07-08-23@17:52:23] No SNMP data found for currentTemp on viking2 [07-08-23@17:52:23] No snmp data found for nvramBatteryStatus on viking2 [07-08-23@17:52:23] No snmp data found for envOverTemperature on viking2 [07-08-23@17:52:23] No SNMP data found for qrVType on viking2 [07-08-23@17:52:23] No SNMP data found for qrVPathName on viking2 [07-08-23@17:52:23] No SNMP data found for qrVKBytesUsed on viking2 [07-08-23@17:52:23] No SNMP data found for qrVKBytesLimit on viking2 [07-08-23@17:52:23] Missing primary oid data for trans_math on qrVGBytesLimit [07-08-23@17:52:23] Missing primary oid data for trans_math on qrPercentUsed [07-08-23@17:52:23] Missing primary oid data for trans_math on qrVGBytesUsed [07-08-23@17:52:23] Missing repeater data for trans_switch on qrTypeDescr [07-08-23@17:52:23] Missing repeater data for qrVPathName for quota msg [07-08-23@17:52:23] No SNMP data found for dfKBytesTotal on viking2 [07-08-23@17:52:23] No SNMP data found for dfKBytesUsed on viking2 [07-08-23@17:52:23] No SNMP data found for dfFileSys on viking2 [07-08-23@17:52:23] Missing primary oid data for trans_math on dfPercent [07-08-23@17:52:23] Missing primary oid data for trans_math on dfGBytesTotal [07-08-23@17:52:23] Missing primary oid data for trans_math on dfGBytesUsed [07-08-23@17:52:23] Missing repeater data for dfFileSys for volume msg [07-08-23@17:52:23] No SNMP data found for cfPartnerStatus on viking2 [07-08-23@17:52:23] No SNMP data found for cfPartnerName on viking2 [07-08-23@17:52:23] No SNMP data found for cfCannotTakeoverCause on viking2 [07-08-23@17:52:23] No SNMP data found for cfSettings on viking2 [07-08-23@17:52:23] No SNMP data found for cfInterconnectStatus on viking2 [07-08-23@17:52:23] No SNMP data found for cfState on viking2 [07-08-23@17:52:23] No snmp data found for cfPartnerStatus on viking2 [07-08-23@17:52:23] No snmp data found for cfState on viking2 [07-08-23@17:52:23] No snmp data found for cfInterconnectStatus on viking2 [07-08-23@17:52:23] No snmp data found for cfSettings on viking2 [07-08-23@17:52:23] No snmp data found for cfCannotTakeoverCause on viking2 [07-08-23@17:52:23] No SNMP data found for envOverTemperature on viking2 [07-08-23@17:52:23] No SNMP data found for currentTemp on viking2 [07-08-23@17:52:23] No SNMP data found for ifOutOctets on viking2 [07-08-23@17:52:23] No SNMP data found for ifDescr on viking2 [07-08-23@17:52:23] No SNMP data found for ifInOctets on viking2 [07-08-23@17:52:23] No SNMP data found for ifBps on viking2 [07-08-23@17:52:23] Missing repeater data for trans_delta on ifInOps [07-08-23@17:52:23] Data type mismatch for leaf 1 of ifInOps on viking2: 'Missing primary oid data' does not match regex '^[-+]?\d+(\.\d+)?$' [07-08-23@17:52:23] Data type mismatch for leaf 1 of ifInBps on viking2: 'Bad data' does not match regex '^[-+]?\d+(\.\d+)?$' Argument "Bad data" isn't numeric in numeric gt (>) at /usr/local/devmon/modules/dm_tests.pm line 2566, <$__ANONIO__> line 160. [07-08-23@17:52:23] Missing repeater data for trans_delta on ifOutOps [07-08-23@17:52:23] Data type mismatch for leaf 1 of ifOutOps on viking2: 'Missing primary oid data' does not match regex '^[-+]?\d+(\.\d+)?$' [07-08-23@17:52:23] Data type mismatch for leaf 1 of ifOutBps on viking2: 'Bad data' does not match regex '^[-+]?\d+(\.\d+)?$' Argument "Bad data" isn't numeric in numeric gt (>) at /usr/local/devmon/modules/dm_tests.pm line 2566, <$__ANONIO__> line 160. [07-08-23@17:52:23] Missing repeater data for trans_elapsed on ifSpeed [07-08-23@17:52:23] Missing repeater data for ifDescr for if_load msg [07-08-23@17:52:23] No SNMP data found for ifOutOctets on wexsw01 [07-08-23@17:52:23] No SNMP data found for ifInDiscards on wexsw01 [07-08-23@17:52:23] No SNMP data found for ifName on wexsw01 [07-08-23@17:52:23] No SNMP data found for ifOutDiscards on wexsw01 [07-08-23@17:52:23] Missing repeater data for trans_delta on ifInDps [07-08-23@17:52:23] Data type mismatch for leaf 1 of ifInDps on wexsw01: 'Missing primary oid data' does not match regex '^[-+]?\d+(\.\d+)?$' Argument "Bad data" isn't numeric in numeric gt (>) at /usr/local/devmon/modules/dm_tests.pm line 2566, <$__ANONIO__> line 160. [07-08-23@17:52:23] Missing repeater data for trans_delta on ifOutOps [07-08-23@17:52:23] Data type mismatch for leaf 1 of ifOutOps on wexsw01: 'Missing primary oid data' does not match regex '^[-+]?\d+(\.\d+)?$' [07-08-23@17:52:23] Missing repeater data for trans_delta on ifOutDps [07-08-23@17:52:23] Data type mismatch for leaf 1 of ifOutDps on wexsw01: 'Missing primary oid data' does not match regex '^[-+]?\d+(\.\d+)?$' Argument "Bad data" isn't numeric in numeric gt (>) at /usr/local/devmon/modules/dm_tests.pm line 2566, <$__ANONIO__> line 160. [07-08-23@17:52:23] Missing repeater data for ifName for if_dsc msg [07-08-23@17:52:23] No SNMP data found for ifOutOctets on wexsw01 [07-08-23@17:52:23] No SNMP data found for ifName on wexsw01 [07-08-23@17:52:23] No SNMP data found for ifOutErrors on wexsw01 [07-08-23@17:52:23] No SNMP data found for ifInErrors on wexsw01 [07-08-23@17:52:23] Missing repeater data for trans_delta on ifOutEps [07-08-23@17:52:23] Missing repeater data for trans_delta on ifInEps [07-08-23@17:52:23] Data type mismatch for leaf 1 of ifInEps on wexsw01: 'Missing primary oid data' does not match regex '^[-+]?\d+(\.\d+)?$' Argument "Bad data" isn't numeric in numeric gt (>) at /usr/local/devmon/modules/dm_tests.pm line 2566, <$__ANONIO__> line 160. [07-08-23@17:52:23] Data type mismatch for leaf 1 of ifOutEps on wexsw01: 'Missing primary oid data' does not match regex '^[-+]?\d+(\.\d+)?$' Argument "Bad data" isn't numeric in numeric gt (>) at /usr/local/devmon/modules/dm_tests.pm line 2566, <$__ANONIO__> line 160. [07-08-23@17:52:23] Missing repeater data for ifName for if_err msg [07-08-23@17:52:23] No SNMP data found for ifName on wexsw01 [07-08-23@17:52:23] No SNMP data found for ifOperStatNum on wexsw01 [07-08-23@17:52:23] No SNMP data found for ifAdminStatNum on wexsw01 [07-08-23@17:52:23] Missing repeater data for trans_switch on ifAdminStatTxt [07-08-23@17:52:23] Missing repeater data for trans_switch on ifOperStatTxt [07-08-23@17:52:23] Missing repeater data for ifName for if_stat msg [07-08-23@17:52:23] No SNMP data found for PsuState on wexsw01 [07-08-23@17:52:23] No SNMP data found for PsuDescr on wexsw01 [07-08-23@17:52:23] Missing repeater data for trans_switch on PsuStatus [07-08-23@17:52:23] Missing repeater data for PsuDescr for power msg [07-08-23@17:52:23] No SNMP data found for ifName on wexsw01 [07-08-23@17:52:23] No SNMP data found for ifOutCollisions on wexsw01 [07-08-23@17:52:23] Missing repeater data for trans_delta on ifOutCps [07-08-23@17:52:23] Data type mismatch for leaf 1 of ifOutCps on wexsw01: 'Missing primary oid data' does not match regex '^[-+]?\d+(\.\d+)?$' [07-08-23@17:52:23] Data type mismatch for leaf 1 of ifOutCps on wexsw01: 'Missing primary oid data' does not match regex '^[-+]?\d+(\.\d+)?$' Argument "Bad data" isn't numeric in numeric gt (>) at /usr/local/devmon/modules/dm_tests.pm line 2566, <$__ANONIO__> line 160. [07-08-23@17:52:23] Missing repeater data for ifName for if_col msg [07-08-23@17:52:23] No SNMP data found for ifOutOctets on wexsw01 [07-08-23@17:52:23] No SNMP data found for ifName on wexsw01 [07-08-23@17:52:23] Data type mismatch for leaf 1 of ifOutBps on wexsw01: 'Bad data' does not match regex '^[-+]?\d+(\.\d+)?$' Argument "Bad data" isn't numeric in numeric gt (>) at /usr/local/devmon/modules/dm_tests.pm line 2566, <$__ANONIO__> line 160. [07-08-23@17:52:23] Missing repeater data for ifName for if_load msg [07-08-23@17:52:23] No SNMP data found for FanState on wexsw01 [07-08-23@17:52:23] No SNMP data found for FanDescr on wexsw01 [07-08-23@17:52:23] Missing repeater data for trans_switch on FanStatus [07-08-23@17:52:23] Missing repeater data for FanDescr for fans msg [07-08-23@17:52:23] Done with test logic [07-08-23@17:52:23] Sending messages to display server status i-wexf-a01.if_dsc green Thu Aug 23 17:52:23 2007 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/_______________________________________________ Devmon-support mailing list Dev...@li... https://lists.sourceforge.net/lists/listinfo/devmon-support ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Devmon-support mailing list Dev...@li... https://lists.sourceforge.net/lists/listinfo/devmon-support |