Hello! I want some static data (like the IP address of remote machine, memory capacity etc.) to be fetched only when I require them from the nagios web interface along with monitoring dynamic things. I have three nodes in my cluster and I have considered one of them as the monitoring server. I installed check_nrpe and NDOUtil. Now, the plugins are executed very frequently and status.dat files and database are also updated everytime. To fetch the static data I have written small plugins and even these plugins get executed everytime. I want them to just save the data in database at first (once) and not get executed with the dynamic data related plugins. But at the frontend I want to provide an option to actively submit the request to fetch the static details (this time, it should make the related plugins execute and copy the updated information to the database).
How can I achieve this? Please help me! Thank you.
Regards,
Rakesh
Managing different frequencies for plugins
Re: Managing different frequencies for plugins
You could set the interval between checks to an astronomical number and just force the checks through the UI with the option "Re-schedule the next check of this service" in the service details.
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.