How to retain nagios plugin execution queue

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
balajei
Posts: 3
Joined: Fri Mar 21, 2014 4:02 am

How to retain nagios plugin execution queue

Post 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.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: How to retain nagios plugin execution queue

Post 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
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.
Locked