NSClient Exchange

NSClient Exchange Profile

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

Services Configuration
  • Service - Definitions in Monarch are stored under this name.
  • Command LIne - Service command name with arguments to be passed to the plugin.
  • Plugin Command Line - Plugin script called by Nagios for this Service.
  • Extended Info - The Extended Service Info definition, typically used for generating graphs.
    Command lines displayed below are intended to be single line commands.
    Service Command Line Plugin Command Line Extended Info
    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$"
    number_graph
    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$"
    number_graph
    nsclient_exchange_mta_workq check_nt_counter_exchange_
    mtawq!10!20
    $USER1$/check_nt -H $HOSTADDRESS$ -p $USER19$ -s $USER4$ -v COUNTER -l "
    MSExchangeMTA
    Work Queue Length","Work Queue Length is %.f " -w "$ARG1$" -c "$ARG2$"
    number_graph
    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$"
    number_graph
    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$"
    number_graph
    tcp_nsclient check_nt $USER1$/check_nt -p $USER19$ -s $USER4$ -H $HOSTADDRESS$ -v CLIENTVERSION number_graph
Profile Package

This package includes the following files:

Profile Definitions

  • service-profile-nsclient-exchange.xml
  • perfconfig-nsclient-exchange.xml

Plugins Scripts

  • check_nt

NSClient (installed on the monitored Windows Server)

  • nsclient.zip

Performance Graphing Programs

  • number_graph.cgi
Installation

GroundWork Monitor includes many monitoring profiles for a variety of devices, systems and applications. Profiles already imported on a new GroundWork installation include Service Ping, SNMP Network, and SSH UNIX. The GroundWork Monitor Configuration tool is used to import updated Profiles and Profiles that require additional setup; the Profile XML file and its companion Performance Configuration definition file. Services can also be imported in addition to Service Profiles in the Profile Importer. The import process is documented under GROUNDWORK PROFILES > How to import profiles.

Implementation

This section contains detail settings used by this Profile. These parameters can be altered with the Configuration tool.

Command Parameters

Command parameters are in the Configuration Services section with the following names and default values.

nsclient_exchange_mail_recvq

  • Uses check_nt plugin to connect to NSClient on $HOSTADDRESS$ and execute the COUNTER command.
  • Default warning threshold for number of messages in the queue are 10
  • $ARG1$ - Warning number
  • Default critical threshold for number of messages in the queue are 20
  • $ARG2$ - Critical number

nsclient_exchange_mail_sendq

  • Uses check_nt plugin to connect to NSClient on $HOSTADDRESS$ and execute the COUNTER command.
  • Default warning threshold for number of messages in the queue are 10
  • $ARG1$ - Warning number
  • Default critical threshold for number of messages in the queue are 20
  • $ARG2$ - Critical number

nsclient_exchange_mta_workq

  • Uses check_nt plugin to connect to NSClient on $HOSTADDRESS$ and execute the COUNTER command.
  • Default warning threshold for number of messages in the queue are 10
  • $ARG1$ - Warning number
  • Default critical threshold for number of messages in the queue are 20
  • $ARG2$ - Critical number

nsclient_exchange_public_recvq

  • Uses check_nt plugin to connect to NSClient on $HOSTADDRESS$ and execute the COUNTER command.
  • Default warning threshold for number of messages in the queue are 10
  • $ARG1$ - Warning number
  • Default critical threshold for number of messages in the queue are 20
  • $ARG2$ - Critical number

nsclient_exchange_public_sendq

  • Uses check_nt plugin to connect to NSClient on $HOSTADDRESS$ and execute the COUNTER command.
  • Default warning threshold for number of messages in the queue are 10
  • $ARG1$ - Warning number
  • Default critical threshold for number of messages in the queue are 20
  • $ARG2$ - Critical number

tcp_nsclient

  • Uses check_nt plugin to connect to NSClient on $HOSTADDRESS$ and retrieve the version number.
  • No arguments.
Performance Graphing Parameters

The following parameters are used to generate performance charts. These parameters are set using the Configuration>Performance tool in GroundWork Monitor.

nsclient_exchange_mail_recvq

  • Graphs the size of the receive queue.
  • Nagios service description must contain the string "exchange_mail_recvq".

nsclient_exchange_mail_sendq

  • Graphs the size of the send queue.
  • Nagios service description must contain the string "exchange_mail_sendq".

nsclient_exchange_mta_workq

  • Graphs the size of the work queue.
  • Nagios service description must contain the string "exchange_mta_workq".

nsclient_exchange_public_recvq

  • Graphs the size of the receive queue.
  • Nagios service description must contain the string "exchange_public_recvq".

nsclient_exchange_public_sendq

  • Graphs the size of the send queue.
  • Nagios service description must contain the string "exchange_public_sendq".
Implementation Notes

None.

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.