Nagios Drbd Pacemaker
Posted: Wed Aug 07, 2019 10:15 am
Hi Team
I have successfully setup NAgios with DRBD , pacemkaer as per guideline in linbit . However I have one query .
The pacemaker makes sure that process like nagios are running all the time so it continiously monitors it . What happen when we click apply configuration in nagios??
Ideally it restarts the nagios core process ( as I see in the logs as well )
Caught SIGTERM, shutting down...
Doesn't this conflicts with pacemaker monitoring . As pacemaker will see that nagios is down , it will also try to restart it and hence there will be clash ??
The reason I am asking is that I see sometime that my pacemaker blocks the nagios ( as it tries to restart it multiple times ) , mostly during apply config task .
Also in the linbit doc "At the time of writing this guide, if npcd is controlled by Pacemaker via it’s init script or the more generic anything
resource agent Nagios will complain that the service isn’t running properly. Forking the npcd init script off of Nagios'
init script mitigates the problem"
But in Linux there is not /etc/init.d/nagios . Should I include npcd as well in pacemaker config ??
I have successfully setup NAgios with DRBD , pacemkaer as per guideline in linbit . However I have one query .
The pacemaker makes sure that process like nagios are running all the time so it continiously monitors it . What happen when we click apply configuration in nagios??
Ideally it restarts the nagios core process ( as I see in the logs as well )
Caught SIGTERM, shutting down...
Doesn't this conflicts with pacemaker monitoring . As pacemaker will see that nagios is down , it will also try to restart it and hence there will be clash ??
The reason I am asking is that I see sometime that my pacemaker blocks the nagios ( as it tries to restart it multiple times ) , mostly during apply config task .
Also in the linbit doc "At the time of writing this guide, if npcd is controlled by Pacemaker via it’s init script or the more generic anything
resource agent Nagios will complain that the service isn’t running properly. Forking the npcd init script off of Nagios'
init script mitigates the problem"
But in Linux there is not /etc/init.d/nagios . Should I include npcd as well in pacemaker config ??