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
smweinAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

giltjrCommented:
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.
0
smweinAuthor Commented:
if i change the AbsMax: to equal or greater then the MaxBytes it updates but I just get a solid green area.  
0
smweinAuthor Commented:
Also is the snmp comm. on the server or on the router
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

giltjrCommented:
Why are you seting AbsMax to less that MaxBytes?  AbsMax should be equal to or greater than MaxBytes.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
smweinAuthor Commented:
I have seemed to fix the problem.  Each interface maxbytes setting was to high.
0
giltjrCommented:
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?
0
rajeevsraoCommented:
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,
0
giltjrCommented:
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.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Networking

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.