Page 1 of 3
Unknown volume path or aggregate name
Posted: Mon Feb 01, 2021 3:08 am
by informatica
Hi Team,
we are facing one issue for our netapp storage device service check. Earlier it was worked fine suddenly its showing unknown volume path.
i have seen the store volume is available in netapp storage but still we are getting this error. Could you please help us resolve.
[root@nagios-a ~]# /usr/local/nagios/libexec/check-netapp-ng.pl -H XXXX -C XXXX -T DISKUSED -v /vol/Atlassian_Test
WARN: Unknown volume path or aggregate name '/vol/Atlassian_Test'. Available values:
You have new mail in /var/spool/mail/root
Re: Unknown volume path or aggregate name
Posted: Mon Feb 01, 2021 6:22 pm
by ssax
Please edit the plugin and change this:
To this:
See if that helps.
Attach the plugin as well so I can see which version you're using.
Re: Unknown volume path or aggregate name
Posted: Tue Feb 02, 2021 1:19 am
by informatica
Is that plugin timed out issue. I can see other services are working fine. Please find the below for your reference. Could you please tell what we need to check more on this.
/usr/local/nagios/libexec/check-netapp-ng.pl -H XXXX -C XXXX -T CPULOAD -w 80 -c 90
CRIT: CPULOAD 92% | cpuload=92%;80;90;;
Re: Unknown volume path or aggregate name
Posted: Tue Feb 02, 2021 6:15 pm
by ssax
This is a 3rd party plugin not written by us and we do not have access to any netapp devices.
What is the output of this command?
Code: Select all
grep 'script_version' /usr/local/nagios/libexec/check-netapp-ng.pl
Given that we see no values returned:
Code: Select all
/usr/local/nagios/libexec/check-netapp-ng.pl -H XXXX -C XXXX -T DISKUSED -v /vol/Atlassian_Test
WARN: Unknown volume path or aggregate name '/vol/Atlassian_Test'. Available values:
It's likely failing on getting the names.
What does this output when it's failing? (this is what the plugin is trying to grab that is empty)
- Change X.X.X.X to the IP of the netapp
- Change yourcommunity
Code: Select all
snmpwalk -v2c -c 'yourcommunity' X.X.X.X .1.3.6.1.4.1.789.1.5.4.1.2
Re: Unknown volume path or aggregate name
Posted: Tue Feb 02, 2021 6:16 pm
by benjaminsmith
Hi,
The plugin timeout default is only 5 seconds.
-t <seconds> Timeout to SNMP session in seconds (default 5)
Try running the command again but add the -t option and set it to a higher value, for example:
Code: Select all
/usr/local/nagios/libexec/check-netapp-ng.pl -H XXXX -C XXXX -T DISKUSED -v '/vol/Atlassian_Test' -t 60
Reference:
https://github.com/ranl/monitor-utils/b ... tapp-ng.pl
Re: Unknown volume path or aggregate name
Posted: Wed Feb 03, 2021 2:46 am
by informatica
I have checked both snmpwalk and
[root@nagios-a libexec]# snmpwalk -v2c -c 'XXXX' XXXXX .1.3.6.1.4.1.789.1.5.4.1.2
buffer too small to read octet string (17 < 17)
SNMPv2-SMI::enterprises.789.1.5.4.1.2.2 = STRING: "n01_root_aggr0"
SNMPv2-SMI::enterprises.789.1.5.4.1.2.3 = STRING: "n01_root_aggr0/.snapshot"
SNMPv2-SMI::enterprises.789.1.5.4.1.2.4 = STRING: "/vol/vol0"
SNMPv2-SMI::enterprises.789.1.5.4.1.2.1048 = STRING: "/vol/Atlassian_Test"
SNMPv2-SMI::enterprises.789.1.5.4.1.2.1048 = STRING: "/vol/Atlassian_Test"
can you help how to know this OId belongs to this resource(cpu,memory,hardware,fan,drives,sensor) like .1.3.6.1.4.1.789.1.5.4.1.2.
[root@nagios-a libexec]# /usr/local/nagios/libexec/check-netapp-ng.pl -H XXXX -C XXXX-T DISKUSED -v /vol/Atlassian_Test -t 60
WARN: Unknown volume path or aggregate name '/vol/Atlassian_Test'. Available values:
Please suggest what we have to clear this. This is happpening from last 4 days only.
Re: Unknown volume path or aggregate name
Posted: Wed Feb 03, 2021 6:14 pm
by ssax
I just looked at the plugin to get the OID.
I then just google the OID to find out where it's from:
http://oidref.com/1.3.6.1.4.1.789.1.5.4.1.2
Which shows it's from:
https://www.circitor.fr/Mibs/Html/N/NET ... CE-MIB.php
https://www.circitor.fr/Mibs/Mib/N/NETW ... CE-MIB.mib
You would need to reach out to netapp in order to determine what those other OIDs are, we do not have any netapp devices here and do not know what OIDs they use.
I found this:
https://community.netapp.com/t5/Develop ... ta-p/85234
I'm wondering if this is related:
Code: Select all
snmpwalk -v2c -c 'XXXX' XXXXX .1.3.6.1.4.1.789.1.5.4.1.2
buffer too small to read octet string (17 < 17)
Please do this and send me the entire output:
- Adjust the host/community in the command
Code: Select all
cpan -i Devel::Trace
cd /usr/local/nagios/libexec
perl -d:Trace /usr/local/nagios/libexec/check-netapp-ng.pl -H XXXX -C 'XXXX' -T DISKUSED -v '/vol/Atlassian_Test' -t 60
Re: Unknown volume path or aggregate name
Posted: Thu Feb 04, 2021 10:55 am
by informatica
Earlier it was worked fine. i think we are getting the list of volumes while we are doing snmp walk right ?
What is the meaning of cpan -i Devel::Trace ?? what it will do ?? if we run production directly is anything happens?
Re: Unknown volume path or aggregate name
Posted: Thu Feb 04, 2021 6:55 pm
by ssax
That command downloads and installs the Devel::Trace perl module with cpan on the system so that you can use Trace on the next command to see what is occurring. There really shouldn't be any negative impact from doing it.
Yes, it looks like they are returning from the snmpwalk command but that Trace output will show exactly what's occurring in the plugin.
I'm not sure why it worked before and then suddenly stopped, could it be an issue with the remote device?
Re: Unknown volume path or aggregate name
Posted: Mon Feb 08, 2021 8:25 am
by informatica
Please find the attachment and let me know if you need more details.