[mrtg] MRTG Graphs not Refreshing

Mohammad Hassan Mohammad.Hassan at hughes.com
Tue Dec 30 22:05:18 CET 2014


Wrolf,

Thanks. Here are the results:

Looks like they are increasing. Also, they were being polled before I reran the following after deleting the .pid file and all files (including .html and and index in /var/www/html/mrtg"

*/5 * * * * env LANG=C /usr/local/mrtg-2/bin/mrtg /etc/mrtg/<Router_Name>.cfg
./indexmaker --output=/var/www/html/mrtg/index.html /etc/mrtg/<Router_Name>.cfg


[root at AC5 mrtg]# snmpwalk -v 2c -c public 172.27.250.3 ifDescr
IF-MIB::ifDescr.1 = STRING: Backplane-GigabitEthernet0/3
IF-MIB::ifDescr.2 = STRING: GigabitEthernet0/0
IF-MIB::ifDescr.3 = STRING: GigabitEthernet0/1
IF-MIB::ifDescr.4 = STRING: GigabitEthernet0/2
IF-MIB::ifDescr.5 = STRING: Null0
IF-MIB::ifDescr.6 = STRING: Loopback0
IF-MIB::ifDescr.7 = STRING: Tunnel0
IF-MIB::ifDescr.8 = STRING: Tunnel1
IF-MIB::ifDescr.9 = STRING: NVI0
IF-MIB::ifDescr.10 = STRING: Tunnel2
IF-MIB::ifDescr.11 = STRING: Tunnel3
IF-MIB::ifDescr.12 = STRING: Tunnel4

[root at AC5 mrtg]# snmpwalk -v 2c -c public 172.27.250.3 ifInOctets
IF-MIB::ifInOctets.1 = Counter32: 0
IF-MIB::ifInOctets.2 = Counter32: 3562673427
IF-MIB::ifInOctets.3 = Counter32: 241424943
IF-MIB::ifInOctets.4 = Counter32: 158096948
IF-MIB::ifInOctets.5 = Counter32: 0
IF-MIB::ifInOctets.6 = Counter32: 0
IF-MIB::ifInOctets.7 = Counter32: 2755465505
IF-MIB::ifInOctets.8 = Counter32: 909302093
IF-MIB::ifInOctets.9 = Counter32: 0
IF-MIB::ifInOctets.10 = Counter32: 0
IF-MIB::ifInOctets.11 = Counter32: 0
IF-MIB::ifInOctets.12 = Counter32: 0
[root at AC5RI mrtg]# snmpwalk -v 2c -c public 172.27.250.3 ifInOctets
IF-MIB::ifInOctets.1 = Counter32: 0
IF-MIB::ifInOctets.2 = Counter32: 3563255508
IF-MIB::ifInOctets.3 = Counter32: 241803659
IF-MIB::ifInOctets.4 = Counter32: 158097288
IF-MIB::ifInOctets.5 = Counter32: 0
IF-MIB::ifInOctets.6 = Counter32: 0
IF-MIB::ifInOctets.7 = Counter32: 2755961652
IF-MIB::ifInOctets.8 = Counter32: 909314621
IF-MIB::ifInOctets.9 = Counter32: 0
IF-MIB::ifInOctets.10 = Counter32: 0
IF-MIB::ifInOctets.11 = Counter32: 0
IF-MIB::ifInOctets.12 = Counter32: 0


[root at AC5 mrtg]# snmpwalk -v 2c -c public 172.27.250.3 ifOutOctets
IF-MIB::ifOutOctets.1 = Counter32: 0
IF-MIB::ifOutOctets.2 = Counter32: 3823158589
IF-MIB::ifOutOctets.3 = Counter32: 245328094
IF-MIB::ifOutOctets.4 = Counter32: 1632281106
IF-MIB::ifOutOctets.5 = Counter32: 0
IF-MIB::ifOutOctets.6 = Counter32: 0
IF-MIB::ifOutOctets.7 = Counter32: 3723115190
IF-MIB::ifOutOctets.8 = Counter32: 2718217284
IF-MIB::ifOutOctets.9 = Counter32: 0
IF-MIB::ifOutOctets.10 = Counter32: 35026599
IF-MIB::ifOutOctets.11 = Counter32: 0
IF-MIB::ifOutOctets.12 = Counter32: 110037
[root at AC5RIDHNMON mrtg]# snmpwalk -v 2c -c public 172.27.250.3 ifOutOctets
IF-MIB::ifOutOctets.1 = Counter32: 0
IF-MIB::ifOutOctets.2 = Counter32: 3824166591
IF-MIB::ifOutOctets.3 = Counter32: 246721442
IF-MIB::ifOutOctets.4 = Counter32: 1632281168
IF-MIB::ifOutOctets.5 = Counter32: 0
IF-MIB::ifOutOctets.6 = Counter32: 0
IF-MIB::ifOutOctets.7 = Counter32: 3724245039
IF-MIB::ifOutOctets.8 = Counter32: 2718247116
IF-MIB::ifOutOctets.9 = Counter32: 0
IF-MIB::ifOutOctets.10 = Counter32: 35026599
IF-MIB::ifOutOctets.11 = Counter32: 0
IF-MIB::ifOutOctets.12 = Counter32: 110037

From: mrtg [mailto:mrtg-bounces+mohammad.hassan=hughes.com at lists.oetiker.ch] On Behalf Of Courtney, Wrolf
Sent: Tuesday, December 30, 2014 3:50 PM
To: mrtg at lists.oetiker.ch
Subject: Re: [mrtg] MRTG Graphs not Refreshing

Don't know whether you can do MIB II statistics on tunnel interfaces.

Try

snmpwalk -v2c -c yourcommunity routeripaddress ifDescr
snmpwalk -v2c -c yourcommunity routeripaddress ifInOctets
snmpwalk -v2c -c yourcommunity routeripaddress ifOutOctets

See whether ifInOctets and ifOutOctets are increasing for your Tunnel0

Wrolf

From: Mohammad Hassan [mailto:Mohammad.Hassan at hughes.com]
Sent: Tuesday, December 30, 2014 2:41 PM
To: Courtney, Wrolf; mrtg at lists.oetiker.ch<mailto:mrtg at lists.oetiker.ch>; Alex van den Bogaerdt
Subject: RE: MRTG Graphs not Refreshing

Hey everyone,

Looks like in fixing one problem, I've introduced another. The following tunnel interface is indicating that it is updating the graphs but the data is not showing on the graph:

System:                AC5-RID-RTR-02 in Germantown NOC
Description:        Tu0 Connected to RITE AID HQ
ifType: ethernetCsmacd (6)
ifName:                Tu0
Max Speed:        50 Mbits/s
Ip:           10.254.32.5 ()
The statistics were last updated Tuesday, 30 December 2014 at 14:35

                Max       Average               Current
In            0.0 b/s (0.0%)    0.0 b/s (0.0%)    0.0 b/s (0.0%)
Out        0.0 b/s (0.0%)    0.0 b/s (0.0%)    0.0 b/s (0.0%)

>From the router:
Tunnel0 is up, line protocol is up
  Hardware is Tunnel
  Description: VPN Tunnel To Rite Aid HQ
  Internet address is 10.254.32.5/30
  MTU 17916 bytes, BW 100 Kbit/sec, DLY 50000 usec,
     reliability 255/255, txload 255/255, rxload 255/255
  Encapsulation TUNNEL, loopback not set
  Keepalive set (1 sec), retries 10
  Tunnel source 69.35.59.42, destination 204.28.140.117
  Tunnel protocol/transport GRE/IP
    Key disabled, sequencing disabled
    Checksumming of packets disabled
  Tunnel TTL 255, Fast tunneling enabled
  Tunnel transport MTU 1476 bytes
  Tunnel transmit bandwidth 50000 (kbps)
  Tunnel receive bandwidth 50000 (kbps)
  Last input 00:00:20, output 00:00:00, output hang never
  Last clearing of "show interface" counters 03:44:38
  Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 1560442
  Queueing strategy: fifo
  Output queue: 0/0 (size/max)
  30 second input rate 3514000 bits/sec, 1576 packets/sec
  30 second output rate 3922000 bits/sec, 1677 packets/sec
     25452326 packets input, 9399327018 bytes, 0 no buffer
     Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
     26710278 packets output, 6849102549 bytes, 0 underruns
     0 output errors, 0 collisions, 0 interface resets
     0 unknown protocol drops
     0 output buffer failures, 0 output buffers swapped out


Any advice will be greatly appreciated!

Thanks,
Mohammad Hassan

From: Courtney, Wrolf [mailto:Wrolf.Courtney at mtahq.org]
Sent: Tuesday, December 30, 2014 11:19 AM
To: Mohammad Hassan; mrtg at lists.oetiker.ch<mailto:mrtg at lists.oetiker.ch>
Subject: RE: MRTG Graphs not Refreshing

Try running "LANG=C mrtg yourfile.cfg", see if you get any errors. Check your WorkDir in those .cfg files. Make sure your .png and .html files have new timestamps. Check that your index.html files point to the right directory - you can rerun indexmaker using the command line in the index.html.

Wrolf

From: mrtg [mailto:mrtg-bounces+wrolf.courtney=mtahq.org at lists.oetiker.ch] On Behalf Of Mohammad Hassan
Sent: Tuesday, December 30, 2014 11:14 AM
To: mrtg at lists.oetiker.ch<mailto:mrtg at lists.oetiker.ch>
Subject: [mrtg] MRTG Graphs not Refreshing

Hi all,

I just joined this community! Been troubleshooting this issue for a few days now and needed some professional help. Thanks in advance, to any suggesting you guys may provide!

A Linux server was configured for MRTG using cfgmaker more than a year ago. It continued to work as desired until earlier year.

There are some graphs being polled from a router that are not updating. The last refresh date for each graph that is not refreshing is unique and within the last few months. The strange is, there are graphs that are not updating and those that are updating from the same router.

Please see the following:


Actions taken:

*         Restart crond, httpd and snmp services

*         Reload the Linux server

o   Strange thing happened here: Those graphs that have been static and not updating remained on the http page, those that were still dynamically updating were not showing anything until crond and httpd was restared.

Any help would be much appreciated!!

Update: Graphs are updating now but the "Daily Graph," others are remaining static. Also, the last update date has not updated.

Thanks,
Mohammad Hassan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.oetiker.ch/pipermail/mrtg/attachments/20141230/4e464816/attachment-0001.html>


More information about the mrtg mailing list