Check_nt & Microsoft Exchange 6.5

Phil Costelloe philc at foundation-it.com
Tue Feb 20 17:02:38 CET 2007


--------------------------------------------------------

Phil Costelloe
Technical Consultant

   
philc at foundation-it.com
http://www.foundation-it.com
Foundation IT
Foundation Court
Old Street
Oare
Hermitage Berkshire RG18 9SE
Switch: +44 (0) 1635 203700
Helpdesk: +44 (0) 800 0121099
DDI: +44 (0) 1635 203719
Fax: +44 (0) 8700 543537
Mobile: +44 (0) 7884 236299

 


 

   Visit us on stand: 734
http://www.businesscontinuityexpo.co.uk/foundation_it 

 


--------------------------------------------------------
 This message contains confidential information and is intended only for nagios-users at lists.sourceforge.net. If you are not nagios-users at lists.sourceforge.net you should not disseminate, distribute or copy this e-mail. Please notify Foundation IT immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Foundation IT therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version.
--------------------------------------------------------















































-----Original Message-----

From: nagios-users-bounces at lists.sourceforge.net
[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Mark
Duffy

> Has anyone any experience of checking mail queues with check NT
> and Microsoft Exchange 2003 (v6.5), I have managed to use some
> of the checks from nagios-exchange that were designed for exchange
> v5.5 but I am not sure how to check other queues e.g. "Local
> delivery" "Messages waiting to be routed" if anyone knows how to
> do this or how to find out the queue names in exchange that would
> be great.

You can download a Word document from the Microsoft site on
troubleshooting Exchange 2003 performance issues that includes
Suggested queue counters to monitor -
http://www.microsoft.com/downloads/details.aspx?familyid=8679F6BD-7FF0-4
1F5-BDD0-C09019409FC0&displaylang=en.

Based on that document, I've set up the following commands. I'm not
really sure how well they're working (they always return 0 on the
quiet Exchange box I'm using them on so far) so I'd be interested
to hear how you get on.

Phil

####################
# MS Exchange checks
####################

define command{
command_name    check_nt_msexc_smtp_loq
command_line    $USER1$/check_nt -H $HOSTADDRESS$ -p $ARG1$ -v COUNTER
-l "\\SMTP Server(_Total)\\Local Queue Length","SMTP Local queue length
%.0f" -w $ARG2$ -c $ARG3$ -s $ARG4$
}

define command{
command_name    check_nt_msexc_smtp_req
command_line    $USER1$/check_nt -H $HOSTADDRESS$ -p $ARG1$ -v COUNTER
-l "\\SMTP Server(_Total)\\Remote Queue Length","SMTP Remote queue
length %.0f" -w $ARG2$ -c $ARG3$ -s $ARG4$
}

define command{
command_name    check_nt_msexc_smtp_caq
command_line    $USER1$/check_nt -H $HOSTADDRESS$ -p $ARG1$ -v COUNTER
-l "\\SMTP Server(_Total)\\Categorizer Queue Length","SMTP Categorizer
queue length %.0f" -w $ARG2$ -c $ARG3$ -s $ARG4$
}

define command{
command_name    check_nt_msexc_ismail_sendq
command_line    $USER1$/check_nt -H $HOSTADDRESS$ -p $ARG1$ -v COUNTER
-l "\\MSExchangeIS Mailbox(_Total)\\Send Queue Size","IS Mailbox send
queue size %.0f" -w $ARG2$ -c $ARG3$ -s $ARG4$
}

define command{
command_name    check_nt_msexc_ismail_recq
command_line    $USER1$/check_nt -H $HOSTADDRESS$ -p $ARG1$ -v COUNTER
-l "\\MSExchangeIS Mailbox(_Total)\\Receive Queue Size","IS Mailbox
receive queue size %.0f" -w $ARG2$ -c $ARG3$ -s $ARG4$
}

define command{
command_name    check_nt_msexc_ispub_sendq
command_line    $USER1$/check_nt -H $HOSTADDRESS$ -p $ARG1$ -v COUNTER
-l "\\MSExchangeIS Public(_Total)\\Send Queue Size","IS Public send
queue size %.0f" -w $ARG2$ -c $ARG3$ -s $ARG4$

define command{
command_name    check_nt_msexc_ispub_recq
command_line    $USER1$/check_nt -H $HOSTADDRESS$ -p $ARG1$ -v COUNTER
-l "\\MSExchangeIS Public(_Total)\\Receive Queue Size","IS Public
receive queue size %.0f" -w $ARG2$ -c $ARG3$ -s $ARG4$
}

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list