[mrtg] monitoring services on remote snmp enabled windows server

Max Hetrick btmanmeh at verizon.net
Thu Jul 12 13:21:51 CEST 2007

Hash: SHA1

Harry John wrote:
> Hey,
> im sorry..help needed again. i tried adding this to my machine.cfg
> but giving out his error------------------on env LANG=C
> /usr/local/mrtg-2/bin/mrtg /var/www/html/mrtg/core/sample.cfg
> SNMP Error:
> Received SNMP response with error code
>   error status: noSuchName
>   index 1 (OID:
> SNMPv1_Session (remote host: " <>" [
> <>].161)
>                   community: "public"
>                  request ID: 427695740
>                 PDU bufsize: 8000 bytes
>                     timeout: 2s
>                     retries: 5
>                     backoff: 1)
>  at /usr/local/mrtg-2/bin/../lib/mrtg2/SNMP_util.pm line 490
> SNMPGET Problem for
> sysUptime sysName on public at
> <mailto:public at>
>  at /usr/local/mrtg-2/bin/mrtg line 2150
> 2007-07-11 19:04:31: ERROR: Target[temp1][_IN_] ' $target->[1]{$mode} '
> did not eval into defined data
> 2007-07-11 19:04:31: ERROR: Target[temp1][_OUT_] ' $target->[1]{$mode} '
> did not eval into defined data
> 2007-07-11 19:04:31, Rateup WARNING: /usr/local/mrtg-2/bin/rateup Can't
> remove temp1.old updating log file
> ------------------------------------------------------------------------------------------
> do  i need to configre anything else.
> i just added this sample to my .cfg and ran indexmaker and mrtg.
> i could just see the graph co-ordinates on the web-page but not any values.
> (i can view the traffic on the e0 on graph)

Please respond on the list.  :)

Well, this isn't specific to windows, so no, copying and pasting this
into your config isn't going to work. I was just giving you a generic
example of how to use SNMP with MRTG.

What you need to do is find out the specific OIDs of your server
parameters that you want to graph. Substitute that for the OIDs I used
as the example, and substitute your community string and hostnames as well.

       Host   SNMP OID                 SNMP OID               CommString
Target[temp1]: at temp1

If you don't understand SNMP, then you need to do some reading about
that to understand what I just said. Google is your friend here.


Version: GnuPG v1.2.6 (GNU/Linux)


More information about the mrtg mailing list