Page 1 of 1

Nagvis and Nagios on Nagios Reload

Posted: Wed Mar 01, 2017 1:27 pm
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

Re: Nagvis and Nagios on Nagios Reload

Posted: Wed Mar 01, 2017 5:58 pm
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.

Re: Nagvis and Nagios on Nagios Reload

Posted: Thu Mar 02, 2017 4:40 am
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

Re: Nagvis and Nagios on Nagios Reload

Posted: Thu Mar 02, 2017 5:36 pm
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