Link to home
Start Free TrialLog in
Avatar of smwein
smwein

asked on

MRTG stopped working

I'm running mrtg on windows 2003 box and it stopped updating.  Here is the error from the log.

2006-04-20 10:25:18 -- Started mrtg
2006-04-20 10:25:19 -- ERROR: AbsMax: 1000000 is smaller than MaxBytes: 12500000
2006-04-20 10:25:19 -- *** Restarting after 10 seconds in an attempt to recover from the error above
2006-04-20 10:25:29 -- Can't exec "mrtg": No such file or directory at mrtg line 297.
2006-04-20 10:25:34 -- Started mrtg
2006-04-20 10:25:44 -- SNMP Error:
no response received
SNMPv1_Session (remote host: "10.10.254.9" [10.10.254.9].161)
                  community: "asi_public"
                 request ID: 2011888469
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at C:/mrtg/bin\..\lib\mrtg2/SNMP_util.pm line 487
2006-04-20 10:25:44 -- SNMPGET Problem for ifInOctets.1 ifOutOctets.1 sysUptime sysName on asi_public@10.10.254.9::::::v4only
 at mrtg line 1835
2006-04-20 10:25:44 -- WARNING: skipping because at least the query for ifInOctets.1 on  10.10.254.9 did not succeed
2006-04-20 10:25:44 -- WARNING: no data for ifInOctets&ifOutOctets:asi_public@10.10.254.9. Skipping further queries for Host 10.10.254.9 in this round.
2006-04-20 10:25:44 -- ERROR: Target[10.10.254.9_1][_IN_] ' $target->[0]{$mode} ' did not eval into defined data
2006-04-20 10:25:44 -- ERROR: Target[10.10.254.9_1][_OUT_] ' $target->[0]{$mode} ' did not eval into defined data
2006-04-20 10:25:44 -- ERROR: Target[10.10.254.9_2][_IN_] ' $target->[1]{$mode} ' did not eval into defined data
2006-04-20 10:25:44 -- ERROR: Target[10.10.254.9_2][_OUT_] ' $target->[1]{$mode} ' did not eval into defined data
2006-04-20 10:25:45 -- ERROR: Target[10.10.254.9_3][_IN_] ' $target->[2]{$mode} ' did not eval into defined data
2006-04-20 10:25:45 -- ERROR: Target[10.10.254.9_3][_OUT_] ' $target->[2]{$mode} ' did not eval into defined data


Thanks for the help
Avatar of giltjr
giltjr
Flag of United States of America image

My initial thought is that on the box 10.10.254.9 either:

    the community name has changed
    the IP address has changed
    something has been installed/configured and is blocking access to port 161 (TCP or UDP) (like a firewall or IPCHAINS)
    no longer has snmpd running

basically mrtg is saying I did not get an answer back, or I got back an answer I don't understand.
Avatar of smwein
smwein

ASKER

if i change the AbsMax: to equal or greater then the MaxBytes it updates but I just get a solid green area.  
Avatar of smwein

ASKER

Also is the snmp comm. on the server or on the router
ASKER CERTIFIED SOLUTION
Avatar of giltjr
giltjr
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of smwein

ASKER

I have seemed to fix the problem.  Each interface maxbytes setting was to high.
Maxbytes is normally "detected" based on the type of interface it is.  However there are times when the maxbytes of the interface may not be what you want.

Example: You have a gigabit interface that is only running at 100 Mbps.  MaxBytes will be detected at 125MB, but you really want it set to 12.5 MB.

From your first post it was detected at 12.5 MB, which is 100 Mbps.  What type of interface was there where this was too high?
Hello,
 I am trying to plot graphs for my Brocade 4100 SAN switch and am using
 Solaris 10, I am following the documentation given:
 http://www.xolution.ch/mrtg/   i have written my config file:

 ~ snip
 Target[switch.IP_0]:
 1.3.6.1.4.1.1588.2.1.1.1.6.2.1.12.1&1.3.6.1.4.1.1588.2.1.1.1.6.2.1.11.1:public at fcswitch
 Title[switch.IP_0]: fc throughput on switch fcswitch port 0 (mysun jnic0  slot7)
 PageTop[switch.IP_0]: <H1>fc throughput on switch fcswswitch port 0 (mysun  jnic0 slot7)</H1>

 ~snip

 the error message i am getting is:

 2008-08-26 12:03:22: WARNING: Skipping host fcswitch as it does not resolve  to an IPv4 address
 2008-08-26 12:03:22: WARNING: no data for
 1.3.6.1.4.1.1588.2.1.1.1.6.2.1.12&1.3.6.1.4.1.1588.2.1.1.1.6.2.1.11:public at fcswitch.  Skipping further queries for Host fcswitch in this round.
 2008-08-26 12:03:22: ERROR: Target[xxx.xxx.xxx.xx_0][_IN_] ' $target->[0]{$mode}  ' did not eval into defined data
 2008-08-26 12:03:22: ERROR: Target[xxx.xxx.xxx.xx_0][_OUT_] ' $target->[0]{$mode}  ' did not eval into defined data

 can any one give me any insight on this, ??


The IP of the switch that i am using is what i read in my   /etc/hosts file.

I used the same IP to plot the graphs for eth interface, using cfgmaker and
got the errors below. However in the output dir i did get some graphs, which
were not blank, they had some data in it;...isnt this contradicting to that
MRTG cannot resolve the switch IP. Also i can do a  snmpwalk with this IP
address and community string public (UCD snmp version 4.2.1)


*******************************************************************************************************
SNMP Error:
no response received
SNMPv1_Session (remote host: "xxx.xxx.xx.xx" [xxx.xxx.xxx.xx].161)
                  community: "1:public"
                 request ID: 2100647008
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/local/mrtg-2/bin/../lib/mrtg2/SNMP_util.pm line 629
SNMPWALK Problem for 1.3.6.1.2.1.1 on 1:public at xxx.xxx.xxx.xx:::::v4only
 at /usr/local/mrtg-2/bin/cfgmaker line 950
WARNING: Skipping 1:public at xxx.xxx.xxx.xx: as no info could be retrieved
******************************************************************************************************************

Thanks a lot in advance,
rajeevsrao,

You can not piggy back a question on somebody else's question, especially when it is closed.   You will need to open your own question.