Hi Team,
We got the requirement to exclude the snapshot reserve from monitoring within Diskused monitoring.
We are using below command to monitor diskused on netapp device.
/usr/local/nagios/libexec/check_netapp_djt.pl -H <hostnam -C public -V 2c -T DISKUSED -w 85 -c 95
on image highlighted disk used capacity is for snap reserve, actual volume utilization is 74%
Can you please help on this.
How to remove snapshot reserve from monitoring in netapp
How to remove snapshot reserve from monitoring in netapp
You do not have the required permissions to view the files attached to this post.
Regards,
Sk Abdul Goffar
Nagios Version:Nagios XI 5.4.8
OS:CentOS release 6.5
Sk Abdul Goffar
Nagios Version:Nagios XI 5.4.8
OS:CentOS release 6.5
Re: How to remove snapshot reserve from monitoring in netapp
That plugin looks like there is an exclude option you can use to exclude the snapshot from the check.
-e <vol1[,vol2[,...]]> Exclude volumes from snap check (SNAPSHOT/SNAPSHOTAGE)
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: How to remove snapshot reserve from monitoring in netapp
I used it but it's not working..Please find below details
/usr/local/nagios/libexec/check_netapp_djt.pl -H sfone -C public -V 2c -T DISKUSED -e SFO_ESXA_3220A_DS4 -w 90 -c 95
CRIT: DISKUSED 120% /vol/SFO_ESXA_3220A_DS4/.. | /vol/SFO_ESXA_3220A_DS4/..=258231456KB;193273527;204010945;;214748364 /vol/SFO_ESXA_3220A_DS4/..:perc=120%;90;95;;100
CRIT: DISKUSED 110% /vol/SFO_ESXA_3220A_DS1/..
[root@da libexec]# /usr/local/nagios/libexec/check_netapp_djt.pl -H sfone -C public -V 2c -T DISKUSED -e /vol/SFO_ESXA_3220A_DS4/.. -w 90 -c 95
CRIT: DISKUSED 120% /vol/SFO_ESXA_3220A_DS4/.. | /vol/SFO_ESXA_3220A_DS4/..=258231460KB;193273527;204010945;;214748364 /vol/SFO_ESXA_3220A_DS4/..:perc=120%;90;95;;100
CRIT: DISKUSED 110% /vol/SFO_ESXA_3220A_DS1/..
[root@dal libexec]# /usr/local/nagios/libexec/check_netapp_djt.pl -H sfone -C public -V 2c -T DISKUSED -e vol -w 90 -c 95
CRIT: DISKUSED 120% /vol/SFO_ESXA_3220A_DS4/.. | /vol/SFO_ESXA_3220A_DS4/..=258231464KB;193273527;204010945;;214748364 /vol/SFO_ESXA_3220A_DS4/..:perc=120%;90;95;;100
CRIT: DISKUSED 110% /vol/SFO_ESXA_3220A_DS1/..
/usr/local/nagios/libexec/check_netapp_djt.pl -H sfone -C public -V 2c -T DISKUSED -e SFO_ESXA_3220A_DS4 -w 90 -c 95
CRIT: DISKUSED 120% /vol/SFO_ESXA_3220A_DS4/.. | /vol/SFO_ESXA_3220A_DS4/..=258231456KB;193273527;204010945;;214748364 /vol/SFO_ESXA_3220A_DS4/..:perc=120%;90;95;;100
CRIT: DISKUSED 110% /vol/SFO_ESXA_3220A_DS1/..
[root@da libexec]# /usr/local/nagios/libexec/check_netapp_djt.pl -H sfone -C public -V 2c -T DISKUSED -e /vol/SFO_ESXA_3220A_DS4/.. -w 90 -c 95
CRIT: DISKUSED 120% /vol/SFO_ESXA_3220A_DS4/.. | /vol/SFO_ESXA_3220A_DS4/..=258231460KB;193273527;204010945;;214748364 /vol/SFO_ESXA_3220A_DS4/..:perc=120%;90;95;;100
CRIT: DISKUSED 110% /vol/SFO_ESXA_3220A_DS1/..
[root@dal libexec]# /usr/local/nagios/libexec/check_netapp_djt.pl -H sfone -C public -V 2c -T DISKUSED -e vol -w 90 -c 95
CRIT: DISKUSED 120% /vol/SFO_ESXA_3220A_DS4/.. | /vol/SFO_ESXA_3220A_DS4/..=258231464KB;193273527;204010945;;214748364 /vol/SFO_ESXA_3220A_DS4/..:perc=120%;90;95;;100
CRIT: DISKUSED 110% /vol/SFO_ESXA_3220A_DS1/..
Regards,
Sk Abdul Goffar
Nagios Version:Nagios XI 5.4.8
OS:CentOS release 6.5
Sk Abdul Goffar
Nagios Version:Nagios XI 5.4.8
OS:CentOS release 6.5
-
kyang
Re: How to remove snapshot reserve from monitoring in netapp
I can't test this myself, but does work if you put it in quotes? If not.
How about listing the volume_path first and then using the -e to exclude the snapshot from the check.
Also, when looking at this. (Not sure if this plugin only accepts the -e for specific check types. But try doing it for SNAPSHOTAGE instead of DISKUSED and let us know if -e works for SNAPSHOTAGE or not)
How about listing the volume_path first and then using the -e to exclude the snapshot from the check.
Code: Select all
/usr/local/nagios/libexec/check_netapp_djt.pl -H sfone -C public -V 2c -T DISKUSED -v <volume_path> -e SFO_ESXA_3220A_DS4 -w 90 -c 95Code: Select all
Available check types:
DISKUSED - Usage Percentage of volume or aggregate (-w -c -v)
SNAPSHOT - Snapshot Config (-e volname,volname2,volname3)
SNAPSHOTAGE - Check the age of volume snapshot which are older than x days (-w -c -v -e)
Re: How to remove snapshot reserve from monitoring in netapp
It's not working
Regards,
Sk Abdul Goffar
Nagios Version:Nagios XI 5.4.8
OS:CentOS release 6.5
Sk Abdul Goffar
Nagios Version:Nagios XI 5.4.8
OS:CentOS release 6.5
-
kyang
Re: How to remove snapshot reserve from monitoring in netapp
It's hard to say what the issue is with the plugin because the last update to the code was almost 2 years ago. Have you tried contacting the owner?
Also, there are a few issues and pull requests that have not been handled.
https://github.com/ranl/monitor-utils/b ... tapp-ng.pl
There seem to be a few NetApp plugins on Github. Not sure if that's what you're looking for.
Also, there are a few issues and pull requests that have not been handled.
https://github.com/ranl/monitor-utils/b ... tapp-ng.pl
There seem to be a few NetApp plugins on Github. Not sure if that's what you're looking for.