[mrtg] MRTG Max bits per second

Lee Todd ltodd2 at hallmark-uk.com
Thu Nov 12 16:28:11 CET 2009



Daniel
I have changed the config and re run cfgmaker with the following
cfgmaker --output=/etc/mrtg/wc1-6000.cfg --global
workdir:/var/www/mrtg/wc1-6000 --ifref=nr --global "options[_]:
growright,bits" --snmp-options=:::::2 xxxxxx at 172.x.x.x

When I run it I get the following errors.  I have tried changing the
--ifref etc to other options and get the same.

SNMPGET Problem for ifInOctets.223 ifOutOctets.223 sysUptime sysName on
xxxxxxxx at 172.x.x.x::::::v4only
 at /usr/bin/mrtg line 2149
SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 2 (OID: 1.3.6.1.2.1.2.2.1.16.224)
SNMPv1_Session (remote host: "172.x.x.x" [172.x.x.x].161)
                  community: "xxxxxxx"
                 request ID: 1238502276
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/bin/../lib/mrtg2/SNMP_util.pm line 490
SNMPGET Problem for ifInOctets.224 ifOutOctets.224 sysUptime sysName on
xxxxxxxx at 172.x.x.x::::::v4only
 at /usr/bin/mrtg line 2149
2009-11-12 15:22:12: ERROR: Target[172.x.x.x_169][_IN_] ' $target->
[141]{$mode} ' did not eval into defined data
2009-11-12 15:22:12: ERROR: Target[172.x.x.x_169][_OUT_] ' $target->
[141]{$mode} ' did not eval into defined data
2009-11-12 15:22:12: ERROR: Target[172.x.x.x_170][_IN_] ' $target->
[142]{$mode} ' did not eval into defined data
2009-11-12 15:22:12: ERROR: Target[172.x.x.x_170][_OUT_] ' $target->
[142]{$mode} ' did not eval into defined data
2009-11-12 15:22:12: ERROR: Target[172.x.x.x_171][_IN_] ' $target->
[143]{$mode} ' did not eval into defined data
2009-11-12 15:22:12: ERROR: Target[172.x.x.x_171][_OUT_] ' $target->
[143]{$mode} ' did not eval into defined data
2009-11-12 15:22:12: ERROR: Target[172.x.x.x0_172][_IN_] ' $target->
[144]{$mode} ' did not eval into defined data


Any ideas?

Thanks


                                                                                                                                               
  From:       Daniel J McDonald <dan.mcdonald at austinenergy.com>                                                                                
                                                                                                                                               
  To:         mrtg at lists.oetiker.ch                                                                                                            
                                                                                                                                               
  Date:       12/11/2009 14:32                                                                                                                 
                                                                                                                                               
  Subject:    Re: [mrtg] MRTG Max bits per second                                                                                              
                                                                                                                                               
  Sent by:    mrtg-bounces at lists.oetiker.ch                                                                                                    
                                                                                                                                               





On Thu, 2009-11-12 at 13:29 +0000, Lee Todd wrote:
> I have mrtg configured with bit,  the graph shows in bits and the max,
avg
> and current are all in bits.  We have a number of systems with gig links
> and even have a 6gig etherchannel into an ibm blade centre.  The max on
any
> graph is 120.  Is this a limit

It is a limit of snmp version 1.  the 32 bit counter rolls over twice in
5 minutes at ~120mb/seconds

>  or a know issue and how do I fix it to show
> the real speed?

switch to snmp version 2c or snmp version 3.  These versions support 64
bit counters, which rollover about 1 four-millionth less frequently,
making those versions entirely appropriate for speeds up to about a
petabit per second.


snmpv2 can be set very simply.  Please read
http://oss.oetiker.ch/mrtg/doc/cfgmaker.en.html for complete
instructions.  snmpv3 is a little more challenging to configure, but
provides cryptographic integrity.  Once you get templates set up for
snmpv3, the operation is pretty straight-forward.



--
Daniel J McDonald, CCIE # 2495, CISSP # 78281, CNX
www.austinenergy.com

_______________________________________________
mrtg mailing list
mrtg at lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg



Registered Office: Bingley Road, Bradford, BD9 6SD
Registered in England no. 03414540

The information contained in this e-mail and any accompanying documents
may contain information that is confidential or otherwise protected from
disclosure. If you are not the intended recipient of this message, or if
this message has been addressed to you in error, please immediately
alert the sender by reply e-mail and then delete this message, including
any attachments. Any dissemination, distribution or other use of the
contents of this message by anyone other than the intended recipient is
strictly prohibited.

Unless specifically stated in this e mail, the agreement and content 
of this correspondence is subject to contract.  
No contract is implied by this correspondence, unless specifically 
stated as a contract (purchase order or sales order)

Think of the environment; please don't print this e-mail unless you
really need to



More information about the mrtg mailing list