[mrtg] Re: snmp problems
Sawyer, David
david.sawyer at uk.mckhboc.com
Thu Jan 31 11:59:16 MET 2002
Double check your SNMP community string by doing the following....
view the config by using the following command...
sh run
and look near the end of the config for something like...
!
access-list 1 permit 10.10.10.1
access-list 1 permit 10.10.10.2
!
snmp-server community CommString RO 1
snmp-server host 10.10.10.1 traps CommString snmp
!
So the above example means that 'CommString' is the community sting and the
'1' on the end will only let devices from 'access-list 1' to receive SNMP
replies.
Since your not too knowledgeable on configuring a router, ask your local IT
dept for help, don't do it your self.
You shouldn't really create your own configs until your confident about what
your doing.
Use 'cfgmaker' to create them, that way all should be ok.
How are you running MRTG on the Windows system?
I have created Windows Daemon www.geocities.com/mrtg_daemon that should be
of use to you.
When you get your config working take a look at it, I'm here if you have any
questions about it.
HTH
Dave
-----Original Message-----
From: andrea [mailto:atarditi at focos.to.it]
Sent: 31 January 2002 10:20
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] snmp problems
Hi,I'm a new user of MRTG and I have some problems to configure the
software.I try to install MRTG on Win2000 server to monitor my router (Cisco
2500 series).After install Perl and create mrtg.cfg file,I try to configure
this file with router's IP but when I run command "perl mrtg mrtg.cfg"
obtain this error:"SNMPGET problem for ifInOctets.1 ifOutOctets.1 sysUptime
sysName on public at router's IP WARNING Expected a number but got ' ' WARNING
Expected a number but got ' '"
> I Know that there is something wrong in the cfg file but I don't
understand what!Can you explain me How can I get router's configuration(or
how can I configure router)?I try via Telnet (I have root passwor and ena
password but after I don't Know how to get information).If I can help you
sending a copy of my mrtg.cfg file,I haven't problem to send you.I hope
that you understand my terrible english and thak you in advance for your
interest and for any help,ANDREa
----------------------------------------------------------------------------
The information contained in this e-mail is confidential and is intended
only for the named recipient(s). If you are not the intended recipient you
must not copy, distribute, or take any action or reliance on it.
If you have received this e-mail in error, please notify the sender.
Any unauthorised disclosure of the information contained in this e-mail
is strictly prohibited.
----------------------------------------------------------------------------
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the mrtg
mailing list