Page 1 of 1

How to retain nagios plugin execution queue

Posted: Tue Sep 02, 2014 3:51 am
by balajei
Hi All,

We have around 20(approx) custom plugins executed through Nagios, the configuration files for the plugin will be added/deleted dynamically. So whenever we do add/del new configuration for plugin, we do a "service nagios reload" command line. Can anyone help us to find the solution for following issues
1. What happens when we do a reload service while a nagios custom plugin is running ?
2. How to retain the queue status of all the plugins so that reload will not alter schedule of existing plugins ?
To retain the queue status i have modified the following config's in nagios.cfg, but still retention of queue is not happening.
retain_state_information=1
retention_update_interval=1
use_retained_program_state=1
use_retained_scheduling_info=1

Thanks,
Balajei.

Re: How to retain nagios plugin execution queue

Posted: Wed Sep 03, 2014 1:31 pm
by abrist
There may be issues with "reload" depending on the version of the init script you are using. Do you see the same loss of retention information with a "restart"?

Code: Select all

service nagios restart