check_by_ssh issue
Kadir B
kadirbg at gmail.com
Wed May 23 09:57:38 CEST 2018
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.nasri at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20180523/9e8aa632/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot (6).png
Type: image/png
Size: 27523 bytes
Desc: not available
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20180523/9e8aa632/attachment.png>
More information about the Devel
mailing list