[mrtg] monitoring services on remote snmp enabled windows server
Max Hetrick
btmanmeh at verizon.net
Thu Jul 12 13:21:51 CEST 2007
-----BEGIN PGP SIGNED MESSAGE-----
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: 1.3.6.1.4.1.15848.1.22.0)
> SNMPv1_Session (remote host: " 10.1.1.232 <http://10.1.1.232/>" [
> 10.1.1.232 <http://10.1.1.232/>].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 1.3.6.1.4.1.15848.1.22.0 1.3.6.1.4.1.15848.1.22.0
> sysUptime sysName on public at 10.1.1.222::::::v4only
> <mailto:public at 10.1.1.222::::::v4only>
> 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]:1.3.6.1.4.1.15848.1.22.0&1.3.6.1.4.1.15848.1.22.0:COMMSTRING 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.
Regards,
Max
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQFGlg7OHoeeepPau2ERArlnAJ4vQyDif4/upYrtbQDo7eyKX+vmgACguCww
yU2KQqTWg1I4md9DjoynvcE=
=mDzP
-----END PGP SIGNATURE-----
More information about the mrtg
mailing list