How to configure check_disk to check mount point

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
FeDos
Posts: 1
Joined: Thu Jun 09, 2022 9:04 am

How to configure check_disk to check mount point

Post by FeDos »

Hello,

i have installed the Nagios Monitoring system and the NRPE plugin on several Ubuntu servers.

Now I'd like to configure check_disk to check the disk by his mount point instead of Filesystem. Would -p / work fine, instead -p /dev/xvda1?

At the moment this is the line in nrpe.cfg

Code: Select all

command[check_disk]=/usr/local/nagios/libexec/check_disk -w 20% -c 10% -p /dev/xvda1
This is the DF result

Image
Locked