Monitor Netapp device which is using SNMP V3
-
arunkrishnan.tvm
- Posts: 28
- Joined: Wed Mar 16, 2016 12:31 am
Re: Monitor Netapp device which is using SNMP V3
Sorry for that.
I have changed authpriv to authPriv but still getting the same error.
Yes, My user name and password have special characters.
I have changed authpriv to authPriv but still getting the same error.
Yes, My user name and password have special characters.
Re: Monitor Netapp device which is using SNMP V3
Can you try wrapping them in single quotes? Depending on the characters they might cause issues.
Former Nagios employee
Re: Monitor Netapp device which is using SNMP V3
It doesn't look like you're specifying a community string (-C).arunkrishnan.tvm wrote:Sorry, I have failed to modify the Perl script using the required variables.
Finally found one another plugin in Nagios Exchange with SNMP3 support. When I execute the check command like below I am getting incorrect argument error.
Please help me to correct the command:
https://exchange.nagios.org/directory/P ... p3/details
./check_netapp3.pl -H 192.168.23.4 -P 3 -L authpriv -U myusr -a SHA1 -A mypasswd -X mypasswd -v CPULOAD -w 60 -c 70
Former Nagios Employee
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Monitor Netapp device which is using SNMP V3
OK so there was about 10 things I fixed which should resolve your issue. Let us know if the updated plugin works for you.
I tested with this command and got this result (cause that device doesn't exist on my network).
I tested with this command and got this result (cause that device doesn't exist on my network).
Code: Select all
./check_netapp3.pl -H 192.168.23.4 -P 3 -L authPriv -U myusr -a SHA1 -A mypasswd -X mypasswd -v CPULOAD -w 60 -c 70
UNKNOWN:No response from remote host '192.168.23.4' during discoveryYou do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
arunkrishnan.tvm
- Posts: 28
- Joined: Wed Mar 16, 2016 12:31 am
Re: Monitor Netapp device which is using SNMP V3
Thank you very much Box293. It is working fine now.
But some variable checks showing error.
CACHEAGE - Cache Age
CIFSOPS - CIFS Operations
FAN - fan failed state
GLOBALSTATUS - Global Status
NDMPSESSIONS - NDMP Sessions
NETRCVD - Net In
NETSENT - Net Out
NFSOPS - NFS Operations
NVRAM - nvram battery status
PS - Power Supply failed state
TAPEREAD - Bytes Tape Read
TAPEWRITE - Bytes Tape Write
TEMP - over temperature check
But some variable checks showing error.
CACHEAGE - Cache Age
CIFSOPS - CIFS Operations
FAN - fan failed state
GLOBALSTATUS - Global Status
NDMPSESSIONS - NDMP Sessions
NETRCVD - Net In
NETSENT - Net Out
NFSOPS - NFS Operations
NVRAM - nvram battery status
PS - Power Supply failed state
TAPEREAD - Bytes Tape Read
TAPEWRITE - Bytes Tape Write
TEMP - over temperature check
Code: Select all
./check_netapp3.pl -H 192.168.23.45 -P 3 -L authPriv -U myuser -a SHA1 -A mypasswd -X mypasswd -v CACHEAGE -w 60 -c 70
CRITICAL:Requested table is empty or does not exist for .1.3.6.1.4.1.789.1.2.2.23 with snmp version 3
./check_netapp3.pl -H 192.168.23.45 -P 3 -L authPriv -U myuser -a SHA1 -A mypasswd -X mypasswd -v CIFSOPS -w 60 -c 70
CRITICAL:Requested table is empty or does not exist for 1.3.6.1.4.1.789.1.2.2 with snmp version 3
./check_netapp3.pl -H 192.168.23.45 -P 3 -L authPriv -U myuser -a SHA1 -A mypasswd -X mypasswd -v FAN -w 60 -c 70
CRITICAL:Requested table is empty or does not exist for .1.3.6.1.4.1.789.1.2.4.2 with snmp version 3
./check_netapp3.pl -H 192.168.23.45 -P 3 -L authPriv -U myuser -a SHA1 -A mypasswd -X mypasswd -v GLOBALSTATUS -w 60 -c 70
CRITICAL:Requested table is empty or does not exist for .1.3.6.1.4.1.789.1.2.2.4 with snmp version 3
./check_netapp3.pl -H 192.168.23.45 -P 3 -L authPriv -U myuser -a SHA1 -A mypasswd -X mypasswd -v NDMPSESSIONS -w 60 -c 70
CRITICAL:Requested table is empty or does not exist for 1.3.6.1.4.1.789.1.10.2 with snmp version 3
./check_netapp3.pl -H 192.168.23.45 -P 3 -L authPriv -U myuser -a SHA1 -A mypasswd -X mypasswd -v NETRCVD -w 60 -c 70
CRITICAL:Requested table is empty or does not exist for 1.3.6.1.4.1.789.1.2.2 with snmp version 3
./check_netapp3.pl -H 192.168.23.45 -P 3 -L authPriv -U myuser -a SHA1 -A mypasswd -X mypasswd -v NETSENT -w 60 -c 70
CRITICAL:Requested table is empty or does not exist for 1.3.6.1.4.1.789.1.2.2 with snmp version 3
./check_netapp3.pl -H 192.168.23.45 -P 3 -L authPriv -U myuser -a SHA1 -A mypasswd -X mypasswd -v NFSOPS -w 60 -c 70
CRITICAL:Requested table is empty or does not exist for 1.3.6.1.4.1.789.1.2.2 with snmp version 3
./check_netapp3.pl -H 192.168.23.45 -P 3 -L authPriv -U myuser -a SHA1 -A mypasswd -X mypasswd -v NVRAM -w 60 -c 70
CRITICAL:Requested table is empty or does not exist for .1.3.6.1.4.1.789.1.2.5.1 with snmp version 3
./check_netapp3.pl -H 192.168.23.45 -P 3 -L authPriv -U myuser -a SHA1 -A mypasswd -X mypasswd -v PS -w 60 -c 70
CRITICAL:Requested table is empty or does not exist for .1.3.6.1.4.1.789.1.2.4.4 with snmp version 3
./check_netapp3.pl -H 192.168.23.45 -P 3 -L authPriv -U myuser -a SHA1 -A mypasswd -X mypasswd -v TAPEREAD -w 60 -c 70
CRITICAL:Requested table is empty or does not exist for 1.3.6.1.4.1.789.1.2.2 with snmp version 3
./check_netapp3.pl -H 192.168.23.45 -P 3 -L authPriv -U myuser -a SHA1 -A mypasswd -X mypasswd -v TAPEWRITE -w 60 -c 70
CRITICAL:Requested table is empty or does not exist for 1.3.6.1.4.1.789.1.2.2 with snmp version 3
./check_netapp3.pl -H 192.168.23.45 -P 3 -L authPriv -U myuser -a SHA1 -A mypasswd -X mypasswd -v TEMP -w 60 -c 70
CRITICAL:Requested table is empty or does not exist for .1.3.6.1.4.1.789.1.2.4.1 with snmp version 3Re: Monitor Netapp device which is using SNMP V3
What is the result if you query the OID's directly through a SNMP walk using SNMPv3? Perhaps something has changed.
Former Nagios Employee
-
arunkrishnan.tvm
- Posts: 28
- Joined: Wed Mar 16, 2016 12:31 am
Re: Monitor Netapp device which is using SNMP V3
How to query directly using OID's ? Could you please provide an example syntax ?
Another major issue I am facing with this plugin is unable to check the volume usage and volume related checks. It is showing the error "ERROR: No snmp response from 192.168.23.45 (alarm timeout)".
Another major issue I am facing with this plugin is unable to check the volume usage and volume related checks. It is showing the error "ERROR: No snmp response from 192.168.23.45 (alarm timeout)".
Code: Select all
./check_netapp3.pl -H 192.168.23.45 -P 3 -L authPriv -U myusr -a SHA1 -A mypasswd -X mypasswd -v DISKUSED -o n2_sata -w 60 -c 70
ERROR: No snmp response from 192.168.23.45 (alarm timeout)Re: Monitor Netapp device which is using SNMP V3
This will produce a lot of output but it will show us if those OIDs are even available on your remote device:
Code: Select all
snmpwalk -v 3 -l authPriv -u myusr -a SHA1 -A mypasswd -X mypasswd .1.3.6.1.4.1.789.1-
arunkrishnan.tvm
- Posts: 28
- Joined: Wed Mar 16, 2016 12:31 am
Re: Monitor Netapp device which is using SNMP V3
I am getting the following result when I try to run the command:
Also is there any way to fix the volume usage checking issue. It is showing the error "ERROR: No snmp response from 192.168.23.45 (alarm timeout)".
Also is there any way to fix the volume usage checking issue. It is showing the error "ERROR: No snmp response from 192.168.23.45 (alarm timeout)".
Code: Select all
[root@TCVNG01 libexec]# snmpwalk -H 192.168.23.45 -v 3 -l authPriv -u myusr -a SHA1 -A mypasswd -X mypasswd .1.3.6.1.4.1.789.1
Configuration directives understood:
No log handling enabled - turning on stderr logging
In snmpwalk.conf and snmpwalk.local.conf:
includeRequested (1|yes|true|0|no|false)
excludeRequested (1|yes|true|0|no|false)
printStatistics (1|yes|true|0|no|false)
dontCheckOrdering (1|yes|true|0|no|false)
timeResults (1|yes|true|0|no|false)
In snmp.conf and snmp.local.conf:
doDebugging (1|0)
debugTokens token[,token...]
logTimestamp (1|yes|true|0|no|false)
mibdirs [mib-dirs|+mib-dirs|-mib-dirs]
mibs [mib-tokens|+mib-tokens]
mibfile mibfile-to-read
showMibErrors (1|yes|true|0|no|false)
strictCommentTerm (1|yes|true|0|no|false)
mibAllowUnderline (1|yes|true|0|no|false)
mibWarningLevel integerValue
mibReplaceWithLatest (1|yes|true|0|no|false)
printNumericEnums (1|yes|true|0|no|false)
printNumericOids (1|yes|true|0|no|false)
escapeQuotes (1|yes|true|0|no|false)
dontBreakdownOids (1|yes|true|0|no|false)
quickPrinting (1|yes|true|0|no|false)
numericTimeticks (1|yes|true|0|no|false)
oidOutputFormat integerValue
suffixPrinting integerValue
extendedIndex (1|yes|true|0|no|false)
printHexText (1|yes|true|0|no|false)
printValueOnly (1|yes|true|0|no|false)
dontPrintUnits (1|yes|true|0|no|false)
hexOutputLength integerValue
dumpPacket (1|yes|true|0|no|false)
reverseEncodeBER (1|yes|true|0|no|false)
defaultPort integerValue
defCommunity string
noTokenWarnings (1|yes|true|0|no|false)
noRangeCheck (1|yes|true|0|no|false)
persistentDir string
tempFilePattern string
noDisplayHint (1|yes|true|0|no|false)
16bitIDs (1|yes|true|0|no|false)
clientaddr string
clientaddrUsesPort (1|yes|true|0|no|false)
serverSendBuf integerValue
serverRecvBuf integerValueRe: Monitor Netapp device which is using SNMP V3
Try this one, and post the full output -
Code: Select all
snmpwalk -H 192.168.23.45 -v 3 -l authPriv -u myusr -a SHA -A mypasswd -X mypasswd .1.3.6.1.4.1.789.1Former Nagios Employee