Managing different frequencies for plugins
Posted: Wed Mar 27, 2013 10:59 pm
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
How can I achieve this? Please help me! Thank you.
Regards,
Rakesh