Page 1 of 1

Exchange 2010 Remote Queue Length Always 0

Posted: Thu Mar 20, 2014 8:40 am
by heritages
Hello,

I used the Monitoring Wizard to setup Exchange 2010 monitoring. After doing so I noticed that the Remote Queue Length service always reports the queue at 0 even though I see that there are messages in the queue when the service is run. Also noticed that there isn't a graph of results and therefore i'm unable to identify if it ever reports anything but 0.

How can I ensure that this is working? Our environment has 225 active mailboxes and there should be times when the queue is more than 0.

Same applies to the Messages Pending Routing monitor. It is also always 0 with no graph.

Remote Queue Length Config

Code: Select all

###############################################################################
#
# Service configuration file
#
# Created by: Nagios QL Version 3.0.3
# Date:	      2014-03-20 09:38:50
# Version:    Nagios 3.x config file
#
# --- DO NOT EDIT THIS FILE BY HAND --- 
# Nagios QL will overwite all manual settings during the next update
#
###############################################################################

define service {
	host_name			Mis1MsMf01,Mis1MsMf02
	service_description		SVC - Exchange Remote Queue Length
	use				xiwizard_windowsserver_nsclient_service
	check_command			check_xi_service_nsclient!S3rv3rk3y!COUNTER!-l "\\SMTP Server(_Total)\\Remote Queue Length" -w 25 -c 50!!!!!
	max_check_attempts		5
	check_interval			5
	retry_interval			1
	check_period			xi_timeperiod_24x7
	notification_interval		60
	notification_period		xi_timeperiod_24x7
	contact_groups			IT Infrastructure 24-7 Email
	_xiwizard			exchange
	register			1
	}	

###############################################################################
#
# Service configuration file
#
# END OF FILE
#
###############################################################################
Messages Pending Routing Config

Code: Select all

###############################################################################
#
# Service configuration file
#
# Created by: Nagios QL Version 3.0.3
# Date:	      2014-03-20 09:37:55
# Version:    Nagios 3.x config file
#
# --- DO NOT EDIT THIS FILE BY HAND --- 
# Nagios QL will overwite all manual settings during the next update
#
###############################################################################

define service {
	host_name			Mis1MsMc01,Mis1MsMc02,Mis1MsMf01,Mis1MsMf02
	service_description		SVC - Exchange Messages Pending Routing
	use				xiwizard_windowsserver_nsclient_service
	check_command			check_xi_service_nsclient!S3rv3rk3y!COUNTER!-l "\\SMTP Server(_Total)\\Messages Pending Routing" -w 25 -c 100!!!!!
	max_check_attempts		5
	check_interval			5
	retry_interval			1
	check_period			xi_timeperiod_24x7
	notification_interval		60
	notification_period		xi_timeperiod_24x7
	contact_groups			IT Infrastructure 24-7 Email
	_xiwizard			exchange
	register			1
	}	

###############################################################################
#
# Service configuration file
#
# END OF FILE
#
###############################################################################

Re: Exchange 2010 Remote Queue Length Always 0

Posted: Thu Mar 20, 2014 9:43 am
by slansing
Has it ever raised above '0'? It is entirely possible, based on the traffic over your exchange server, that nagios is simply checking between when the queue spikes up, and drops. I would recommend waiting for the queue to grow, and then manually running a check either from the command line, or via "Schedule Immediate Check" from the service's detail's page. Let us know if you need assistance with this, and what your findings are.

Re: Exchange 2010 Remote Queue Length Always 0

Posted: Fri Mar 21, 2014 12:26 pm
by heritages
I've already done that and even though I see the queue at say 7 the immediate change results at 0. That's why I have the impression that something isn't right.

Re: Exchange 2010 Remote Queue Length Always 0

Posted: Fri Mar 21, 2014 12:31 pm
by WillemDH
And what if you try with nrpe instead of check_nt?
See https://www.nsclient.org/nscp/wiki/Chec ... eckCounter for documentation.

I'm using nrpe to monitor all kinds of Exchange 2010 related counters. Seems to work fine. You could temporarily run them together and compare.

Willem

Re: Exchange 2010 Remote Queue Length Always 0

Posted: Fri Mar 21, 2014 1:07 pm
by sreinhardt
I would agree with Willem here, it's entirely possible that the baked in perf counter functions are not properly handling the path to exchange counters. In addition to nrpe, I will have a powershell script specifically for NCPA and NSclient relating to performance counters within the next few days that I can share and you can give a try if you like.

Re: Exchange 2010 Remote Queue Length Always 0

Posted: Fri Mar 21, 2014 1:16 pm
by heritages
i'm taking a look now at trying to get the nrpe counters working.

I"ll definitely take a look at the powershell script when you have it too.

Thanks

Re: Exchange 2010 Remote Queue Length Always 0

Posted: Fri Mar 21, 2014 1:18 pm
by WillemDH
Also looking forward to have a look at your Powershell script...

Re: Exchange 2010 Remote Queue Length Always 0

Posted: Fri Mar 21, 2014 1:35 pm
by tmcdonald
heritages, let us know how NRPE works out.

I've made a reminder to poke sreinhardt about the script every few days and will get back to you when he has it :D