Page 1 of 5

Regarding Tunnel interface graph not polling

Posted: Wed Sep 25, 2019 2:19 pm
by inshad
Dear Support

i have been facing issue with Tunnel interface bandwidth graph in nagios as not polling and also not showing bandwidth info. Moreover i have cross checked the arguments and related command are correct . Appreciate your support to resolve the issue asap.

Re: Regarding Tunnel interface graph not polling

Posted: Wed Sep 25, 2019 3:28 pm
by tgriep
Can you post the name of the plugin and where you downloaded it so we can check it to see if it returns performance data?
If the plugin does not return performance data, then the system cannot graph it as it does not exist.
To see this, go to the Service Details menu and open the service up, click on the Advanced Tab and in that screen, check to see if Performance Data: field has data in it.
Get a screen capture of that menu and post it here so we can view it.

Re: Regarding Tunnel interface graph not polling

Posted: Wed Sep 25, 2019 3:39 pm
by inshad
dear tgreip

Please note there is no plugging added , i think by default nagios will poll the performance graph of tunnel interface as when i was using demo it was working but when i installed licensed nagios some of the tunnel interface graph is polling and some are not working.

Re: Regarding Tunnel interface graph not polling

Posted: Wed Sep 25, 2019 4:03 pm
by tgriep
Thanks for the update and verifying that you are using the standard plugin.

First, upgrade the Network Switch / Router wizard in XI to the latest version by logging in to the XI GUI and going to the Admin > Manage Config Wizards menu.
Click the Check for Updates button and update the Network Switch / Router wizard.

Run the following as root to set the permissions of the files the plugin uses to get the bandwidth information.

Code: Select all

chown apache:nagios /etc/mrtg -R
chmod 775 /etc/mrtg -R
chown apache:nagios /var/lib/mrtg -R
chmod 775 /var/lib/mrtg -R
Let the system run for 20 to 30 minutes to gather data and then check to see if the bandwidth data is displayed.

If not, what OS and release is the server running?
What version of XI are you running?
Does the graph exist but it is showing zero for the bandwidth?

Can you run the following commands as root and post the the /tmp/mrtg.txt file to the ticket?

Code: Select all

LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg -debug=cfg,base,log &> /tmp/mrtg.txt
LANG=C LC_ALL=C /usr/bin/mrtg &>> /tmp/mrtg.txt
LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg --lock-file /var/lib/mrtg/mrtg.lock --confcache-file /var/lib/mrtg/mrtg.ok --user=nagios --group=nagios &>> /tmp/mrtg.txt
{ time LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg 2>1 ; } 2>> /tmp/mrtg.txt
I will also need to know the IP address and name of the service to check the mrtg.txt file for any errors.

Re: Regarding Tunnel interface graph not polling

Posted: Wed Sep 25, 2019 4:42 pm
by inshad
dear Team

i have done as per the email instruction but performance graph bandwidth still same. it have some straight graph but showing zero values. kindly find the related info and rest of the data will share asap.

NAME="CentOS Linux"
VERSION="7 (Core)"
nagios xi version #5.6.6

Re: Regarding Tunnel interface graph not polling

Posted: Wed Sep 25, 2019 4:57 pm
by tgriep
Thanks for the info.
I am going to need the mrtg.txt file to troubleshoot this further.

Re: Regarding Tunnel interface graph not polling

Posted: Thu Sep 26, 2019 3:37 am
by inshad
Dear Team

kindly find the attached file and also below example host and services have performance graph and bandwidth values issues. similarly we are facing issue with many of host and tunnel services

188.231.0.199 Tunnel19244052 Between SLV-PE1 to UHN-PE1 Bandwidth
188.231.80.1 Tunnel1924448 CYP-PE1 to KW-TVGW4 Bandwidth
188.231.98.255 Tunnel19298000 Tunnel for H1E stream Bandwidth

Re: Regarding Tunnel interface graph not polling

Posted: Thu Sep 26, 2019 8:43 am
by tgriep
Thanks for the mrtg file. It shows that those 3 IP Addresses are polling the devices and that they are receiving data so can you go to one of the services in the Service Details menu and click on the Advanced Tab, do you see performance data there greater than 0?

Re: Regarding Tunnel interface graph not polling

Posted: Thu Sep 26, 2019 9:01 am
by inshad
Dear Team

Performance data showing zero value only, kindly find the attached snapshot of one the tunnel services. Please note same device are polling all of interface graph except Tunnel graph which we are concern about.

Re: Regarding Tunnel interface graph not polling

Posted: Thu Sep 26, 2019 9:57 am
by tgriep
Go in to the Core Config Manager > Services menu and open up the service.
In there, you should see the name if the rrd file the check is looking at.
An example would be

Code: Select all

188.231.0.199_1.rrd
Note the name and then go to the /var/lib/mrtg folder and delete the rrd file.
Wait for 20 minutes for the mrtg process to gather new data and see if it updates.