Page 1 of 1
What is the shortest intervals for monitoring?
Posted: Thu May 01, 2025 11:10 am
by TheCooDave
Hi,
We setup a dashlet to monitor memory and CPU usage on a critical server. We want this to be close to real time as possible because in a 30 second window we could be missing stuff in the logs for a spike or something (for example).
Could you set almost real time on a server or what is the shortest I can use and how do I apply this setting?
Re: What is the shortest intervals for monitoring?
Posted: Thu May 01, 2025 4:50 pm
by sgardil
TheCooDave wrote: ↑Thu May 01, 2025 11:10 am
Hi,
We setup a dashlet to monitor memory and CPU usage on a critical server. We want this to be close to real time as possible because in a 30 second window we could be missing stuff in the logs for a spike or something (for example).
Could you set almost real time on a server or what is the shortest I can use and how do I apply this setting?
Are you using the metrics overview dashlet to monitor this? Currently there is a refresh of the data on loading the dashboard and then a general 5 minute reload if you leave the page open. You could go in the code and modify it to refresh on a shorter period but there is some draw backs to performance if you were to do this.
Re: What is the shortest intervals for monitoring?
Posted: Thu May 01, 2025 7:34 pm
by kg2857
Basically, one minute.
I looked into less than one minute intervals some time back, and its pretty impractical in my opinion.
You can change it in nagios.cfg, but as I see it other things are dependent on it and things may get weird. I suggest you read the cfg file and docs.
Re: What is the shortest intervals for monitoring?
Posted: Mon May 05, 2025 2:04 pm
by TheCooDave
Oh, thanks, I was hoping for like 10 seconds or something like this for a select item.
Re: What is the shortest intervals for monitoring?
Posted: Mon May 05, 2025 9:36 pm
by kg2857
I'd advise you to do your research on this rather than believing me. I trust me but that doesn't mean you should.
Re: What is the shortest intervals for monitoring?
Posted: Fri May 09, 2025 7:12 am
by TheCooDave
er...ok, thanks...
Re: What is the shortest intervals for monitoring?
Posted: Tue May 13, 2025 2:30 pm
by vedicsystems
Yep, sub-minute intervals are tricky to pull off cleanly.