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
Nagvis and Nagios on Nagios Reload
Re: Nagvis and Nagios on Nagios Reload
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:
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.
Code: Select all
; rotation interval (seconds)
interval=15
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
-
- Posts: 94
- Joined: Thu Oct 22, 2015 5:26 am
Re: Nagvis and Nagios on Nagios Reload
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
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
You could try bumping up the refreshtime directive as well in the config file:
From this page:
http://docs.nagvis.org/1.4/en_US/nagvis ... ption.html
Code: Select all
refreshtime=120
http://docs.nagvis.org/1.4/en_US/nagvis ... ption.html
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/