How to retain nagios plugin execution queue
Posted: Tue Sep 02, 2014 3:51 am
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.
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.