Page 1 of 1
How to remove snapshot reserve from monitoring in netapp
Posted: Fri Nov 10, 2017 10:14 am
by sgoffar
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.
Re: How to remove snapshot reserve from monitoring in netapp
Posted: Fri Nov 10, 2017 3:11 pm
by tgriep
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)
Re: How to remove snapshot reserve from monitoring in netapp
Posted: Mon Nov 13, 2017 5:22 am
by sgoffar
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/..
Re: How to remove snapshot reserve from monitoring in netapp
Posted: Mon Nov 13, 2017 1:25 pm
by kyang
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.
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 95
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)
Code: 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
Posted: Tue Nov 14, 2017 8:09 am
by sgoffar
It's not working
Re: How to remove snapshot reserve from monitoring in netapp
Posted: Tue Nov 14, 2017 10:46 am
by kyang
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.