Regarding Tunnel interface graph not polling

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
mejokj
Posts: 353
Joined: Mon Jul 22, 2013 10:31 pm

Re: Regarding Tunnel interface graph not polling

Post by mejokj »

Hi,

If the tunnel was down when it was ran, then the cfgmaker command would not see it
Was the tunnel down at the time the cfgmaker command was ran?

--> Yes the tunnel went to down state when I running the command.

Is the tunnel always up and never goes down?

---> It is down now.

Note: Please consider the 188.231.80.1_37, Tunnel1924448 as the other tunnel is down

Even though the tunnel interface may not exist, try this.
Edit the /etc/mrtg/mrtg.d/188.231.80.1.cfg file and remove this line (Line 1289)
CODE: SELECT ALL
noHC[188.231.80.1_36]: yes

--> This option is not there for 188.231.80.1_37

++++++++++++++++++++++++++++++++++++++++++++++++++++++++
change line 1291 from
CODE: SELECT ALL
MaxBytes[188.231.80.1_36]: 12500

to
CODE: SELECT ALL
MaxBytes[188.231.80.1_36]: 1250000

---> Current Configuration existing

Target[188.231.80.1_37]: 37:[email protected]:161::::2
SetEnv[188.231.80.1_37]: MRTG_INT_IP="192.168.44.50" MRTG_INT_DESCR="Tunnel1924448"
MaxBytes[188.231.80.1_37]: 628000000

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


Save the file and delete this file to remove the old bandwidth data
CODE: SELECT ALL
/var/lib/mrtg/188.231.80.1_36.rrd

---> rrd file has been deleted for 188.231.80.1_37.rrd

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Wait for 20 to 30 minutes for the system to gather the bandwidth data and check the graph to see if there is data,

Another thing I notice, if that there is very little traffic outbound on that interface so it may always show zero.

--> Still it is showing as zero only
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Regarding Tunnel interface graph not polling

Post by tgriep »

If the tunnels are down and are down for a period of time, then there is no way to gather bandwidth data so XI showing zero is correct.
Be sure to check out our Knowledgebase for helpful articles and solutions!
inshad
Posts: 30
Joined: Mon May 20, 2019 3:03 pm

Re: Regarding Tunnel interface graph not polling

Post by inshad »

its not single tunnel interface issues as many of our devices tunnel graph are not polling by nagios, i can provide the another tunnel interface which is not showing performance graph in nagios. Please note its not issue with interface go up or down
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Regarding Tunnel interface graph not polling

Post by tgriep »

Can you post the IP addresses of the devices, the names of the services so I can look at the configuration files?

One question, if the Tunnel goes down and comes back up, does it get the same interface index as before or does it get a new one?
Be sure to check out our Knowledgebase for helpful articles and solutions!
inshad
Posts: 30
Joined: Mon May 20, 2019 3:03 pm

Re: Regarding Tunnel interface graph not polling

Post by inshad »

the previous tunnel which is goes down which is not in use that why it shut down. i have other devices and active unnel sevices which doesnt show any performance graph data in nagios

host ip address 188.231.3.149 and service name Tunnel19244056 & rdd file name 188.231.3.149_40
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Regarding Tunnel interface graph not polling

Post by tgriep »

Can you run the following command on the Nagios server and post the /tmp/walk.txt file to I can see the currently active interfaces on the device.

Code: Select all

snmpwalk 188.231.3.149 -v 2c -c gSrou1er -m ALL
Thanks
Be sure to check out our Knowledgebase for helpful articles and solutions!
inshad
Posts: 30
Joined: Mon May 20, 2019 3:03 pm

Re: Regarding Tunnel interface graph not polling

Post by inshad »

i have send to the mentioned file to your inbox, kindly let me know if you can able to check it
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Regarding Tunnel interface graph not polling

Post by tgriep »

I did receive the walk file and what I see it that the device is reporting the speed as 100 Meg so edit the /etc/mrtg/conf.d/188.231.3.149.cfg file and change this from

Code: Select all

MaxBytes[188.231.3.149_40]: 12500
to

Code: Select all

MaxBytes[188.231.3.149_40]: 125000000
Delete the

Code: Select all

/var/lib/mrtg/188.231.3.149_40.rrd
file from the server.

Go to the following folder and delete the rrd and the xml file for the Tunnel service

Code: Select all

/usr/local/nagios/share/perfdata/uhn-pe-2
Wait for at least 30 minutes and check the graph.

One more thing to try, the settings in the MRTG config file are set to use the low speed counters and it they are not updating correctly, that would produce false data.

If the above fails, do this edit the /etc/mrtg/conf.d/188.231.3.149.cfg file and delete the following line

Code: Select all

noHC[188.231.3.149_40]: yes
Go and remove the rrd files and the xml files and wait for another 30 minutes to see if the data is correct.
Be sure to check out our Knowledgebase for helpful articles and solutions!
inshad
Posts: 30
Joined: Mon May 20, 2019 3:03 pm

Re: Regarding Tunnel interface graph not polling

Post by inshad »

Dears

Please be informed that its working now after the mentioned changes, I will try other hosts & will update back
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Regarding Tunnel interface graph not polling

Post by benjaminsmith »

Please be informed that its working now after the mentioned changes, I will try other hosts & will update back
Sounds good. We keep this open.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked