[mrtg] SNMP v2 issues with queries

Jeffrey Smith doc at neonova.net
Fri Apr 12 00:15:18 CEST 2013


Actually I didn't use cfgmaker.  I'm generating the config files using a
perl script that I wrote using data (hostname, community, interface,
maxbytes, title, etc.) from a MySQL database that I've been using
successfully for years.  It's just recently that the system has started
failing to find the interfaces when querying devices using SNMP v2.  No
changes were made to the mrtg binary when this issue started cropping and
it's happening across multiple devices.


Thanks,
Jeffrey Smith
Network Engineer, CCNA
Neonova Network Services
(919) 460-3330


On Thu, Apr 11, 2013 at 5:58 PM, <mrtg-request at lists.oetiker.ch> wrote:

> Send mrtg mailing list submissions to
>         mrtg at lists.oetiker.ch
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
> or, via email, send a message with subject or body 'help' to
>         mrtg-request at lists.oetiker.ch
>
> You can reach the person managing the list at
>         mrtg-owner at lists.oetiker.ch
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of mrtg digest..."
>
>
> Today's Topics:
>
>    1. Re: SNMP v2 issues with queries (Daniel McDonald)
>    2. Calibrating ssCpuRawUser etc to percentages (Frank Hamersley)
>    3. Server 2012 (Turner, Megan)
>    4. MRTG 2.17.4 rateup WARNING on Windows Server 2012
>       (Clouser, Jennifer)
>    5. Re: MRTG 2.17.4 rateup WARNING on Windows Server 2012
>       (Steve Shipway)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 08 Apr 2013 21:44:28 -0500
> From: Daniel McDonald <dan.mcdonald at austinenergy.com>
> Subject: Re: [mrtg] SNMP v2 issues with queries
> To: mrtg <mrtg at lists.oetiker.ch>
> Message-ID: <CD88EABC.5E77C%dan.mcdonald at austinenergy.com>
> Content-Type: text/plain;       charset="US-ASCII"
>
>
>
>
> On 4/8/13 5:06 PM, "Jeffrey Smith" <doc at neonova.net> wrote:
>
> > I have the following configuration:
> >
> >
> > Target[mrtg_nns_3034]: \GigabitEthernet4/2:community at hostname.domain.com:
> ::::2
> > #Target[mrtg_nns_3034]: 6:community at hostname.domain.com:::::2
>
> Ok, so you ran cfgmaker with --ifref=ifnum, then changed the targets to use
> descriptions.
> What do you get if you run cfgmaker with --ifref=descr?
> Personally, I find --ifref=name to be the most usable method.
>
>
> --
> Daniel J McDonald, CCIE # 2495, CISSP # 78281
>
>
>
> ------------------------------
>
> Message: 2
> Date: Wed, 10 Apr 2013 19:29:49 +1000
> From: "Frank Hamersley" <terabite at bigpond.com>
> Subject: [mrtg] Calibrating ssCpuRawUser etc to percentages
> To: <mrtg at lists.oetiker.ch>
> Message-ID: <LNBBJEPIDNHJKLLDEHLLOEDEEOAD.terabite at bigpond.com>
> Content-Type: text/plain;       charset="iso-8859-1"
>
> I am trying to calibrate the new CPU counters like ssCpuRawUser (50),
> ssCpuRawNice (51) and ssCpuRawSystem (52) without much success.
>
> Whilst mrtg is reading the registers the movement recorded in the log is
> often 0.  The few entries shown here were caused by a demanding task that
> vmstat averaged at about 10% utilisation however mrtg only inferred 1% and
> 2%.
>
> root at terabite:/var/www/mrtg# head -10 fw_cpu.log
> 1365584642 965303 759068
> 1365584642 0 0 0 0
> 1365584343 0 0 0 0
> 1365584100 0 0 0 0
> 1365583800 0 0 0 0
> 1365583500 0 2 1 3
> 1365583200 1 2 1 3     <--- this entry analysed
> 1365582900 0 0 1 2
> 1365582600 0 0 0 0
> 1365582300 0 0 0 0
>
> Extracts taken from the logs and analysed were ...
>
> timestamp    raw-I    raw-O    delta-I   delta-O log-I log-O
> 1365582900   964380   757278   56        50      0     0
> 1365583200   964660   757880   280       602     1     2
>
> The config I am using is ...
>
> #
> # Firewall CPU
> #
> Target[FW_cpu]:
> .1.3.6.1.4.1.2021.11.50.0&.1.3.6.1.4.1.2021.11.52.0:public at 10.1.1.1 +
> .1.3.6.1.4.1.2021.11.51.0&.1.3.6.1.4.1.2021.11.55.0:public at 10.1.1.1
> Options[FW_cpu]: growright, nopercent
> MaxBytes[FW_cpu]: 400
> Title[FW_cpu]: Firewall CPU Load
> PageTop[FW_cpu]: <H1>Firewall CPU Load</H1>
> Unscaled[FW_cpu]: ymwd
> ShortLegend[FW_cpu]: %
> YLegend[FW_cpu]: CPU Utilisation
> LegendI[FW_cpu]: User
> LegendO[FW_cpu]: System
> #
>
> Is this an interplay of bits versus bytes affecting scaling?  I think this
> machine has 2 cores but I expected that would inflate the number rather
> than
> deflate it as I am seeing.
>
> Cheers, Frank
>
>
>
> ------------------------------
>
> Message: 3
> Date: Thu, 11 Apr 2013 11:27:05 -0700
> From: "Turner, Megan" <mturner at auburn.wednet.edu>
> Subject: [mrtg] Server 2012
> To: "'mrtg at lists.oetiker.ch'" <mrtg at lists.oetiker.ch>
> Message-ID:
>         <
> 4E017E8859597C41A131769B68C07C300108A9684C66 at admex1svr.asd.auburn.wednet.edu
> >
>
> Content-Type: text/plain; charset="us-ascii"
>
> Has anyone had success with installing MRTG on Server 2012?
>
> Megan Turner, MCSE, MCTS
> Network Engineer
> Auburn School District #408
> 915 4th Street NE
> Auburn, WA 98002
> mturner at auburn.wednet.edu<mailto:mturner at auburn.wednet.edu>
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.oetiker.ch/pipermail/mrtg/attachments/20130411/d693e0ed/attachment-0001.htm
>
> ------------------------------
>
> Message: 4
> Date: Thu, 11 Apr 2013 13:54:59 -0700
> From: "Clouser, Jennifer" <jclouser at auburn.wednet.edu>
> Subject: [mrtg] MRTG 2.17.4 rateup WARNING on Windows Server 2012
> To: "'mrtg at lists.oetiker.ch'" <mrtg at lists.oetiker.ch>
> Message-ID:
>         <
> 4E017E8859597C41A131769B68C07C300108A9680BDB at admex1svr.asd.auburn.wednet.edu
> >
>
> Content-Type: text/plain; charset="us-ascii"
>
> Hello,
>
> I am wondering if the rateup.exe program has fundamental problems with
> Windows Server 2012.  When running MRTG and the configuration file, we
> receive the error  -
>
> *****************************
> The description for Event ID 1000 from source MRTG cannot be found. Either
> the component that raises this event is not installed on your local
> computer or the installation is corrupted. You can install or repair the
> component on the local computer.
>
> If the event originated on another computer, the display information had
> to be saved with the event.
>
> The following information was included with the event:
>
> 2013-04-11 10:58:56: WARNING: rateup (C:/mrtg-2.17.4/bin\rateup
> c:\mrtg-2.17.4\mrtgdata\ 164.116.160.254_177 1365703136 -Z u 1875258338464
> 1034527035513 125000000 c #00cc00 #0000ff #006600 #ff00ff k 1000 i
> c:\mrtg-2.17.4\mrtgdata\164.116.160.254_177-day.png -125000000 -125000000
> 400 100 1 1 1 300 1 4 1 "%Y-%m-%d %H:%M" 0 i
> c:\mrtg-2.17.4\mrtgdata\164.116.160.254_177-week.png -125000000 -125000000
> 400 100 1 1 1 1800 1 4 1 "%Y-%m-%d %H:%M" 0 i
> c:\mrtg-2.17.4\mrtgdata\164.116.160.254_177-month.png -125000000 -125000000
> 400 100 1 1 1 7200 1 4 1 "%Y-%m-%d %H:%M" 0 i
> c:\mrtg-2.17.4\mrtgdata\164.116.160.254_177-year.png -125000000 -125000000
> 400 100 1 1 1 86400 1 4 1 "%Y-%m-%d %H:%M" 0) did not work: Bad file
> descriptor
> ************************************
>
> Upon inspection of the rateup.exe file - the server indicates it is
> "incompatible".  Be assured, there is no permissions problem with the
> program accessing the directory indicated.
>
> Thank you.
>
>
>
> Jennifer Clouser
> Chief Technical Advisor, Technical Services Manager
> Department of Information Technology
> Auburn School District #408
> 915 4th Street Northeast
> Auburn, WA 98002
> 253-931-4940 (phone)
> 253-931-8006 (fax)
> Email: jclouser at auburn.wednet.edu<mailto:jclouser at auburn.wednet.edu>
>
> Change is a process, not an event.
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.oetiker.ch/pipermail/mrtg/attachments/20130411/21fb2f16/attachment-0001.htm
>
> ------------------------------
>
> Message: 5
> Date: Thu, 11 Apr 2013 21:58:21 +0000
> From: Steve Shipway <s.shipway at auckland.ac.nz>
> Subject: Re: [mrtg] MRTG 2.17.4 rateup WARNING on Windows Server 2012
> To: "Clouser, Jennifer" <jclouser at auburn.wednet.edu>
> Cc: "mrtg at lists.oetiker.ch" <mrtg at lists.oetiker.ch>
> Message-ID:
>         <
> 7294716191A1E142B80615ED2C633BCA68272ABB at uxcn10-2.UoA.auckland.ac.nz>
> Content-Type: text/plain; charset="gb2312"
>
> Is it possible that you have a 64bit Windows 2012 and the 32bit rateup.exe?
> Check where you obtained the binary from, you might be able to get a
> version
> compiled for a different version, or compile it yourself.
>
>
>
> Although I don?t know as much about Windows (UNIX/Linux person here mainly)
> I?ve seen similar issue with executables compiled for earlier versions of
> Windows running under later versions.  I believe there are also
> compatibility options you can set on an executable within Windows to make
> it
> more likely to run?
>
>
>
> Another option you might like to consider is using MRTG with RRDTool as the
> backend ? then you don?t need rateup.
>
>
>
> Steve
>
>
>
>   _____
>
> Steve Shipway
>
> ITS Unix Services Design Lead
>
> University of Auckland, New Zealand
>
> Floor 1, 58 Symonds Street, Auckland
>
> Phone: +64 (0)9 3737599 ext 86487
>
> DDI: +64 (0)9 924 6487
>
> Mobile: +64 (0)21 753 189
>
> Email:  <mailto:s.shipway at auckland.ac.nz> s.shipway at auckland.ac.nz
>
> P Please consider the environment before printing this e-mail : ??????
> ???????????
>
>
>
>
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.oetiker.ch/pipermail/mrtg/attachments/20130411/22202b1d/attachment.htm
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: smime.p7s
> Type: application/x-pkcs7-signature
> Size: 5900 bytes
> Desc: not available
> Url :
> http://lists.oetiker.ch/pipermail/mrtg/attachments/20130411/22202b1d/attachment.bin
>
> ------------------------------
>
> _______________________________________________
> mrtg mailing list
> mrtg at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
>
>
> End of mrtg Digest, Vol 76, Issue 2
> ***********************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20130411/3402e781/attachment.htm 


More information about the mrtg mailing list