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
ALL Mounted disk via check_snmp_storage_wizard.pl
-
biswajit.banerjee
- Posts: 152
- Joined: Fri Dec 08, 2017 10:24 pm
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: ALL Mounted disk via check_snmp_storage_wizard.pl
On a linux box you can set the -m flag to
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.
Code: Select all
-m "^/*$"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.
-
biswajit.banerjee
- Posts: 152
- Joined: Fri Dec 08, 2017 10:24 pm
Re: ALL Mounted disk via check_snmp_storage_wizard.pl
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
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
-
biswajit.banerjee
- Posts: 152
- Joined: Fri Dec 08, 2017 10:24 pm
Re: ALL Mounted disk via check_snmp_storage_wizard.pl
The suggested Parameter of
'
gives only / partition in my case
But I have Many mounted partitions . Am I doing something wrong ?
Please Guide
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;13887Please Guide
-
biswajit.banerjee
- Posts: 152
- Joined: Fri Dec 08, 2017 10:24 pm
Re: ALL Mounted disk via check_snmp_storage_wizard.pl
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
./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
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: ALL Mounted disk via check_snmp_storage_wizard.pl
Great!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
Locking