I have setup nagios following a guide but and having trouble figuring out how to do a check_disk on a remote linux server. For check_ssh I used
define service {
use generic-service
host_name yourhost
service_description SSH
check_command check_ssh
notifications_enabled 0
}
How do I do the same for uptime, current load, root and swap partitions?
Help with check_disk
Re: Help with check_disk
Are you planning to run check_disk over check_ssh or are you using the NRPE agent on your linux host?
Re: Help with check_disk
nrpebolson wrote:Are you planning to run check_disk over check_ssh or are you using the NRPE agent on your linux host?
Re: Help with check_disk
I actually got check_disk working but cant get an uptime check
Re: Help with check_disk
The check_uptime plugin should be included with the base nagios-plugins repository:
https://github.com/nagios-plugins/nagios-plugins
Were you encountering specific issues with that plugin? Are you using some other plugin?
Can you run this plugin locally from the machine's CLI? Remotely via NRPE or check_by_ssh?
https://github.com/nagios-plugins/nagios-plugins
Were you encountering specific issues with that plugin? Are you using some other plugin?
Can you run this plugin locally from the machine's CLI? Remotely via NRPE or check_by_ssh?
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/