Re: [Exim] Slightly Off-Topic: Exim Monitor Software

Página Inicial
Delete this message
Reply to this message
Autor: Lee Maguire
Data:  
Para: Exim Users
Assunto: Re: [Exim] Slightly Off-Topic: Exim Monitor Software
[sort of related] A few months ago I was working on an SNMP monitoring
tools for exim. The design consisted of two parts, a perl script that
tailed the exim mainlog writing out the stats to a file, and a
perlscript that was called by net-snmp to present the results when the
snmp numbers were queried.

I don't know how useful it really is, but you can produce some nice
graphs with cricket, et al.

I haven't worked on this in a while, but if anybody's interested then
mail me.

The output is as below (real, but with modified domains)

$ MIBS=MTA-MIB snmpwalk mailserver SECRET mib-2.mta
mta.mtaTable.mtaEntry.mtaReceivedMessages = Counter32: 509281
mta.mtaTable.mtaEntry.mtaStoredMessages = Gauge32: 1
mta.mtaTable.mtaEntry.mtaTransmittedMessages = Counter32: 173018
mta.mtaTable.mtaEntry.mtaReceivedVolume = Counter32: 10729580 K-octets
mta.mtaTable.mtaEntry.mtaStoredVolume = Gauge32: 1 K-octets
mta.mtaTable.mtaEntry.mtaTransmittedVolume = Counter32: 2553990 K-octets
mta.mtaTable.mtaEntry.mtaReceivedRecipients = Counter32: 642589
mta.mtaTable.mtaEntry.mtaStoredRecipients = Gauge32: 0
mta.mtaTable.mtaEntry.mtaTransmittedRecipients = Counter32: 213081
mta.mtaGroupTable.mtaGroupEntry.mtaGroupReceivedMessages = Counter32: 509282
mta.mtaGroupTable.mtaGroupEntry.mtaGroupRejectedMessages = Counter32: 10845
mta.mtaGroupTable.mtaGroupEntry.mtaGroupStoredMessages = Gauge32: 1
mta.mtaGroupTable.mtaGroupEntry.mtaGroupTransmittedMessages = Counter32: 173018
mta.mtaGroupTable.mtaGroupEntry.mtaGroupReceivedVolume = Counter32: 10729584 K-octets
mta.mtaGroupTable.mtaGroupEntry.mtaGroupStoredVolume = Gauge32: 1 K-octets
mta.mtaGroupTable.mtaGroupEntry.mtaGroupTransmittedVolume = Counter32: 2553990 K-octets
mta.mtaGroupTable.mtaGroupEntry.mtaGroupReceivedRecipients = Counter32: 642590
mta.mtaGroupTable.mtaGroupEntry.mtaGroupStoredRecipients = Gauge32: 0
mta.mtaGroupTable.mtaGroupEntry.mtaGroupTransmittedRecipients = Counter32: 213081
mta.mtaGroupTable.mtaGroupEntry.mtaGroupOldestMessageStored = -345800
mta.mtaGroupTable.mtaGroupEntry.mtaGroupAccumulatedInboundAssociations = Counter32: 509282
mta.mtaGroupTable.mtaGroupEntry.mtaGroupAccumulatedOutboundAssociations = Counter32: 203668
mta.mtaGroupTable.mtaGroupEntry.mtaGroupLastInboundActivity = -359800
mta.mtaGroupTable.mtaGroupEntry.mtaGroupLastOutboundActivity = -358700
mta.mtaGroupTable.mtaGroupEntry.mtaGroupRejectedInboundAssociations = Counter32: 12211
mta.mtaGroupTable.mtaGroupEntry.mtaGroupFailedOutboundAssociations = Counter32: 17331
mta.mtaGroupTable.mtaGroupEntry.mtaGroupInboundRejectionReason = verify failed for SMTP recipient thomas@???
mta.mtaGroupTable.mtaGroupEntry.mtaGroupOutboundConnectFailureReason = SMTP command timeout
mta.mtaGroupTable.mtaGroupEntry.mtaGroupMailProtocol = OID: application.applTCPProtoID.25
mta.mtaGroupTable.mtaGroupEntry.mtaGroupName = mailserver.example.com
mta.mtaGroupTable.mtaGroupEntry.mtaGroupDescription = exim
mta.mtaGroupTable.mtaGroupEntry.mtaGroupURL = http://www.exim.org/
mta.mtaGroupTable.mtaGroupEntry.mtaGroupCreationTime = 1327998000
mta.mtaGroupTable.mtaGroupEntry.mtaGroupHierarchy = 0
mta.mtaGroupTable.mtaGroupEntry.mtaGroupOldestMessageId = <20020408102212.WGPA22946@???>