Skip to main content

Windows NRPE 0.5

Overview​

This Monitoring Connector allows to get metrics and statuses collected thanks to the NSClient++ monitoring agent and its embedded NRPE Server.

Templates​

The Centreon Monitoring Connector Windows NSClient 0.5 brings 1 host template:

  • OS-Windows-NSClient-05-NRPE-custom

It brings the following service templates:

Service AliasService TemplateService DescriptionDefaultDiscovery
Active-SessionsOS-Windows-NSClient05-Counter-Active-Sessions-NRPE-customCheck active sessions using NRPE protocol
Counter-GenericOS-Windows-NSClient05-Counter-Generic-NRPE-customCheck generic counter using NRPE protocol
CpuOS-Windows-NSClient05-Cpu-NRPE-customCheck Cpu usage using NRPE protocolX
DisksOS-Windows-NSClient05-Disks-NRPE-customCheck disks usage using NRPE protocolX
Eventlog-GenericOS-Windows-NSClient05-Eventlog-Generic-NRPE-customCheck event logs using NRPE protocol
Files-GenericOS-Windows-NSClient05-Files-Generic-NRPE-customCheck files (dates, size, etc...) using NRPE protocol
Logfiles-GenericOS-Windows-NSClient05-Logfiles-Generic-NRPE-customCheck log file using NRPE protocol
MemoryOS-Windows-NSClient05-Memory-NRPE-customCheck memory usage using NRPE protocolX
NtpOS-Windows-NSClient05-Ntp-NRPE-customCheck Ntp time synchronization using NRPE protocol
Pending-RebootOS-Windows-NSClient05-Pending-Reboot-NRPE-customCheck pending reboot using NRPE protocol
Process-genericOS-Windows-NSClient05-Process-Generic-NRPE-customCheck processes state using NRPE protocol
Remote-PingOS-Windows-NSClient05-Remote-Ping-NRPE-customCheck remote ping using NRPE protocol
Services-AutoOS-Windows-NSClient05-Services-Auto-NRPE-customCheck automatic started services state using NRPE protocolX
Services-Generic-NameOS-Windows-NSClient05-Services-Generic-Name-NRPE-customCheck services state using NRPE protocol
SessionsOS-Windows-NSClient05-Sessions-NRPE-customCheck sessions using NRPE protocol
SwapOS-Windows-NSClient05-Swap-NRPE-customCheck swap usage using NRPE protocolX
Task-GenericOS-Windows-NSClient05-Task-Generic-NRPE-customCheck scheduled tasks using NRPE protocol
UpdatesOS-Windows-Updates-NRPE-customCheck windows pending updates
UptimeOS-Windows-NSClient05-Uptime-NRPE-customCheck uptime using NRPE protocol

Discovery rules​

Rule NameDescription
OS-Winfows-NRPE-Disk-NameDiscover disk name.

More information about discovering services automatically is available on the dedicated page.

Collected metrics​

Metric nameUnit
Sessions_valueCount

Prerequisites​

Centreon NSClient++​

To monitor an Active Directory domain controller through NRPE, install the Centreon packaged version of the NSClient++ agent. Please follow our official documentation and make sure that the NRPE Server configuration is correct.

Installation​

  1. Install the Centreon NRPE Client package on every Poller expected to monitor Windows resources:
yum install centreon-nrpe3-plugin
  1. On the Centreon Web interface, install the Windows NRPE 0.5 Centreon Monitoring Connector on the Configuration > Monitoring Connector Manager page.

Host configuration​

  • Log into Centreon and add a new Host through Configuration > Hosts.
  • Fill the Name, Alias & IP Address/DNS fields according to your Windows server settings.
  • Select the OS-Windows-NSClient-05-NRPE-custom template to apply to the Host.
  • Once the template is applied, fill in the corresponding macros. If you're in 21.10 or higher version and you've just installed centreon-nrpe3-plugin, you will have to replace the default macro values by the bold ones:
MandatoryNameValueDescription
XNRPECLIENTcheck_centreon_nrpe3NRPE Plugin binary to use (Default: 'check_centreon_nrpe')
XNRPEPORT5666NRPE Port of the target server (Default: '5666')
XNRPETIMEOUT30Timeout value (Default: '30')
XNRPEEXTRAOPTIONS-u -2 -P 8192Extraoptions to use with the NRPE binary (default: '-u -m 8192')

Troubleshooting​

Please find the troubleshooting documentation for NRPE checks in the dedicated chapter of the Centreon documentation.