Hello XI support
How to make check_disk show full size of the volume (not just free space) in GB ?
current argument: -a '-w 20% -c 10% -p /var'
Thank you
check_disk (NRPE Linux) to show full volume size in GB
-
avandemore
- Posts: 1597
- Joined: Tue Sep 27, 2016 4:57 pm
Re: check_disk (NRPE Linux) to show full volume size in GB
/usr/local/nagios/libexec/check_disk -h will show the builtin help.
There is no direct way with that plugin to display full disk size.
You can write a wrapper for it to add the used and available value or create a new plugin using something like:
https://nagios-plugins.org/doc/guidelines.html
https://mathias-kettner.de/checkmk_localchecks.html
http://www.yourownlinux.com/2014/06/how ... cript.html
Or there may be a plugin on https://exchange.nagios.org/ which may fulfill your needs.
There is no direct way with that plugin to display full disk size.
You can write a wrapper for it to add the used and available value or create a new plugin using something like:
Code: Select all
# df -h /boothttps://mathias-kettner.de/checkmk_localchecks.html
http://www.yourownlinux.com/2014/06/how ... cript.html
Or there may be a plugin on https://exchange.nagios.org/ which may fulfill your needs.
Previous Nagios employee
Re: check_disk (NRPE Linux) to show full volume size in GB
Alright, thank you. Please close the threadavandemore wrote:/usr/local/nagios/libexec/check_disk -h will show the builtin help.
There is no direct way with that plugin to display full disk size.
You can write a wrapper for it to add the used and available value or create a new plugin using something like:https://nagios-plugins.org/doc/guidelines.htmlCode: Select all
# df -h /boot
https://mathias-kettner.de/checkmk_localchecks.html
http://www.yourownlinux.com/2014/06/how ... cript.html
Or there may be a plugin on https://exchange.nagios.org/ which may fulfill your needs.