Page 1 of 1

ALL Mounted disk via check_snmp_storage_wizard.pl

Posted: Sun Dec 22, 2019 7:45 pm
by biswajit.banerjee
Dear Support ,

How can I get ALL Mounted disks checked via check_snmp_storage_wizard.pl with performance data on a Linux Box .
Want to have all disk mapped as there are lot of them and keeps on changing too .


TIA

Re: ALL Mounted disk via check_snmp_storage_wizard.pl

Posted: Mon Dec 23, 2019 11:42 am
by scottwilkerson
On a linux box you can set the -m flag to

Code: Select all

-m "^/*$"
However, you mention that there are a lot of them that keep changing. The above will work, however if the mount points change this will make performance graphs stop working.

This is because the storage mechanism (RRD files) has a set quantity of data sources from the creation of the RRD file (when nagios first processes performance data) and if this changes, the graphs will stop updating.

for this reason, if you choose to setup a check of this type, I would recommend not even using the -f flag which add the performance data as it will not process correctly.

Re: ALL Mounted disk via check_snmp_storage_wizard.pl

Posted: Mon Dec 23, 2019 7:16 pm
by biswajit.banerjee
Thanks for the input .
Do you Suggest any other way to map all disk with Performance data not getting affected .

Do you think check_disk Plugin call with check_ssh or nrpe will have desired results .

TIA

Re: ALL Mounted disk via check_snmp_storage_wizard.pl

Posted: Wed Dec 25, 2019 1:34 am
by biswajit.banerjee
The suggested Parameter of

Code: Select all

-m "^/*$"
'
gives only / partition in my case

Code: Select all

# ./check_snmp_storage_wizard.pl -H xxxxxxx -l xxxxx -x xxxxx  -m "^/*$" -w 90 -c 95 -f
/: 47%used(6483MB/13887MB) (<90%) : OK | '/'=6483MB;12498;13193;0;13887
But I have Many mounted partitions . Am I doing something wrong ?

Please Guide

Re: ALL Mounted disk via check_snmp_storage_wizard.pl

Posted: Wed Dec 25, 2019 9:55 pm
by biswajit.banerjee
Now I have sorted the issue out with
./check_snmp_storage_wizard.pl -H xxxxxxx -l xxxxx -x xxxxx -m zzzz -e -q "FixedDisk|NetworkDisk" -w 90 -c 95 -f

Thanks
You can Close the Ticket

Re: ALL Mounted disk via check_snmp_storage_wizard.pl

Posted: Thu Dec 26, 2019 7:15 am
by scottwilkerson
biswajit.banerjee wrote:Now I have sorted the issue out with
./check_snmp_storage_wizard.pl -H xxxxxxx -l xxxxx -x xxxxx -m zzzz -e -q "FixedDisk|NetworkDisk" -w 90 -c 95 -f

Thanks
You can Close the Ticket
Great!

Locking