PDA

View Full Version : Monitoring Microsoft Exchange


Wolfgang
06-12-2005, 13:50
Hello,

i found these Exchange related checks somewhere in the forum and thought they would fit into the cookbook:

With thanks to Cooper:

If you are interested in queue related stuff here are some of the perfmon items I monitor.

\smtp server\Local queue\_Total - This is the queue that is attempting to deliver to you exchange mailboxes (mail store)

\smtp server\Remote queue\_Total - This is the queue for messages that exchage is attempting to route to an external recipient (ie another server)

\smtp server\Categorizer queue\_Total - This is the queue where exchange holds messages while it does things, like look up addresses in AD, or DNS lookups.


With thanks to mucknet

Here are my zabbix_agentd.conf items I monitor for SMTP exchange:
PerfCounter = smtp_total_badmailed_messages_bad_pickup_file,"\SMTP Server(_Total)\Badmailed Messages (Bad Pickup File)",10
PerfCounter = smtp_total_badmailed_messages_general_failure,"\SMTP Server(_Total)\Badmailed Messages (General Failure)",10
PerfCounter = smtp_total_remote_queue_length,"\SMTP Server(_Total)\Remote Queue Length",10
PerfCounter = smtp_total_messages_sent_sec,"\SMTP Server(_Total)\Messages Sent/sec",10
PerfCounter = smtp_total_messages_sent_total,"\SMTP Server(_Total)\Messages Sent Total",10
PerfCounter = smtp_total_outbound_connections_current,"\SMTP Server(_Total)\Outbound Connections Current",10
PerfCounter = smtp_total_outbound_connections_refused,"\SMTP Server(_Total)\Outbound Connections Refused",10
PerfCounter = smtp_total_pickup_directory_messages_retrieved_tot al,"\SMTP Server(_Total)\Pickup Directory Messages Retrieved Total",10
PerfCounter = smtp_total_pickup_directory_messages_retrieved_sec ,"\SMTP Server(_Total)\Pickup Directory Messages Retrieved/sec",10

nick5000
26-06-2006, 17:27
This is just what I needed! Thanks!

jascha
15-01-2007, 22:03
I have added the above to my conf file but am unsure how to add each to the "Items" in the interface. could someone give me an example I can work off of?

Thanks!

JasperB
05-06-2009, 13:30
I am unable to get the exchange monitoring to work properly.

The exchange template has the ability to monitor the status of the service, which works fine.

But the perfcounter options from above show no : 0 and we are sending and receiving mails..

Can anybody assist with the correct item for messages sent/sec as an item ?

I should be able to do the rest from there.

swaterhouse
05-06-2009, 15:10
Are you using the template from the wiki or are you using the items in the agent.conf file like shown in the first post of this thread?

Either way the "\SMTP Server(_Total)\Messages Sent/sec" is the exact same as what you would get if you exported values from perfmon in windows. I am pretty sure its language dependant so if you os is installed with a language other than english you would need to translate for each item.

If language is not the issue then try those counters in perfmon on the local machine - if perfmon cant get numbers either then something is wrong with your server. If perfmon is reporting back data then show us a screenshot of your item in ZABBIX or copy each value so we can see what you have.