Updated every 5 seconds

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
praveen.ks
Posts: 41
Joined: Wed May 29, 2013 5:35 pm

Updated every 5 seconds

Post by praveen.ks »

I changed the refresh rate=5 in cgi.cfg file, so that nagios webpage refreshing every 5 sec. However when any of the host is down/up..its not updating in nagios webpage every 5 secs.

I need that should update in webpage for every 5 sec and i need notification(mail) in 5 sec.

Kindly help me.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Updated every 5 seconds

Post by tmcdonald »

5 seconds is going to hammer your databases so hard that your server will slow to a crawl almost instantly. Every 5 seconds your web frontend has to query all the host/service information, format it for display in a web browser, and render it on the screen. Unless you have a massively overpowered machine with many many optimizations done for performance, this will not be practical. As for email, you are going to run into the same issue; 5 seconds is simply too fast for most situations.

Simply put, your server cannot finish grabbing all the host/service status info before you need to refresh again.
Former Nagios employee
Locked