Subject: The mailing list for listmasters using Sympa
List archive
- From: Jody Lemoine <address@concealed>
- To: Serge Aumont <address@concealed>
- Cc: address@concealed
- Subject: Re: [sympa-users] nagios for Sympa
- Date: Fri, 5 Mar 2010 08:56:34 -0500
Hey Serge:
On 2010-03-05, at 7:51 AM, Serge Aumont wrote:
> Is some of you uses some Nagios script to verify that Sympa services
> are OK ? I would be please to receive some of those script even if I
> need to modify them in order to use it in our own Sympa environment.
I just add the Sympa processes to the snmpd.conf file and monitor using SNMP.
The following entries cover the Sympa processes (and mail server) nicely:
proc sympa.pl
proc archived.pl
proc bounced.pl
proc task_manager.pl
proc wwsympa.fcgi
proc exim
Once those are added in and the snmpd process has been reinitialized, you can
query the status using an SNMP request:
$ snmpwalk -v 2c -c public localhost .1.3.6.1.4.1.2021.2
UCD-SNMP-MIB::prIndex.1 = INTEGER: 1
UCD-SNMP-MIB::prIndex.2 = INTEGER: 2
UCD-SNMP-MIB::prIndex.3 = INTEGER: 3
UCD-SNMP-MIB::prIndex.4 = INTEGER: 4
UCD-SNMP-MIB::prIndex.5 = INTEGER: 5
UCD-SNMP-MIB::prIndex.6 = INTEGER: 6
UCD-SNMP-MIB::prNames.1 = STRING: sympa.pl
UCD-SNMP-MIB::prNames.2 = STRING: archived.pl
UCD-SNMP-MIB::prNames.3 = STRING: bounced.pl
UCD-SNMP-MIB::prNames.4 = STRING: task_manager.pl
UCD-SNMP-MIB::prNames.5 = STRING: wwsympa.fcgi
UCD-SNMP-MIB::prNames.6 = STRING: exim
UCD-SNMP-MIB::prMin.1 = INTEGER: 0
UCD-SNMP-MIB::prMin.2 = INTEGER: 0
UCD-SNMP-MIB::prMin.3 = INTEGER: 0
UCD-SNMP-MIB::prMin.4 = INTEGER: 0
UCD-SNMP-MIB::prMin.5 = INTEGER: 0
UCD-SNMP-MIB::prMin.6 = INTEGER: 0
UCD-SNMP-MIB::prMax.1 = INTEGER: 0
UCD-SNMP-MIB::prMax.2 = INTEGER: 0
UCD-SNMP-MIB::prMax.3 = INTEGER: 0
UCD-SNMP-MIB::prMax.4 = INTEGER: 0
UCD-SNMP-MIB::prMax.5 = INTEGER: 0
UCD-SNMP-MIB::prMax.6 = INTEGER: 0
UCD-SNMP-MIB::prCount.1 = INTEGER: 1
UCD-SNMP-MIB::prCount.2 = INTEGER: 1
UCD-SNMP-MIB::prCount.3 = INTEGER: 1
UCD-SNMP-MIB::prCount.4 = INTEGER: 1
UCD-SNMP-MIB::prCount.5 = INTEGER: 2
UCD-SNMP-MIB::prCount.6 = INTEGER: 5
UCD-SNMP-MIB::prErrorFlag.1 = INTEGER: noError(0)
UCD-SNMP-MIB::prErrorFlag.2 = INTEGER: noError(0)
UCD-SNMP-MIB::prErrorFlag.3 = INTEGER: noError(0)
UCD-SNMP-MIB::prErrorFlag.4 = INTEGER: noError(0)
UCD-SNMP-MIB::prErrorFlag.5 = INTEGER: noError(0)
UCD-SNMP-MIB::prErrorFlag.6 = INTEGER: noError(0)
UCD-SNMP-MIB::prErrMessage.1 = STRING:
UCD-SNMP-MIB::prErrMessage.2 = STRING:
UCD-SNMP-MIB::prErrMessage.3 = STRING:
UCD-SNMP-MIB::prErrMessage.4 = STRING:
UCD-SNMP-MIB::prErrMessage.5 = STRING:
UCD-SNMP-MIB::prErrMessage.6 = STRING:
UCD-SNMP-MIB::prErrFix.1 = INTEGER: noError(0)
UCD-SNMP-MIB::prErrFix.2 = INTEGER: noError(0)
UCD-SNMP-MIB::prErrFix.3 = INTEGER: noError(0)
UCD-SNMP-MIB::prErrFix.4 = INTEGER: noError(0)
UCD-SNMP-MIB::prErrFix.5 = INTEGER: noError(0)
UCD-SNMP-MIB::prErrFix.6 = INTEGER: noError(0)
UCD-SNMP-MIB::prErrFixCmd.1 = STRING:
UCD-SNMP-MIB::prErrFixCmd.2 = STRING:
UCD-SNMP-MIB::prErrFixCmd.3 = STRING:
UCD-SNMP-MIB::prErrFixCmd.4 = STRING:
UCD-SNMP-MIB::prErrFixCmd.5 = STRING:
UCD-SNMP-MIB::prErrFixCmd.6 = STRING:
If the processes aren't running, the prErrorFlag will be set and the prCount
for the process will be 0.
Jody
-
[sympa-users] nagios for Sympa,
Serge Aumont, 03/05/2010
-
Re: [sympa-users] nagios for Sympa,
Jody Lemoine, 03/05/2010
-
Re: [sympa-users] nagios for Sympa,
Serge Aumont, 03/05/2010
-
Re: [sympa-users] nagios for Sympa,
András Bendzsák, 03/07/2010
- Re: [sympa-users] nagios for Sympa, micah anderson, 03/09/2010
-
Re: [sympa-users] nagios for Sympa,
András Bendzsák, 03/07/2010
-
Re: [sympa-users] nagios for Sympa,
Serge Aumont, 03/05/2010
-
Re: [sympa-users] nagios for Sympa,
Jody Lemoine, 03/05/2010
Archive powered by MHonArc 2.6.19+.