Unknown volume path or aggregate name

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
informatica
Posts: 99
Joined: Thu Jan 28, 2021 9:55 pm

Unknown volume path or aggregate name

Post 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
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Unknown volume path or aggregate name

Post by ssax »

Please edit the plugin and change this:

Code: Select all

#!/usr/bin/perl
To this:

Code: Select all

#!/usr/bin/perl
my $TIMEOUT = 60;
See if that helps.

Attach the plugin as well so I can see which version you're using.
informatica
Posts: 99
Joined: Thu Jan 28, 2021 9:55 pm

Re: Unknown volume path or aggregate name

Post 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;;
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Unknown volume path or aggregate name

Post 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
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Unknown volume path or aggregate name

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
informatica
Posts: 99
Joined: Thu Jan 28, 2021 9:55 pm

Re: Unknown volume path or aggregate name

Post 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.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Unknown volume path or aggregate name

Post 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:

Code: Select all

NETWORK-APPLIANCE-MIB
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
informatica
Posts: 99
Joined: Thu Jan 28, 2021 9:55 pm

Re: Unknown volume path or aggregate name

Post 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?
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Unknown volume path or aggregate name

Post 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?
informatica
Posts: 99
Joined: Thu Jan 28, 2021 9:55 pm

Re: Unknown volume path or aggregate name

Post by informatica »

Please find the attachment and let me know if you need more details.
You do not have the required permissions to view the files attached to this post.
Locked