nagios service checks
Posted: Thu Oct 31, 2013 12:19 pm
Hello,
I have a question, if anyone could help me out.
I have implemented a backup system for all the nagios servers that in the case one of my nagios goes down, the backup server detects this event and starts a new instance and deploys the latest nagios backup from the server that is down (basically it takes out the virgin installed nagios3 and copies the contents of /etc/nagios3/ - /usr/lib/nagios/plugins and restarts the service).
When this happens, there are many services that are pending to be checked, and the next scheduled check is like 1 day from the moment it starts, this may be because of the way that service is configured on the other nagios, because it needs to be checked every once in a while, and when the files are copied, some cached data is brought as well (just my guess) and it saves that state, without trying to execute an immediate check.
Is there a way to force a massive service check on all of my hosts ? so I can get the latest data for all of them when we have a disaster recovery?
or is there any cache files im missing to copy or that i can delete so we can get all the services checked again?
currently, i'm only copying and replacing the contents of the plugins dir and /etc/nagios3
thanks a lot in advance!
I have a question, if anyone could help me out.
I have implemented a backup system for all the nagios servers that in the case one of my nagios goes down, the backup server detects this event and starts a new instance and deploys the latest nagios backup from the server that is down (basically it takes out the virgin installed nagios3 and copies the contents of /etc/nagios3/ - /usr/lib/nagios/plugins and restarts the service).
When this happens, there are many services that are pending to be checked, and the next scheduled check is like 1 day from the moment it starts, this may be because of the way that service is configured on the other nagios, because it needs to be checked every once in a while, and when the files are copied, some cached data is brought as well (just my guess) and it saves that state, without trying to execute an immediate check.
Is there a way to force a massive service check on all of my hosts ? so I can get the latest data for all of them when we have a disaster recovery?
or is there any cache files im missing to copy or that i can delete so we can get all the services checked again?
currently, i'm only copying and replacing the contents of the plugins dir and /etc/nagios3
thanks a lot in advance!