Regarding Tunnel interface graph not polling
Re: Regarding Tunnel interface graph not polling
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
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
Re: Regarding Tunnel interface graph not polling
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!
Re: Regarding Tunnel interface graph not polling
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
Re: Regarding Tunnel interface graph not polling
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?
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!
Re: Regarding Tunnel interface graph not polling
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
host ip address 188.231.3.149 and service name Tunnel19244056 & rdd file name 188.231.3.149_40
Re: Regarding Tunnel interface graph not polling
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.
Thanks
Code: Select all
snmpwalk 188.231.3.149 -v 2c -c gSrou1er -m ALLBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Regarding Tunnel interface graph not polling
i have send to the mentioned file to your inbox, kindly let me know if you can able to check it
Re: Regarding Tunnel interface graph not polling
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
to
Delete the
file from the server.
Go to the following folder and delete the rrd and the xml file for the Tunnel service
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
Go and remove the rrd files and the xml files and wait for another 30 minutes to see if the data is correct.
Code: Select all
MaxBytes[188.231.3.149_40]: 12500Code: Select all
MaxBytes[188.231.3.149_40]: 125000000Code: Select all
/var/lib/mrtg/188.231.3.149_40.rrdGo 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-2One 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]: yesBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Regarding Tunnel interface graph not polling
Dears
Please be informed that its working now after the mentioned changes, I will try other hosts & will update back
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
Sounds good. We keep this open.Please be informed that its working now after the mentioned changes, I will try other hosts & will update back
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!
Be sure to check out our Knowledgebase for helpful articles and solutions!