This document describes the policy to develop, package and integrate new probes into the ARGO Monitoring Engine.


Please refer to the official Nagios documentation for probe development guidelines:

Probes can be developed in any of these languages:

  • Python,
  • Perl - in case of Perl use of module Nagios::Plugin is highly recommended,
  • C/C++,
  • shell scripting (Bash, Bourne).

ARGO Monitoring engine currently supports RHEL 6 and 7 and derivatives so probes should use language versions and libraries provided for these distributions.

List of existing probes can be found in POEM.

Some other conditions:

  • Each probe must provide the following arguments:

    -h help (--help) -t timeout (--timeout) * The following arguments can also be used if applicable:

    -H hostname (--hostname) -p port (--port) -u url (--url) -v verbose (--verbose) -w warning threshold (--warning) -c critical threshold (--critical) -u username (--username) -p password (--password) * Maximum output size for test/plugin output is 16KB. Above that limit the output will be truncated.

Actual Data

Actual data is additional information about service behaviour that can be used in combination with threshold mechanisms to generate new metrics. Probes can report actual data by following the Nagios guidelines for performance data.

Some other conditions: * This is the expected format of actual data:



Probes must be provided in the form of RPM packages, where a single package may contain multiple probes. Please refer to the official EPEL documentation for packaging:

Some considerations about naming:

  • Package should ensure a unique namespace by using tenant, project (e.g. eudat, argo) or product team (e.g. cream, htcondor) name.
  • Package name should use "nagios-plugins--xxx" form where 'xxx' is the name of the service probes are testing (e.g. nagios-plugins-argo-http-server). This makes the name consistent with other nagios plugins. For more generic probes (not project specific) name "nagios-plugins-xxx" is also acceptable (e.g. nagios-plugins-webdav).

Some considerations about structure:

  • Probes should be stored in directory:
    • /usr/libexec/argo-monitoring/probes/<probe_namespace> (For more generic probes (not project specific) directory used by EPEL nagios probes (/usr/lib64/nagios/plugins/) is also acceptable.)
  • If probes creates temporary files, package should create directory:
    • /var/lib/argo-monitoring/<probe_namespace> with ownership nagios:nagios and permissions 750.
  • If probes package contains configuration files, they should be stored in directory:
    • /etc/nagios/plugins/<probe_namespace>/

Some considerations about dependencies management:

  • Each probe is responsible for handling its dependencies.
  • The environment needed to execute each probe must be defined by the probe.

Integration, Testing and Deployment

Each <tenant|project|product team> develops and tests its own probes in their development environments. Pre-requirements for the integration and testing of probes are:

  • Each <tenant|project|product team> publishes probe(s) on an accessible:
    • Git repository with a valid RPM spec file;
    • Yum repository with RPM packages.
  • Each probe provides an accessible web page with the relevant documentation.

Integration of new probes starts with adding above information into POEM.


Testing consists of the following steps:

  • If the probe is provided in Git repository ARGO will clone it and attempt to build the package.
  • ARGO will deploy the RPM package, test and validate the new probe.


Deployment consists of the following steps:

  • ARGO in cooperation with the Service owner defines metric templates performed by the new probe in the POEM.
  • Service owner adds mappings between service flavours and metrics in the POEM.
  • ARGO in cooperation with the Service owner follows project’s procedures for deployment to production.