Collection of standard plugins to discover and gather cloud-to-edge metrics and status across your whole IT infrastructure.
Go to file
garnier-quentin 87673ae485 + Add somme apps in the readme 2015-06-22 18:12:16 +02:00
apps + enhance jmx jolokia custom mode (manage unset values) 2015-06-15 17:49:24 +02:00
centreon + Add plugin for Dell CMC (blade m1000e) 2015-06-22 11:42:56 +02:00
database + Factorize 'sql' and 'connection-time' mode for databases 2015-06-19 14:36:37 +02:00
docs + Update git url in documentation 2015-04-29 09:53:39 +02:00
example + Cleanup library not used in pm 2014-09-05 11:57:45 +02:00
hardware + Add plugin for Dell CMC (blade m1000e) 2015-06-22 11:42:56 +02:00
network + add a plugin for dell equallogic (Ref #22) 2015-06-22 17:40:39 +02:00
os + Fix free percent value in aix snmp swap mode 2015-06-05 09:16:53 +02:00
snmp_standard + Remove bgppeerstate mode in snmp_standard (is in protocol) 2015-06-19 17:03:25 +02:00
storage + add a plugin for dell equallogic (Ref #22) 2015-06-22 17:40:39 +02:00
.gitignore added tablespace size check for postgresql 2014-12-03 14:38:18 +01:00
README.md + Add somme apps in the readme 2015-06-22 18:12:16 +02:00
centreon_plugins.pl + Work on freebsd SNMP 2013-12-15 18:16:40 +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,...
  • database: Informix, MySQL, Postgres, Oracle, MS SQL
  • hardware: printers (rfc3805), UPS (Powerware, Mge, Standard), Sun Hardware, Cisco UCS, SensorIP, HP Proliant, HP Bladechassis, Dell Openmanage, Dell CMC,
  • 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, 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 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/