Nagios: Difference between revisions

Line 109:
== Configuration ==
 
*=== On client to be monitored ===
 
Test the monitor command:
/usr/lib64/nagios/plugins/check_procs -c 1: -C 'python3.6' -a 'watchdog.py' -p
 
Add the custom command:
Line 116 ⟶ 119:
sudo systemctl restart nrpe
 
*On Nagios Server:
 
*=== On Nagios Server: ===
Add a Custom Command:
 
First test the above custom command:
/usr/lib/nagios/plugins/check_nrpe -H 10.10.30.81 -c check_watchdog
 
Add a Custom Monitor Command:
sudo nano /etc/nagios3/commands.cfg