Moint is the simplest of the bunch to configure; make sure you set daemon "some number of seconds" and it usually runs.
To monitor Nagios (nrpe)
check process nrpe
with pidfile /var/run/nrpe.pid
start program = "/etc/init.d/nrpe start"
stop program = "/etc/init.d/nrpe stop"
if failed port 5666 then restart
mode active
To Monitor Puppet"
check process puppetd
with pidfile /var/run/puppet/puppetd.pid
start program = "/etc/init.d/puppet start"
stop program = "/etc/init.d/puppet stop"
mode active
Next Time I will explain how to get Puppet to monitor Nagios and Monit.
No comments:
Post a Comment