camptocamp / puppet-nagios

A simple way to build distributed monitoring solutions with puppet !
http://www.camptocamp.com
23 stars 12 forks source link

redhat: nagios-restart works only if nagios is running #24

Open mremy opened 9 years ago

mremy commented 9 years ago

On redhat, the " Exec['nagios-restart'] " don't work if nagios isn't running. As pkill exit status is 1 if no processes matched. (man)

raphink commented 9 years ago

Might be better to patch the init script then…