Hi,

The best solution for disk checks is to use nagios nrpe. The
check_disk plugin is useful. you need to install nrpe on all remote
hosts.

https://exchange.nagios.org/directory/Plugins/Operating-Systems/Linux/check_disk--2D-%25-used-space/details



2018-05-22 19:41 GMT+03:00 Nasri, Mahan <mahan.na...@hpe.com>:

>
>
> Hi.
>
>
> I use Nagios to monitor our remote setups (linux), servers, switches, etc.
> I'm having issues using the check_by_ssh command to check the remote
> setups' disk usage. Do i have to install the nagios plugin on each setup to
> execute the check_disk command on the remote host? Or is there another way?
>
>
> This is the command_line i use:
>
> /usr/local/nagios/libexec/check_by_ssh -H '$HOSTADDRESS$' -C "df -h /"
>
>
> It works but i can't set any warnings (it will always indicate OK even if
> memory is full):
>
>
>
> Thank you
> Mahan Nasri
>

Reply via email to