This completes the triangle with all three services watching each other.
To monitor Nagios with puppet:
# nagios.pp
class nagios {
service { "nrpe":
ensure => running,
enable => true
}
}
To monitor Monit with puppet:
# monit.pp
class monit {
service { "monit":
ensure => running,
enable => true
}
}
Include these files in the node class and you will be up and monitoring.
No comments:
Post a Comment