What is the shortest intervals for monitoring?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Post Reply
TheCooDave
Posts: 14
Joined: Fri Feb 07, 2025 9:45 am

What is the shortest intervals for monitoring?

Post 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?
sgardil
Posts: 350
Joined: Wed Aug 09, 2023 9:58 am

Re: What is the shortest intervals for monitoring?

Post 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.
kg2857
Posts: 490
Joined: Wed Apr 12, 2023 5:48 pm

Re: What is the shortest intervals for monitoring?

Post 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.
TheCooDave
Posts: 14
Joined: Fri Feb 07, 2025 9:45 am

Re: What is the shortest intervals for monitoring?

Post by TheCooDave »

Oh, thanks, I was hoping for like 10 seconds or something like this for a select item.
kg2857
Posts: 490
Joined: Wed Apr 12, 2023 5:48 pm

Re: What is the shortest intervals for monitoring?

Post 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.
TheCooDave
Posts: 14
Joined: Fri Feb 07, 2025 9:45 am

Re: What is the shortest intervals for monitoring?

Post by TheCooDave »

er...ok, thanks...
vedicsystems
Posts: 9
Joined: Fri Jul 14, 2017 8:28 am

Re: What is the shortest intervals for monitoring?

Post by vedicsystems »

Yep, sub-minute intervals are tricky to pull off cleanly.
Post Reply