Forum Discussion
Damion
May 24, 2011Cirrus
using snmp process monitoring for health monitor of smtpd
We created a postfix puremessage mx pool behind F5. As part of administrating mail, we need to quickly sort through the sea of information contained within the maillog file.
Unfortunately...
Damion
Jul 06, 2011Cirrus
On the mail server system I added to /etc/snmp/snmpd.conf
proc smtpd 150 1
snmp will give an error string if there are more then 150 or fewer the 1 process running.
Using snmpwalk I found the MIB snmpwalk -v2c -c public localhost prTable
UCD-SNMP-MIB::prNames.1 = STRING: smtpd
UCD-SNMP-MIB::prCount.1 = INTEGER: 0
UCD-SNMP-MIB::prErrMessage.1 = STRING: Too few smtpd running ( = 0)
UCD-SNMP-MIB::prNames.2 = STRING: pmx-milter
UCD-SNMP-MIB::prCount.2 = INTEGER: 0
UCD-SNMP-MIB::prErrMessage.2 = STRING: Too few pmx-milter running ( = 0)
So I could use either snmpwalk or snmpget to retrieve the prErrMessage and act upon that.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects