Windows Exchange Mail Server (via NSClient)

Description

Monitors Exchange Mail Server on a Windows server using NSClient. NSClient is used by the Nagios server to communicate with the Windows server.

Profile Package

This package includes the following files:

  • Profile definition: service-profile-nsclient-exchange.xml

  • Plugin script: check_nt

  • NRPE script (installed on the monitored Windows server): nsclient.zip

Installation

GroundWork Monitor includes many monitoring profiles for a variety of devices, systems and applications. Some profiles are pre-imported on a new GroundWork installation and others are distributed with the product. The configuration tool is used to import updated profiles and profiles that require additional setup, services can also be imported, see Importing Profiles.

Services Configuration

For plugin details you can run the service help command from within the nagios container. For example: Get to the nagios container from the gw8 directory: docker-compose exec -u 1000 nagios bash, then to the libexec directory: cd /usr/local/nagios/libexec, and enter a service help command e.g., ./check_snmp --help to receive help content.

Service/Command Line/Plugin CommandCommand Parameters

This column lists the Service Definition name, Service Command name with arguments to be passed to the plugin, and the Plugin Command line which is the plugin script called by Nagios for the service.

Command parameters are in the configuration services section with the following names and default values.

  • nsclient_exchange_mail_recvq

  • check_nt_counter_exchange_mailrq!10!20

  • $USER1$/check_nt -H $HOSTADDRESS$ -p $USER19$ -s $USER4$ -v COUNTER -l "MSExchangeIS Mailbox(_Total)Receive Queue Size","Receive Queue Size is %.f " -w "$ARG1$" -c "$ARG2$"

Uses check_nt plugin to connect to NSClient on $HOSTADDRESS$ and execute the COUNTER command.

  • $ARG1$: Warning number, default warning threshold for number of messages in the queue are 10

  • $ARG2$: Critical number, default critical threshold for number of messages in the queue are 20

  • nsclient_exchange_mail_sendq

  • check_nt_counter_exchange_mailsq!10!20

  • $USER1$/check_nt -H $HOSTADDRESS$ -p $USER19$ -s $USER4$ -v COUNTER -l "MSExchangeIS Mailbox(_Total)Send Queue Size","Send Queue Size is %.f " -w "$ARG1$" -c "$ARG2$"

Uses check_nt plugin to connect to NSClient on $HOSTADDRESS$ and execute the COUNTER command.

  • $ARG1$: Warning number, default warning threshold for number of messages in the queue are 10

  • $ARG2$: Critical number, default critical threshold for number of messages in the queue are 20

  • nsclient_exchange_mta_workq

  • check_nt_counter_exchange_mtawq!10!20

  • $USER1$/check_nt -H $HOSTADDRESS$ -p $USER19$ -s $USER4$ -v COUNTER -l "MSExchangeMTAWork Queue Length","Work Queue Length is %.f " -w "$ARG1$" -c "$ARG2$"

Uses check_nt plugin to connect to NSClient on $HOSTADDRESS$ and execute the COUNTER command.

  • $ARG1$: Warning number, default warning threshold for number of messages in the queue are 10

  • $ARG2$: Critical number, default critical threshold for number of messages in the queue are 20

  • nsclient_exchange_public_recvq

  • check_nt_counter_exchange_publicrq!10!20

  • $USER1$/check_nt -H $HOSTADDRESS$ -p $USER19$ -s $USER4$ -v COUNTER -l "MSExchangeIS Public(_Total)Receive Queue Size","Receive Queue Size is %.f " -w "$ARG1$" -c "$ARG2$"

Uses check_nt plugin to connect to NSClient on $HOSTADDRESS$ and execute the COUNTER command.

  • $ARG1$: Warning number, default warning threshold for number of messages in the queue are 10

  • $ARG2$: Critical number, default critical threshold for number of messages in the queue are 20

  • nsclient_exchange_public_sendq

  • check_nt_counter_exchange_publicsq!10!20

  • $USER1$/check_nt -H $HOSTADDRESS$ -p $USER19$ -s $USER4$ -v COUNTER -l "MSExchangeIS Public(_Total)Send Queue Size","Send Queue Size is %.f " -w "$ARG1$" -c "$ARG2$"

Uses check_nt plugin to connect to NSClient on $HOSTADDRESS$ and execute the COUNTER command.

  • $ARG1$: Warning number, default warning threshold for number of messages in the queue are 10

  • $ARG2$: Critical number, default critical threshold for number of messages in the queue are 20

  • tcp_nsclient

  • check_nt

  • $USER1$/check_nt -p $USER19$ -s $USER4$ -H $HOSTADDRESS$ -v CLIENTVERSION

Uses check_nt plugin to connect to NSClient on $HOSTADDRESS$ and retrieve the version number.

  • No arguments

Related Resources