nrpe smtp
Windows SMTP Server (via NRPE)
Description
Monitors a SMTP server running on a Windows server using Nagios Remote Plugin Executor (NRPE). NRPE is used by the Nagios server to communicate with the Windows server. 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.
Profile Package
This package includes the following files:
Profile definition: service-profile-nrpe-smtp.xml
Plugin script: check_nrpe, check_smtp
NRPE script (installed on the monitored Windows server): nrpe_nt.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 Command | Command 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. |
| Uses check_smtp plugin to connect to port 25 of $HOSTADDRESS$, sends "HELO servername" and searches for '250 .*' in the beginning of the SMTP server output.
|
| Uses check_nrpe plugin to connect to NRPE on $HOSTADDRESS$ and execute the get_service command as defined in the nrpe.cfg.
|
Related Resources
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page: