Update graph frequency of checks

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
RebeccaIlene
Posts: 164
Joined: Tue Apr 02, 2019 8:38 pm

Update graph frequency of checks

Post by RebeccaIlene »

Hi Team,

We want to update the frequency of checks on the graph.

Currently the check are happening every minute but the graph is not capturing the spikes we see in the check.

Can you please suggest how this can be fixed? Is there a separate check frequency for graphs?
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Update graph frequency of checks

Post by ssax »

Please PM me a copy of your profile, you can download it from Admin > System Profile by clicking the Download Profile button.

Are the graphs showing the every minute points on the graph and they are wrong or are they not showing the every minute points on the graph at all?
RebeccaIlene
Posts: 164
Joined: Tue Apr 02, 2019 8:38 pm

Re: Update graph frequency of checks

Post by RebeccaIlene »

The graph is not showing the correct data. I think this is because it is not showing the data every minute.
RebeccaIlene
Posts: 164
Joined: Tue Apr 02, 2019 8:38 pm

Re: Update graph frequency of checks

Post by RebeccaIlene »

Have PM you a copy of the profile.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Update graph frequency of checks

Post by ssax »

Are these bandwidth graphs from the Network Switch / Router Wizard? If so, /etc/cron.d/mrtg only runs every 5 minutes.

I see from your logs you are hitting the load_threshold and TIMEOUT.

Please edit your /usr/local/nagios/etc/pnp/npcd.cfg and change this:

Code: Select all

load_threshold = 50.0
To this:

Code: Select all

load_threshold = 70.0
Then edit /usr/local/nagios/etc/pnp/process_perfdata.cfg and change this:

Code: Select all

TIMEOUT = 5
To this:

Code: Select all

TIMEOUT = 40
Then restart NPCD:

Code: Select all

systemctl restart npcd
tchandra
Posts: 38
Joined: Fri Oct 18, 2019 5:53 am

Re: Update graph frequency of checks

Post by tchandra »

Hi Ssax,

As you suggested , we have changed the values in config files. but we didn't observed any changes in view.
Can you please suggest on this.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Update graph frequency of checks

Post by ssax »

Please create a ticket for this and include a link back to this forum thread so we can get a remote session setup:

https://support.nagios.com/tickets/

Thank you!