Hi Everyone,
I've been using Nagios for a while now, but i'm rebuilding our set-up so we can monitor everything on SNMP level.
I only have one small problem with a command.
I'm trying to get multiple disks in 1 command, but I can't get it right :s
original: $USER1$/manubulon/check_snmp_storage.pl -H ***.***.***.*** -C public -m /vmfs/volumes/****** -w 1 -c 2
i tried applying -m twice, but it only takes the last -m command on the line.
I hope someone can help me out.
Thanks in advance.
Multiple disks monitoring in one command
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Multiple disks monitoring in one command
check_snmp_storage.pl --help
Specifically:
Test all mounts under /var : -m ^/var
Specifically:
Code: Select all
example :
Browse storage list : <script> -C <community> -H <host> -m <anything> -w 1 -c 2 -v
the -m option allows regexp in perl format :
Test drive C,F,G,H,I on Windows : -m ^[CFGHI]:
Test all mounts containing /var : -m /var
Test all mounts under /var : -m ^/var
Test only /var : -m /var -r
Test all swap spaces : -m ^Swap
Test all but swap spaces : -m ^Swap -eTest all mounts under /var : -m ^/var
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.