Nagvis and Nagios on Nagios Reload

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
delboy1966
Posts: 94
Joined: Thu Oct 22, 2015 5:26 am

Nagvis and Nagios on Nagios Reload

Post by delboy1966 »

Hi All.

I know this is a forum for Nagios and there is a forum for Nagvis.
I just thought that someone that may not use the Nagvis forum maybe able to answer my question here.
So apologies to start with, but if anyone can help I would appreciate it.

We are using Nagvis to display a lot of maps on wall boards using the live backend.
The problem we have is when we have to make changes to Nagios and reload the configs all the nodes etc on the maps go blue and sound the klaxon.
Is there a way to tell Nagvis that if the backend is unavailable, due to a Nagios reload not to do this?
Maybe if there was a way to tell it not to sound and go blue unless Nagios was unavailable for x minutes.

Thanks in advance.
Tony
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Nagvis and Nagios on Nagios Reload

Post by mcapra »

You might try editing some of the rotation intervals of your pages in the Nagvis configuration, just to give Nagios a bit of leeway in terms of when it starts and when the page rotates:

Code: Select all

; rotation interval (seconds)
interval=15
But all Nagvis really does is read the Nagios status and churn out maps/pictures. It doesn't really have a concept of "how long" something has been down for beyond what Nagios tells it. If it doesn't get information from Nagios, I believe it's going to assume the worst every time.
Former Nagios employee
https://www.mcapra.com/
delboy1966
Posts: 94
Joined: Thu Oct 22, 2015 5:26 am

Re: Nagvis and Nagios on Nagios Reload

Post by delboy1966 »

Its not on a rotation.
About 5 screens all showing different maps so changing the rotation interval wouldn't have any effect.

I did find an option for using live status backend for a timeout.
So I changed this to 5 minutes (600 seconds) and reloaded Nagios but it didn't seem to make any difference as after about 10 seconds the nodes on the maps changed blue then went green again.

Tony
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Nagvis and Nagios on Nagios Reload

Post by mcapra »

You could try bumping up the refreshtime directive as well in the config file:

Code: Select all

refreshtime=120
From this page:
http://docs.nagvis.org/1.4/en_US/nagvis ... ption.html
Former Nagios employee
https://www.mcapra.com/
Locked