snmp monitoring
Casper
casper at snigelpost.org
Wed Sep 20 12:09:33 EDT 2006
In your snmpd.conf you must have
master agentx
and then start master with something like
/usr/cyrus/bin/master -P 120 -x /var/agentx/master
and it should work, and offcourse start snmpd 2.
/C
Den On, 2006-09-20, 17:02 skrev Rudy Gevaert:
> Hi,
>
>
> I'm looking at the snmp monitoring in cyrus, and have some problems
> setting it up. I've folled the folling path:
>
> installed libsnmp5, libsnmp5-dev, libsensors-dev from Debian Sarge
> installed snmpd from Debian Sarge
>
> I've compiled my cyrus with:
> ./configure \
> --with-cyrus-prefix=/usr/cyrus-${VERSION} \
> --prefix=/usr/cyrus-${VERSION} \
> --with-bdb-libdir=/usr/lib/ \
> --with-ldap=/usr \
> --with-openssl=/usr \
> --with-com_err=/usr \
> --with-bdb-incdir=/usr/include \
> --enable-replication \
> --with-mboxlist-db=skiplist \
> --with-seen-db=skiplist \
> --with-snmp=/usr
>
>
> The compilation worked and cyrus starts withouth a problem. I
> configured snmpd:
>
> andes:/usr/local/src/cyrus-imapd-2.3.7# cat /etc/snmp/snmpd.conf
> syslocation "Sterre, S9, serverlokaal 3" syscontact systemen at ugent.be
> rwcommunity public
>
> snmpd is started with: /usr/sbin/snmpd -Lsd -Lf /dev/null -x
> /var/run/snmpd.pid
>
>
> I start the cyrus master process with the extra option
> -x var/run/snmpd.pid
>
>
> On an other machine I can do
> snmpwalk -Os -c public -v 1 mail3.private.ugent.be
>
> And it shows me some info, but no specific cyrus info that is coming
> from the cyrus mib.
>
> I've then add the cyrus mib file to /usr/share/snmp/mib/ and restarted
> snmpd, but that didn't help.
>
> I can't kill my master proccess too. When starting it with -D I get
> andes:/usr/local/src/cyrus-imapd-2.3.7# /usr/cyrus/bin/master -D -M
> /mail/mail3/etc/cyrus.conf -C /mail/mail3/etc/imapd.conf -p
> /var/run/cyrus-master-mail3.pid -x /var/run/snmpd.pid
> No log handling enabled - turning on stderr logging
> read_config_store open failure on /var/lib/snmp/cyrusMaster.conf
> read_config_store open failure on /var/lib/snmp/cyrusMaster.conf
> read_config_store open failure on /var/lib/snmp/cyrusMaster.conf
>
> on typing control-c, but it doesn't die. kill -9 only helps...
>
> I would appreciate some help.
>
>
> Thank you in advance,
>
>
> Rudy
>
>
>
>
>
> --
> -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
> Rudy Gevaert Rudy.Gevaert at UGent.be tel:+32 9 264 4734
> Directie ICT, afd. Infrastructuur Direction ICT, Infrastructure dept.
> Groep Systemen Systems group
> Universiteit Gent Ghent University
> Krijgslaan 281, gebouw S9, 9000 Gent, Belgie www.UGent.be
> -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
> ----
> Cyrus Home Page: http://cyrusimap.web.cmu.edu/
> Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
>
>
>
>
>
More information about the Info-cyrus
mailing list