• Stars
    star
    310
  • Rank 134,926 (Top 3 %)
  • Language
    Perl
  • License
    Apache License 2.0
  • Created about 10 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Collection of standard plugins to discover and gather cloud-to-edge metrics and status across your whole IT infrastructure.

centreon-plugins

License

Contributors Stars Forks Issues

“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'.

Continuous integration

Please follow documentation here

More Repositories

1

centreon-archived

Centreon is a network, system and application monitoring tool. Centreon is the only AIOps Platform Providing Holistic Visibility to Complex IT Workflows from Cloud to Edge.
PHP
577
star
2

centreon

Centreon is a network, system and application monitoring tool. Centreon is the only AIOps Platform Providing Holistic Visibility to Complex IT Workflows from Cloud to Edge.
PHP
84
star
3

centreon-engine

Extremely fast monitoring scheduler, forked from Nagios
C++
42
star
4

centreon-broker

A full-featured monitoring event broker, compatible with MySQL, RRDtool, Graphite and more
C++
37
star
5

centreon-vmware

Centreon VMWare connector to check ESX server, VCenter and VMWare guest resources
Perl
28
star
6

centreon-documentation

Centreon documentation
MDX
19
star
7

centreon-nsclient-build

Source use to build the centreon NSClient agent
NSIS
19
star
8

centreon-stream-connector-scripts

Scripts for Centreon Stream Connector
Lua
15
star
9

centreon-clapi

Centreon CLAPI Module
PHP
14
star
10

centreon-nagvis

A module to integrate Nagvis into Centreon in order to have simple graphical views
PHP
10
star
11

centreon-open-tickets

Module dedicated to open case on various Ticket systems from Centreon UI
PHP
10
star
12

centreon-collect

Centreon collect software collection
C++
10
star
13

nagiosToCentreon

Import your nagios config files into Centreon DB... And it rocks !
Perl
9
star
14

centreon-test-lib

Library for implement Behat acceptance test and PHPUnit unittest
PHP
7
star
15

centreon-gorgone

Daemon tasks handler
Perl
6
star
16

centreon-sdk-python

SDK Python for Centreon WebService
Python
6
star
17

centreon-clib

C++
5
star
18

centreon-dsm

Dynamic Service Monitoring
PHP
4
star
19

pywarp10

Makes it easy to work with warp10 database
Python
4
star
20

centreon-widget-service-monitoring

PHP
4
star
21

centreon-injector

Inject centreon objects directly in database
PHP
4
star
22

centreon-widget-graph-monitoring

PHP
3
star
23

centreon-dummy

A dummy module in order to explain how to create your own module
PHP
3
star
24

centreon-grafana-datasource

TypeScript
3
star
25

centreon-widget-global-health

PHP
3
star
26

centreon-poller-display

A UI for your poller based on centreon web
PHP
2
star
27

centreon-translations

Translations kit for Centreon - Please contribute to translate.centreon.com
2
star
28

centreon-iac-ansible

Ansible receipe for Centreon
TSQL
2
star
29

centreon-as400

Java
2
star
30

centreon-awie

Centreon Web module to import/export configuration
PHP
2
star
31

centreon-ha

Shell
1
star
32

centreon-widget-single-metric

PHP
1
star
33

centreon-iac-puppet-configurator

Puppet module for deploy Centreon and add host/service to Centreon
Python
1
star
34

centreon-engine-profiling

Profiling module for Centreon Engine
C++
1
star
35

centreon-agent-configuration

Module to configure Centreon-Agent
PHP
1
star