NRPE check_disk vs check_drivesize
Posted: Tue Oct 10, 2017 10:45 am
We are using NSClient++ 0.5.x for our Windows Servers and using the following command to customize the output for our disk checks:
Which looks like this: OK 23.756GB/79.483GB used
For our Linux hosts, we use the Nagios XI NRPE agent and use the following command:Which looks like this: DISK OK - free space: / 449653 MB (89% inode=99%);
I've looked at the documentation for check_disk and can't see any options to customize the detail syntax like we do for check_drivesize. Could someone tell me if I am correct in my assumption that we would need to install the NSClient++ agent on our Linux boxes and use check_drivesize on the Linux systems if we want to do that? Or is it somehow possible with check_disk? Thanks!
Code: Select all
check_nrpe!check_drivesize!-a drive=C warn="used gt 80%" crit="used gt 90%" detail-syntax="%(used)/%(size) used" show-all
For our Linux hosts, we use the Nagios XI NRPE agent and use the following command:
Code: Select all
check_nrpe!check_disk!-a '-w 10% -c 5% -p /'
I've looked at the documentation for check_disk and can't see any options to customize the detail syntax like we do for check_drivesize. Could someone tell me if I am correct in my assumption that we would need to install the NSClient++ agent on our Linux boxes and use check_drivesize on the Linux systems if we want to do that? Or is it somehow possible with check_disk? Thanks!