Collection of standard plugins to discover and gather cloud-to-edge metrics and status across your whole IT infrastructure.
Go to file
Colin Gagnaire 382489c288
enh hp storeonce cluster usage (#1237)
2018-11-23 15:49:25 +01:00
.github add issue comment 2017-06-14 11:06:52 +02:00
apps fix hyperv2012 local nodesnapshot negative timestamp (#1192) 2018-10-24 15:53:40 +02:00
centreon enh fortinet fortigate cluster status (#1238) 2018-11-22 10:10:40 +01:00
cloud enh prometheus cadvisor memory (#1240) 2018-11-23 15:47:27 +01:00
contrib fix exit status 2017-08-11 16:44:20 +02:00
database enhance template counter (#1167) 2018-10-05 18:17:09 +02:00
docs Correcting mode formerly named 'traffic' to 'interfaces' (#895) 2018-04-17 15:53:17 +02:00
example New Year ! 2018-01-29 14:11:11 +01:00
hardware fix huawei ibmc typo 2018-11-22 10:15:49 +01:00
network fix cisco callmanager phone name oid, add description (#1231) 2018-11-20 14:07:04 +01:00
notification update slack alert mode (#1177) 2018-10-19 15:53:15 +02:00
os enh windows pending reboot output (#1222) 2018-11-14 16:42:33 +01:00
snmp_standard/mode enh snmp_standard diskusage mode (#1233) 2018-11-21 10:48:19 +01:00
storage enh hp storeonce cluster usage (#1237) 2018-11-23 15:49:25 +01:00
Jenkinsfile indicate that packaging is not CentOS7-only in Jenkinsfile 2018-11-07 13:55:01 +01:00
LICENSE.txt + License now Apache 2.0 2015-07-21 11:51:02 +02:00
README.md + minor update doc 2016-09-02 16:13:19 +02:00
centreon_plugins.pl New Year ! 2018-01-29 14:11:11 +01:00
changelog prepare new release (#1208) 2018-10-31 16:50:44 +01:00

README.md

centreon-plugins

“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, Nginx, Pfsense, Tomcat, Varnish,...
  • cloud: Docker
  • database: Firebird, Informix, MS SQL, MySQL, Oracle, Postgres
  • 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 'docs/user/guide.rst' or go to http://documentation.centreon.com/docs/centreon-plugins/en/latest/