Mailscanner MRTG

Roger Jochem roger at RUDNICK.COM.BR
Wed Feb 16 19:48:01 GMT 2005


    [ The following text is in the "Windows-1252" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

Now it works fine!!

Thanks a lot for the help all of you gave me!!

Regards

Roger Jochem


----- Original Message ----- 
From: "Denis Beauchemin" <Denis.Beauchemin at USHERBROOKE.CA>
To: <MAILSCANNER at JISCMAIL.AC.UK>
Sent: Wednesday, February 16, 2005 3:21 PM
Subject: Re: Mailscanner MRTG


Roger Jochem wrote:

>It was a mispell. I meant port 161.
>
>The string was incorrect... Now snmpwalk returned some data... But the
>graphics are still empty. What do I put in the "interfaces" field? Just
>eth0?
>
>
>

Roger,

This is what I have in my /etc/snmp/snmpd.conf file:
# START snmpd.conf
# This line makes the snmp daemon listen only on the loopback interface
# If you want to run on an alternative port change the 161 part
# (Don't forget to update the mailscanner-mrtg.conf file with the new
# port
agentaddress localhost:161
# Use this version instead for ucd-snmp
#agentaddress 161 at localhost

# This line sets up a single community string (with read-only access)
# With access only permitted from localhost
# If you have users logging into your machine and want to make sure they
# can't easily get info from snmp change 'public' to something else
# (Don't forget to update the community string in mailscanner-mrtg.conf)
rocommunity  public localhost

# System Information, change this if you want
syslocation Unknown
syscontact Root <root at localhost>
# FINISH snmpd.conf

On some servers I use the alternate form of the agentaddress directive
(depending on the version of SNMP on that server).

Since the port is closed to the outside world I don't care if processess
on the server can get to its statistics.

Denis

-- 
   _
  °v°   Denis Beauchemin, analyste
 /(_)\  Université de Sherbrooke, S.T.I.
  ^ ^   T: 819.821.8000x2252 F: 819.821.8045



------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!




More information about the MailScanner mailing list