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?
What is the shortest intervals for monitoring?
-
TheCooDave
- Posts: 14
- Joined: Fri Feb 07, 2025 9:45 am
Re: What is the shortest intervals for monitoring?
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.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?
Re: What is the shortest intervals for monitoring?
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.
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.
-
TheCooDave
- Posts: 14
- Joined: Fri Feb 07, 2025 9:45 am
Re: What is the shortest intervals for monitoring?
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?
I'd advise you to do your research on this rather than believing me. I trust me but that doesn't mean you should.
-
TheCooDave
- Posts: 14
- Joined: Fri Feb 07, 2025 9:45 am
Re: What is the shortest intervals for monitoring?
er...ok, thanks...
-
vedicsystems
- Posts: 9
- Joined: Fri Jul 14, 2017 8:28 am
Re: What is the shortest intervals for monitoring?
Yep, sub-minute intervals are tricky to pull off cleanly.