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.
How to retain nagios plugin execution queue
Re: How to retain nagios plugin execution queue
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
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.