[mrtg] Re: SNMP get problem.

Koelstra, J. (Jan) JKoelstra at MINSZW.NL
Tue Aug 30 15:48:33 MEST 2005


Jan Hugo,

Sorry,  missed the first message.

About your configfile:
In the options line you use 'Gauge' and "Absolute'. A counter can never belong to two different types at the same moment.

An other point in your configfile:
I doubt the oid you are monitoring is a 64bit counter. Temperature is usually given in 32bit counters.

About the error:

If you run MRTG in debug mode it will also give informational messages. Basic logging is usually sufficient to tell you what is wrong.
The first error you get is the following:
---------------------------
SNMP Error:
no response received
SNMPv2c_Session (remote host: "130.144.215.238" [130.144.215.238].161)
                   community: "READSTRING"
                  request ID: 255616923
                 PDU bufsize: 8000 bytes
                     timeout: 2s
                     retries: 5
                     backoff: 1)
---------------------------

This tells you the SNMP communication from your MRTG host to the target and back is somehow broken.
There can be several reasons for this. To name a few common ones:
SNMP is not running on the target host.
Community string in your MRTG config file doesn't match the one on the target host.
SNMP traffic between the MRTG host and the target is blocked in your network.
...

Before digging into MRTG the SNMP communication has to be running. To solve problems with SNMP you can use a mibbrowser. Since you are using Windows I recommend Getif (http://www.wtcs.org/snmp4tpc/getif.htm)


Hth,

Jan.


-----Original Message-----
From: Jan Hugo Prins [mailto:jhp at jhprins.org]
Sent: Tuesday, August 30, 2005 3:07 PM
To: Koelstra, J. (Jan)
Cc: brunon at abstynenci.org; mrtg at list.ee.ethz.ch
Subject: RE: [mrtg] Re: SNMP get problem.


>
> Jan Hugo,
>
> To help we need more specific information.
> (Part of) your MRTG configfile and the complete error message are very
> usefull in solving problems.
>
> Jan.

Well, if you check the first message you will have both the config file and the debug output from the SNMP communication.

Jan Hugo


_________________________________________________________

Het ministerie van Sociale Zaken en Werkgelegenheid sluit elke aansprakelijkheid uit in verband met het niet juist, onvolledig of niet tijdig overkomen van de informatie in deze e-mail.
Aan dit bericht kunnen geen rechten worden ontleend.

Dit bericht is alleen bestemd voor de geadresseerde. Indien dit bericht niet voor u bestemd is, verzoeken wij u dit onmiddellijk aan ons te melden en de inhoud van dit bericht te vernietigen.
_________________________________________________________

The ministry of Social Affairs and Employment is not liable for any incorrect or incomplete transmission of the information in this e-mail or for any delay in its receipt.
This message shall not constitute any obligations.

This message is intended solely for the addressee.
If you have received this message in error, please inform us immediately and delete its content.
_________________________________________________________

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
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



More information about the mrtg mailing list