NRPE Exchange

NRPE Exchange Profile

This profile monitors Exchange Mail Server on a Windows server using Nagios Remote Plugin Executor (NRPE). NRPE is used by the Nagios server to communicate with the Windows server.

Services Configuration
  • Service - Definitions in Monarch are stored under this name.
  • Command - 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
    nrpe_exchange_mail_recvq check_nrpe_exchange_
    mailbox_receiveq!10!20
    $USER1$/check_nrpe -t 60 -H $HOSTADDRESS$ -c get_exchange_mbox_recvq -a "$HOSTADDRESS$" "$ARG1$" "$ARG2$" percent_graph
    nrpe_exchange_mail_sendq check_nrpe_exchange_
    mailbox_sendq!10!20
    $USER1$/check_nrpe -t 60 -H $HOSTADDRESS$ -c get_exchange_mbox_sendq -a "$HOSTADDRESS$" "$ARG1$" "$ARG2$" percent_graph
    nrpe_exchange_mta_workq check_nrpe_exchange_
    mta_workq!10!20
    $USER1$/check_nrpe -t 60 -H $HOSTADDRESS$ -c get_exchange_mta_workq -a "$HOSTADDRESS$" "$ARG1$" "$ARG2$" percent_graph
    nrpe_exchange_public_recvq check_nrpe_exchange_
    public_receiveq!10!20
    $USER1$/check_nrpe -t 60 -H $HOSTADDRESS$ -c get_exchange_pub_recvq -a "$HOSTADDRESS$" "$ARG1$" "$ARG2$" percent_graph
    nrpe_exchange_public_sendq check_nrpe_exchange_
    public_sendq!10!20
    $USER1$/check_nrpe -t 60 -H $HOSTADDRESS$ -c get_exchange_pub_sendq -a "$HOSTADDRESS$" "$ARG1$" "$ARG2$" percent_graph
    nrpe_service_AeLookupSvc check_nrpe_
    service!AeLookupSvc
    $USER1$/check_nrpe -H $HOSTADDRESS$ -t 60 -c get_service -a "$HOSTADDRESS$" "$ARG1$" percent_graph
    nrpe_service_IsmServ check_nrpe_
    service!IsmServ
    $USER1$/check_nrpe -H $HOSTADDRESS$ -t 60 -c get_service -a "$HOSTADDRESS$" "$ARG1$" percent_graph
    nrpe_service_MSExchangeES check_nrpe_
    service!MSExchangeES
    $USER1$/check_nrpe -H $HOSTADDRESS$ -t 60 -c get_service -a "$HOSTADDRESS$" "$ARG1$" percent_graph
    nrpe_service_MSExchangeIS check_nrpe_
    service!MSExchangeIS
    $USER1$/check_nrpe -H $HOSTADDRESS$ -t 60 -c get_service -a "$HOSTADDRESS$" "$ARG1$" percent_graph
    nrpe_service_MSExchangeMGMT check_nrpe_
    service!MSExchangeMGMT
    $USER1$/check_nrpe -H $HOSTADDRESS$ -t 60 -c get_service -a "$HOSTADDRESS$" "$ARG1$" percent_graph
    nrpe_service_MSExchangeMTA check_nrpe_
    service!MSExchangeMTA
    $USER1$/check_nrpe -H $HOSTADDRESS$ -t 60 -c get_service -a "$HOSTADDRESS$" "$ARG1$" percent_graph
    nrpe_service_MSExchangeSA check_nrpe_
    service!MSExchangeSA
    $USER1$/check_nrpe -H $HOSTADDRESS$ -t 60 -c get_service -a "$HOSTADDRESS$" "$ARG1$" percent_graph
    nrpe_service_MSExchangeSRS check_nrpe_
    service!MSExchangeSRS
    $USER1$/check_nrpe -H $HOSTADDRESS$ -t 60 -c get_service -a "$HOSTADDRESS$" "$ARG1$" percent_graph
    nrpe_service_MSSEARCH check_nrpe_
    service!MSSEARCH
    $USER1$/check_nrpe -H $HOSTADDRESS$ -t 60 -c get_service -a "$HOSTADDRESS$" "$ARG1$" percent_graph
    nrpe_service_RemoteRegistry check_nrpe_
    service!RemoteRegistry
    $USER1$/check_nrpe -H $HOSTADDRESS$ -t 60 -c get_service -a "$HOSTADDRESS$" "$ARG1$" percent_graph
    nrpe_service_SamSs check_nrpe_
    service!SamSs
    $USER1$/check_nrpe -H $HOSTADDRESS$ -t 60 -c get_service -a "$HOSTADDRESS$" "$ARG1$" percent_graph
Profile Package

This package includes the following files:

Profile Definitions

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

Plugins Scripts

  • check_nrpe

NRPE scripts (installed on the monitored Windows Server)

  • nrpe_nt.zip

Performance Graphing Programs

  • percent_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.

nrpe_exchange_mail_recvq

  • Uses check_nrpe plugin to connect to NRPE on $HOSTADDRESS$ and execute the get_exchange_mbox_recvq command as defined in the nrpe.cfg.
  • 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

nrpe_exchange_mail_sendq

  • Uses check_nrpe plugin to connect to NRPE on $HOSTADDRESS$ and execute the get_exchange_mbox_sendq command as defined in the nrpe.cfg.
  • 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

nrpe_exchange_mta_workq

  • Uses check_nrpe plugin to connect to NRPE on $HOSTADDRESS$ and execute the get_exchange_mta_workq command as defined in the nrpe.cfg.
  • 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

nrpe_exchange_public_recvq

  • Uses check_nrpe plugin to connect to NRPE on $HOSTADDRESS$ and execute the get_exchange_pub_recvq command as defined in the nrpe.cfg.
  • 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

nrpe_exchange_public_sendq

  • Uses check_nrpe plugin to connect to NRPE on $HOSTADDRESS$ and execute the get_exchange_pub_sendq command as defined in the nrpe.cfg.
  • 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

nrpe_service

  • Uses check_nrpe plugin to connect to NRPE on $HOSTADDRESS$ and execute the get_service command as defined in the nrpe.cfg.
  • $ARG1$ - Service Name (not Display Name!)
  • OK if service is running
  • CRITICAL is service is stopped.
  • UNKNOWN is service is not installed.
Performance Graphing Parameters

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

nrpe_exchange_mail_recvq

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

nrpe_exchange_mail_sendq

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

nrpe_exchange_mta_workq

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

nrpe_exchange_public_recvq

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

nrpe_exchange_public_sendq

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

The nrpe.cfg file on the Windows server maps commands issued by the GroundWork server to scripts in the c:\nrpe_nt directory. Commands issued by this profile are installed with this package. If new NRPE commands are added, this file must be modified. Go to the GroundWork Support Portal - GroundWork Connect at http://www.groundworkconnect.com and search for Installing GroundWork WMI NRPE.

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