The Centreon Monitoring Agent (CMA) collects metrics and computes statuses on the servers it monitors, and sends them to Centreon. Centreon plugins as well as Nagios-compatible plugins can be used with this agent.
Step 1: Set up the environment
Case 1: Centreon IT-100
You need to upgrade your platform to the latest version (at least 24.04.6), including pollers.
Case 2: Centreon Business Edition (<24.04.6)
You need to set up a new platform and request a temporary licence from our team: use private message or email to fmattes@centreon.com and provide your platform fingerprint (on the Administration > Extensions > Manager page).
Case 3: Centreon Open Source
Create the following commands and templates manually.
Windows - Commands
Name | Command line |
OS-Windows-Centreon-Monitoring-Agent-Host-Alive | cmd.exe /C echo Centreon Agent |
OS-Windows-Centreon-Monitoring-Agent-Certificates | "$_HOSTCENTREONAGENTPLUGINS$/centreon_plugins.exe" --plugin os::windows::local::plugin --mode certificates --filter-subject="$_SERVICEFILTERSUBJECT$" --filter-thumbprint="$_SERVICEFILTERTHUMBPRINT$" --filter-path="$_SERVICEFILTERPATH$" --unit="$_SERVICETHRESHOLDSUNIT$" --warning-certificate-expires="$_SERVICEWARNINGCERTIFICATEEXPIRES$" --critical-certificate-expires="$_SERVICECRITICALCERTIFICATEEXPIRES$" --warning-certificates-detected="$_SERVICEWARNINGCERTIFICATESDETECTED$" --critical-certificates-detected="$_SERVICECRITICALCERTIFICATESDETECTED$" $_SERVICEEXTRAOPTIONS$ |
OS-Windows-Centreon-Monitoring-Agent-Ntp | "$_HOSTCENTREONAGENTPLUGINS$/centreon_plugins.exe" --plugin os::windows::local::plugin --mode time --warning="$_SERVICEWARNINGOFFSET$" --critical="$_SERVICECRITICALOFFSET$" --ntp-hostname="$_SERVICENTPHOSTNAME$" --ntp-port="$_SERVICENTPPORT$" --timeout="$_SERVICETIMEOUT$" $_SERVICEEXTRAOPTIONS$ |
OS-Windows-Centreon-Monitoring-Agent-Pending-Reboot | "$_HOSTCENTREONAGENTPLUGINS$/centreon_plugins.exe" --plugin os::windows::local::plugin --mode pending-reboot --warning-status="$_SERVICEWARNINGSTATUS$" --critical-status="$_SERVICECRITICALSTATUS$" --timeout="$_SERVICETIMEOUT$" $_SERVICEEXTRAOPTIONS$ |
OS-Windows-Centreon-Monitoring-Agent-Sessions | "$_HOSTCENTREONAGENTPLUGINS$/centreon_plugins.exe" --plugin os::windows::local::plugin --mode sessions --language="$_HOSTSYSTEMLANGUAGE$" --timeout="$_SERVICETIMEOUT$" --warning-sessions-created="$_SERVICEWARNINGSESSIONSCREATED$" --critical-sessions-created="$_SERVICECRITICALSESSIONSCREATED$" --warning-sessions-disconnected="$_SERVICEWARNINGSESSIONSDISCONNECTED$" --critical-sessions-disconnected="$_SERVICECRITICALSESSIONSDISCONNECTED$" --warning-sessions-reconnected="$_SERVICEWARNINGSESSIONSRECONNECTED$" --critical-sessions-reconnected="$_SERVICECRITICALSESSIONSRECONNECTED$" --warning-sessions-active="$_SERVICEWARNINGSESSIONSACTIVE$" --critical-sessions-active="$_SERVICECRITICALSESSIONSACTIVE$" --warning-sessions-disconnected-current="$_SERVICEWARNINGSESSIONSDISCONNECTEDCURRENT$" --critical-sessions-disconnected-current="$_SERVICECRITICALSESSIONSDISCONNECTEDCURRENT$" $_SERVICEEXTRAOPTIONS$ |
OS-Windows-Centreon-Monitoring-Agent-Updates | "$_HOSTCENTREONAGENTPLUGINS$/centreon_plugins.exe" --plugin os::windows::local::plugin --mode updates --timeout="$_SERVICETIMEOUT$" --warning-pending-updates="$_SERVICEWARNINGPENDINGUPDATES$" --critical-pending-updates="$_SERVICECRITICALPENDINGUPDATES$" $_SERVICEEXTRAOPTIONS$ |
Windows - Host Template
Name | Alias | Templates | Check Command |
---|---|---|---|
OS-Windows-Centreon-Monitoring-Agent | Windows server monitored using the Centreon Monitoring Agent | generic-passive-host-custom | OS-Windows-Centreon-Monitoring-Agent-Host-Alive |
Windows - Service Templates
Alias | Name | Template | Check command |
---|---|---|---|
Centreon-Monitoring-Agent | OS-Windows-Centreon-Monitoring-Agent | generic-passive-service-custom | - |
Certificates | OS-Windows-Certificates-Centreon-Monitoring-Agent | OS-Windows-Centreon-Monitoring-Agent | OS-Windows-Centreon-Monitoring-Agent-Certificates |
Ntp | OS-Windows-Ntp-Centreon-Monitoring-Agent | OS-Windows-Centreon-Monitoring-Agent | OS-Windows-Centreon-Monitoring-Agent-Ntp |
Pending-Reboot | OS-Windows-Pending-Reboot-Centreon-Monitoring-Agent | OS-Windows-Centreon-Monitoring-Agent | OS-Windows-Centreon-Monitoring-Agent-Pending-Reboot |
Sessions | OS-Windows-Sessions-Centreon-Monitoring-Agent | OS-Windows-Centreon-Monitoring-Agent | OS-Windows-Centreon-Monitoring-Agent-Sessions |
Updates | OS-Windows-Updates-Centreon-Monitoring-Agent | OS-Windows-Centreon-Monitoring-Agent | OS-Windows-Centreon-Monitoring-Agent-Updates |
Case 4: Centreon Cloud
You need to update/upgrade your poller.