Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Steven on May 27, 2003, 02:11:08 PM

Title: SNMP errors
Post by: Steven on May 27, 2003, 02:11:08 PM
Ever since I installed MRTG I get this email every 30 mins or so
I can see that my SNMP is not working properly, but can't find any way of fixing it.
Can anyone help?
I have done a "start service snmpd" which says "done" and seems to start fine.

Thanks
Steven

SNMP Error:
no response received
SNMPv1_Session (remote host: "127.0.0.1" [127.0.0.1].161)
                  community: "private"
                 request ID: -1882548671
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /opt/iog/iog line 149
SNMP Error: no response received
SNMPv1_Session (remote host: "127.0.0.1" [127.0.0.1].161)
                  community: "private"
                 request ID: -1882548671
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
SNMP Error:
no response received
SNMPv1_Session (remote host: "127.0.0.1" [127.0.0.1].161)
                  community: "private"
                 request ID: -1721669607
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /opt/iog/iog line 124
SNMP Error: no response received
SNMPv1_Session (remote host: "127.0.0.1" [127.0.0.1].161)
                  community: "private"
                 request ID: -1721669607
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
SNMP Error:
no response received
SNMPv1_Session (remote host: "127.0.0.1" [127.0.0.1].161)
                  community: "private"
                 request ID: -370635494
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /opt/iog/iog line 124
SNMP Error: no response received
SNMPv1_Session (remote host: "127.0.0.1" [127.0.0.1].161)
                  community: "private"
                 request ID: -370635494
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
Title: Re: SNMP errors
Post by: Jesper Knudsen on June 01, 2003, 01:50:51 PM
Hi Steven,

This might very well be because you do not have SNMP access rights. Try to have a look at sme.swerts-knudsen.dk to see how to modify the hosts.allow file under the MRTG howto..

Rgds,
Jesper
Title: Re: SNMP errors
Post by: Steven on June 02, 2003, 12:12:11 PM
This is the howto I used to install the MRTG , I've checked the hosts.allow and it seems to be correct
Any other ideas?

Thanks
Steven
Title: Re: SNMP errors
Post by: Jesper Knudsen on June 02, 2003, 01:54:58 PM
Do you get any graphs build? What are you trying to monitor?

Rgds,
Jesper
Title: Re: SNMP errors
Post by: Steven on June 03, 2003, 11:48:01 AM
I am trying to install the spam assassin mrtg.
I actually have no idea what mrtg does or how to use it, so I dont know if it is working, all I wanted to do is get it to work with spam assassin.
Got any ideas to test it?

Thanks
Steven
Title: Re: SNMP errors
Post by: Jesper on June 04, 2003, 01:05:27 AM
When you issue the command (my first attempt):

[root@e-smith ]# spam-stats

spam: 4
clean: 19
skipped: 0
total: 23
processed: 23

Do you get some numbers ? You should get graphs like this:
http://www.swerts-knudsen.dk/mrtg/spamassassin/spam_percent_nonspam.html

and

http://www.swerts-knudsen.dk/mrtg/spamassassin/spam_percent_spam.html

Rgds,
JEsper
Title: Re: SNMP errors
Post by: Steven on June 04, 2003, 11:31:57 AM
I haven't installed the spam-assassin mrtg yet, I want to get rid of this error first, otherwise i'm going to uninstall mrtg.

Steven