Skip to main content

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.

 


Step 2: Follow the procedure

 

https://docs.centreon.com/pp/integrations/plugin-packs/getting-started/how-to-guides/cma/

Hello, I've read the manuals, but I can't find the download link for the agent for Linux hosts. Where can I find it? Thanks, best regards


Hello, I've read the manuals, but I can't find the download link for the agent for Linux hosts. Where can I find it? Thanks, best regards

Hi, thanks for your interest in CMA Beta. 

There is no download link for CMA Linux, you just have to deploy the centreon-monitoring-agent package (see https://docs.centreon.com/pp/integrations/plugin-packs/getting-started/how-to-guides/cma/#download-and-install-the-agent).

ie for Alma9 : 

dnf install centreon-monitoring-agent

 

Let me know if you encounter any issue


Hello, thank you for the information.

I have already installed it on Debian 12. What would be the repository for Ubuntu 22.04?

 

Best regards


Hello,

ubuntu 22.04 centreon-monitoring-agent is available here: https://packages.centreon.com/ui/repos/tree/General/ubuntu-standard-24.10-unstable/pool/collect/centreon-monitoring-agent_24.10.0-1729761685.c5f0079-0ubuntu.22.04_amd64.deb

Regards


hello

this is not the replacement of nsclient, it does not check the ram, cpu, disks, swap, services ...

is it planned to add this ?

Regards

Jean-Francois


 

hello

this is not the replacement of nsclient, it does not check the ram, cpu, disks, swap, services ...

is it planned to add this ?

Regards

Jean-Francois

Hi, thanks for your interest in Centreon.

Windows native checks are planned and under development.

They will be included during the beta phasis.

The following scope will be handled as first priority : CPU, Memory, Disk Uptime, Services, Counter, Swap

 

We will keep you informed in The Watch of this availability.


Reply