Collection of standard plugins to discover and gather cloud-to-edge metrics and status across your whole IT infrastructure.
Go to file
qgarnier 5fd79cd307
fix(mongodb): collection-statistics mode - filter on collection only (#2787)
2021-05-11 16:56:53 +02:00
.github enh(issuetemplate)cosmetic, no scroll to reach/read the important part (#2288) 2020-10-27 11:29:26 +01:00
apps fix(centreon/local): metaservice mode - set default value for metric name (#2783) 2021-05-11 09:09:48 +02:00
blockchain happy new year (#2579) 2021-02-08 09:55:50 +01:00
centreon harden(core/options): use package Pod::Simple::Search than legacy Pod::Find (#2775) 2021-05-07 10:33:52 +02:00
cloud add(plugin): Azure Database for MySQL (#2771) 2021-05-06 14:24:00 +02:00
contrib doc(sec): deprecate cwrapper_perl (#2678) 2021-03-26 14:16:56 +01:00
database fix(mongodb): collection-statistics mode - filter on collection only (#2787) 2021-05-11 16:56:53 +02:00
doc Enhance exchange (#2488) 2021-01-07 18:22:31 +01:00
example happy new year (#2579) 2021-02-08 09:55:50 +01:00
hardware enh(printers/standard/snmp): add endian option for printers-errors + refactoring of cover-status mode (#2786) 2021-05-11 16:17:40 +02:00
network enh(paloalto/snmp): mode sessions - add filter for vsys name (#2782) 2021-05-11 08:46:51 +02:00
notification Secure plugins (#2691) 2021-04-01 09:48:14 +02:00
os enh(linux/local): add ssh check-plugin mode (#2763) 2021-05-04 11:13:25 +02:00
snmp_standard/mode enh(printers/standard/snmp): add endian option for printers-errors + refactoring of cover-status mode (#2786) 2021-05-11 16:17:40 +02:00
storage enh(equallogic/snmp): add storage extra informations (#2759) 2021-04-30 11:37:05 +02:00
Jenkinsfile limit build history to 50 items. 2020-04-21 09:20:09 +02:00
LICENSE.txt + License now Apache 2.0 2015-07-21 11:51:02 +02:00
README.md update readm 2020-07-29 13:20:30 +02:00
centreon_plugins.pl happy new year (#2579) 2021-02-08 09:55:50 +01:00
changelog enh(doc): update changelog 2021-05-06 11:30:18 +02:00
sonar-project.properties add SonarQube analysis to the Jenkinsfile (#1264) 2018-12-10 11:38:29 +01:00

README.md

centreon-plugins

License GitHub stars GitHub forks

“centreon-plugins” is a free and open source project to monitor systems. The project can be used with Centreon and all monitoring softwares compatible with Nagios plugins.

You can monitor many systems:

  • application: Apache, Asterisk, Elasticsearch, Github, Jenkins, Kafka, Nginx, Pfsense, Redis, Tomcat, Varnish,...
  • cloud: AWS, Azure, Docker, Office365, Nutanix, Prometheus,...
  • database: Firebird, Informix, MS SQL, MySQL, Oracle, Postgres, Cassandra
  • hardware: printers (rfc3805), UPS (Powerware, Mge, Standard), Sun Hardware, Cisco UCS, SensorIP, HP Proliant, HP Bladechassis, Dell Openmanage, Dell CMC, Raritan,...
  • network: Aruba, Brocade, Bluecoat, Brocade, Checkpoint, Cisco AP/IronPort/ASA/Standard, Extreme, Fortigate, H3C, Hirschmann, HP Procurve, F5 BIG-IP, Juniper, PaloAlto, Redback, Riverbed, Ruggedcom, Stonesoft,...
  • os: Linux (SNMP, NRPE), Freebsd (SNMP), AIX (SNMP), Solaris (SNMP)...
  • storage: EMC Clariion, Netapp, Nimble, HP MSA p2000, Dell EqualLogic, Qnap, Panzura, Synology...

Basic Usage

We'll use a basic example to show you how to monitor a system. I have finished the install section and i want to monitor a Linux in SNMP. First, i need to find the plugin to use in the list:

$ perl centreon_plugins.pl --list-plugin | grep -i linux | grep 'PLUGIN'
PLUGIN: os::linux::local::plugin
PLUGIN: os::linux::snmp::plugin

It seems that 'os::linux::snmp::plugin' is the good one. So i verify with the option --help to be sure:

$ perl centreon_plugins.pl --plugin=os::linux::snmp::plugin --help
...
Plugin Description:
  Check Linux operating systems in SNMP.

It's exactly what i need. Now i'll add the option --list-mode to know what can i do with it:

$ perl centreon_plugins.pl --plugin=os::linux::snmp::plugin --list-mode
...
Modes Available:
 processcount
 time
 list-storages
 disk-usage
 diskio
 uptime
 swap
 cpu-detailed
 load
 traffic
 cpu
 inodes
 list-diskspath
 list-interfaces
 packet-errors
 memory
 tcpcon
 storage

I would like to test the 'load' mode:

$ perl centreon_plugins.pl --plugin=os::linux::snmp::plugin --mode=load
UNKNOWN: Missing parameter --hostname.

It's not working because some options are missing. I can have a description of the mode and options with the option --help:

$ perl centreon_plugins.pl --plugin=os::linux::snmp::plugin --mode=load --help

Eventually, i have to configure some SNMP options:

$ perl centreon_plugins.pl --plugin=os::linux::snmp::plugin --mode=load --hostname=127.0.0.1 --snmp-version=2c --snmp-community=public
OK: Load average: 0.00, 0.00, 0.00 | 'load1'=0.00;;;0; 'load5'=0.00;;;0; 'load15'=0.00;;;0;

I can set threshold with options --warning and --critical:

$ perl centreon_plugins.pl --plugin=os::linux::snmp::plugin --mode=load --hostname=127.0.0.1 --snmp-version=2c --snmp-community=public --warning=1,2,3 --critical=2,3,4
OK: Load average: 0.00, 0.00, 0.00 | 'load1'=0.00;0:1;0:2;0; 'load5'=0.00;0:2;0:3;0; 'load15'=0.00;0:3;0:4;0;

For more information or help, please read 'doc/en/user/guide.rst'.