Now I am confused. If that is the case, why does the other switch work
with this config?

Target[172.20.100.200_2]: 2:[EMAIL PROTECTED]:
SetEnv[172.20.100.200_2]: MRTG_INT_IP="" MRTG_INT_DESCR=""
MaxBytes[172.20.100.200_2]: 12500000
Title[172.20.100.200_2]: Traffic Analysis for (SW4 port 2) --
PageTop[172.20.100.200_2]: <H1>Traffic Analysis for (SW4 port 2) --
</H1>
 <TABLE>
   <TR><TD>System:</TD>     <TD> in </TD></TR>
   <TR><TD>Maintainer:</TD> <TD></TD></TR>
   <TR><TD>Description:</TD><TD>  </TD></TR>
   <TR><TD>ifType:</TD>     <TD>ethernetCsmacd (6)</TD></TR>
   <TR><TD>ifName:</TD>     <TD></TD></TR>
   <TR><TD>Max Speed:</TD>  <TD>100.0 Mbits/s</TD></TR>
 </TABLE>
 
The bit you are talking about in front of the comm string increments
with the ports on the switch, so that also confuses me, so port 1 it
would be 1:foo, 2:foo, 3:foo, etc....

--Aaron 

-----Original Message-----
From: Ruttenberg, Tanya [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 05, 2006 8:32 AM
To: Aaron Clasby; [EMAIL PROTECTED]
Subject: RE: [mrtg] mrtg frustrations

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

Target[172.20.100.202_1]: 1:[EMAIL PROTECTED]:

You need something like this

Target[172.20.100.202_1]: 1&1:[EMAIL PROTECTED]:

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:[EMAIL PROTECTED]:::::

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
[EMAIL PROTECTED]
410-965-9605


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On
Behalf Of Aaron Clasby
Sent: Wednesday, January 04, 2006 3:11 PM
To: [EMAIL PROTECTED]
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:[EMAIL PROTECTED]:

--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 [EMAIL PROTECTED]: --
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:[EMAIL PROTECTED]
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


DISCLAIMER: This email and any files transmitted with it are confidential
and intended solely for the use of the individual or entity to whom they are
addressed. If you have received this email in error please notify the system
manager. Please note that any views or opinions presented in this email are
solely those of the author and do not necessarily represent those of Cicada
Companies. Finally, the recipient should check this email and any
attachments for the presence of viruses. Cicada Companies accepts no
liability for any damage caused by any virus transmitted by this email.


--
Unsubscribe mailto:[EMAIL PROTECTED]
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

Reply via email to