[mrtg] Re: mrtg frustrations

Ruttenberg, Tanya Tanya.Ruttenberg at ssa.gov
Thu Jan 5 15:31:35 MET 2006


MRTG needs 2 OIDs in the target line.  You have this

Target[172.20.100.202_1]: 1:foo at 172.20.100.202:

You need something like this

Target[172.20.100.202_1]: 1&1:foo at 172.20.100.202:

I'm not 100% sure of the syntax since I always explicitly list whatever OIDs
I am trying to get.  I would do it like this:

Target[172.20.100.202_1]: ifInOctets.1&ifOutOctets.1:foo at 172.20.100.202:::::

Not sure of the mrtg shorthand.

But for sure one of your issues is that you need to collect two metrics.

Tanya Ruttenberg - RSIS Contractor
OTSO/DNE/NMPEB
tanya.ruttenberg at ssa.gov
410-965-9605


-----Original Message-----
From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch] On
Behalf Of Aaron Clasby
Sent: Wednesday, January 04, 2006 3:11 PM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] mrtg frustrations

I am trying to setup another Dell switch for SNMP polling. I have one switch
working but am running into problems with another similar switch.
 

I ran debug and I see it running through the config lines:

--cfg: /home/mrtg/cfg/mrtg.cfg[1978]:
######################################################################

--cfg: /home/mrtg/cfg/mrtg.cfg[1979]: # System: sw3

--cfg: /home/mrtg/cfg/mrtg.cfg[1980]: # Description: Ethernet Stackable
Switching System

--cfg: /home/mrtg/cfg/mrtg.cfg[1981]: # Contact: Aaron Clasby

--cfg: /home/mrtg/cfg/mrtg.cfg[1982]: # Location:

--cfg: /home/mrtg/cfg/mrtg.cfg[1983]:
######################################################################

--cfg: /home/mrtg/cfg/mrtg.cfg[1984]:

--cfg: /home/mrtg/cfg/mrtg.cfg[1985]:

--cfg: /home/mrtg/cfg/mrtg.cfg[1986]: ### Interface 1 >> Descr: '' |
Name: '' | Ip: '' | Eth: '' ###

--cfg: /home/mrtg/cfg/mrtg.cfg[1987]: ### The following interface is
commented out because:

--cfg: /home/mrtg/cfg/mrtg.cfg[1988]: ### * --ifref=descr is not unique for
this interface

--cfg: /home/mrtg/cfg/mrtg.cfg[1989]: #

--cfg: /home/mrtg/cfg/mrtg.cfg[1990]:  Target[172.20.100.202_1]:
1:foo at 172.20.100.202:

--cfg: /home/mrtg/cfg/mrtg.cfg[1991]:  SetEnv[172.20.100.202_1]:
MRTG_INT_IP="" MRTG_INT_DESCR=""

--cfg: /home/mrtg/cfg/mrtg.cfg[1992]:  MaxBytes[172.20.100.202_1]:
12500000

--cfg: /home/mrtg/cfg/mrtg.cfg[1993]:  Title[172.20.100.202_1]: Traffic
Analysis for 1 -- sw3

--cfg: /home/mrtg/cfg/mrtg.cfg[1994]:  PageTop[172.20.100.202_1]:
<H1>Traffic Analysis for 1 -- sw3</H1>

--cfg: /home/mrtg/cfg/mrtg.cfg[1995]:   <TABLE>

--cfg: /home/mrtg/cfg/mrtg.cfg[1996]:     <TR><TD>System:</TD>
<TD>sw3 in </TD></TR>

--cfg: /home/mrtg/cfg/mrtg.cfg[1997]:     <TR><TD>Maintainer:</TD>
<TD>Aaron Clasby</TD></TR>

--cfg: /home/mrtg/cfg/mrtg.cfg[1998]:     <TR><TD>Description:</TD><TD>
</TD></TR>

--cfg: /home/mrtg/cfg/mrtg.cfg[1999]:     <TR><TD>ifType:</TD>
<TD>ethernetCsmacd (6)</TD></TR>

--cfg: /home/mrtg/cfg/mrtg.cfg[2000]:     <TR><TD>ifName:</TD>
<TD></TD></TR>

--cfg: /home/mrtg/cfg/mrtg.cfg[2001]:     <TR><TD>Max Speed:</TD>
<TD>100.0 Mbits/s</TD></TR>

--cfg: /home/mrtg/cfg/mrtg.cfg[2002]:   </TABLE>

--cfg: /home/mrtg/cfg/mrtg.cfg[2003]:

--cfg: /home/mrtg/cfg/mrtg.cfg[2004]:

 

But I don't see any snpo lines, such as the ones below:

--snpo: simple If: .100

--snpo: simple If: .100

--snpo: SNMPGet from foo at 172.20.100.200: --
ifInOctets.100,ifOutOctets.100,sysUptime,sysName

--snpo: SNMPfound -- 'undef', 'undef', '32 days, 21:17:52', 'undef'

 

I am trying to get this to work via Big Brother and I wonder if this is my
overall problem.

 

Regards,

 

Aaron Clasby
Technical Specialist
Cicada Corporation
525 Central Park Dr., Suite 500

Oklahoma City, OK 73105
Desk:   +1 405 609 3854

Ops:    +1 405 426 7187
Fax:    +1 405 524 7373

 

 


--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://lists.ee.ethz.ch/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://lists.ee.ethz.ch/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the mrtg mailing list