Giter Club home page Giter Club logo

monitoring-plugins's Introduction

Monitoring-plugins

This is a selection of plugins for both Nagios and Icinga.
Packages are built in a CI fashion using Jenkins and can be found on our repo.

A script to build packages yourself is included as well.

Requirements

  • FPM
  • Ruby (for FPM)
  • rpmbuild

Usage

RHEL/CentOS:

yum install rpm-build
gem install fpm --no-rdoc --no-ri
cd build
make

Debian:

apt-get install rpm
gem install fpm --no-rdoc --no-ri
cd build
make

Optional

  • Jenkins

In order to have Jenkins to build your packages simply add a new command shell build directive, with the following content:

make
  • Vagrant

An example Vagrant project has been included to get you started right away.

cd vagrant
vagrant up
make vagrant-build

Available plugins

PluginAuthor(s)Source
check_bacula Julian Hein upstream
check_crm Phil Garner and Peter Mottram upstream
check_mem.pl Garrett Honeycutt upstream
check_mysqld.pl William Leibzon upstream
check_linux-procstat.pl William Leibzon upstream
check_memcached.pl William Leibzon upstream
check_apache-auto.pl Robert Becht upstream
check_puppet.rb R.I. Pienaar upstream
check_linux-stats.pl Damien Siaud upstream
check_drbd Michael Chapman upstream
pmp-check-lvm-snapshots Percona upstream
pmp-check-mysql-deadlocks Percona upstream
pmp-check-mysql-deleted-files Percona upstream
pmp-check-mysql-file-privs Percona upstream
pmp-check-mysql-innodb Percona upstream
pmp-check-mysql-pidfile Percona upstream
pmp-check-mysql-processlist Percona upstream
pmp-check-mysql-replication-delay Percona upstream
pmp-check-mysql-replication-running Percona upstream
pmp-check-mysql-status Percona upstream
pmp-check-pt-table-checksum Percona upstream
pmp-check-unix-memory Percona upstream
check_iostat Thiago Varela upstream
check_postfix-mailqueue Bjoern Bongermino upstream
check_rabbitmq_aliveness James Casey upstream
check_rabbitmq_aliveness James Casey upstream
check_rabbitmq_objects James Casey upstream
check_rabbitmq_overview James Casey upstream
check_rabbitmq_queue James Casey upstream
check_rabbitmq_server James Casey upstream
check_rabbitmq_watermark James Casey upstream
check_ro_mounts Valentin Vidić upstream
check_solr.py Chris Ganderton upstream
check_elasticsearch Marianschmotzer upstream
check_es_* Paul Stack upstream
check_es-system.sh Claudio Kuenzler upstream
check_puppetdb_* Jason Hancock upstream
check_mongodb.py Mike Zupan upstream
check_printer JK upstream
check_jstat Alcatel-Lucent upstream
check_ntpd-health.pl Tim Forbes upstream
check_service-restart Tom De Vylder upstream
check_long-procs Ajoy Bharath upstream
check_drupal-cron unknown unknown
check_pgactivity Open PostgreSQL Monitoring upstream
check_collective-access Jan Tlusty upstream
check_fileage loxo33 upstream
check_rabbitmq-sync Jan Tlusty upstream
check_zmstatus gmykhailiuta upstream
check_graphite datacratic upstream
check_ssl_cert matteocorti upstream
check_topology-latency.rb Jan Tlusty upstream
check_graphite-metric kali-hernandez upstream
check_yum kjetilho upstream
check_haproxy benprew upstream
check_postgres bucardo upstream
check_mqtt.py jpmens upstream
check_srv_record.py landervdb upstream
check_mailman-moderator-approval.sh Pavel Pulec upstream
check_phpfpm_status.pl regilero upstream
check_elasticsearch_6.pl + check_elasticsearch_* HariSekhon upstream
check_rundeck.py Wout Renkin Unknown
check_es_docs.sh Jan Tlusty upstream
check_zammad.pl KrlWil upstream
check_sentry-events.sh Jan Tlusty upstream
check_vault.sh carroarmato0
check_consul.py LEDfan
check_ftp.pl anordby
check_sftp.sh Jan Tlusty upstream
check_mysql-replication-configured dmaes
check_s3-bucket dmaes
check_docker Maarten Beeckmans upstream
check_wireguard Robin Ophalvens
check_ceph_df Maarten Beeckmans upstream
check_ceph_health Maarten Beeckmans upstream
check_ceph_mds Maarten Beeckmans upstream
check_ceph_mgr Maarten Beeckmans upstream
check_ceph_mon Maarten Beeckmans upstream
check_ceph_osd Maarten Beeckmans upstream
check_ceph_osd_db Maarten Beeckmans upstream
check_ceph_osd_df Maarten Beeckmans upstream
check_ceph_rgw Maarten Beeckmans upstream
check_ceph_rgw_api Maarten Beeckmans upstream
check_patroni Maarten Beeckmans

Contributions

As usual contributions are highly encouraged. If you'd like to do so, please do not hesitate to send pull requests.

Guidelines:

  • Fork this repository
  • Add plugin script to the repository
  • Add plugin details to build.txt
  • Update author table in README.md
  • Send a pull request
  • ...
  • Profit!

monitoring-plugins's People

Contributors

arioch avatar attachmentgenie avatar birgitcroux avatar bogdankatishev avatar carroarmato0 avatar dmaes avatar honzatlusty avatar j0sifek avatar joerit avatar jonasdemoor avatar kacerr avatar kappasper avatar krisbuytaert avatar krlwil avatar landervdb avatar maartenbeeckmans avatar pulecp avatar readmecritic avatar robinoph avatar tcassaert avatar verosk avatar visibilityspots avatar vstone avatar yenda23 avatar yornik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

monitoring-plugins's Issues

No license

Is it possible to request that you apply a license to this software? I assume you mean it to be free and open. Unfortunately, without a license, my company will not allow me to utilize this code. I appreciate your hard work, and find this plugin very helpful. Thank you

Bug related to servers with no swap

If you have servers without swap, the following two lines will fail, with failure to devide by zero. There needs to be a check to see if:

if ($mem->{swaptotal} == 0)

and some logic to just set the value to zero, rather than try to divide by it.
Regards,
Chris Frazee

PostgreSQL function and variable name changes in PostgreSQL 10.3

My check_pgactivity nagios plugin script started erroring out after we upgraded PostgreSQL from 9.6 => 10. It appears that several function and variable names that used to end in "..._location" now end in "..._lsn" instead.

I got my script, with my particular set of options, working again:

==========
$ /lib64/nagios/plugins/check_pgactivity --service streaming_delta --host 127.0.0.1 -p 5432 --username postgres --dbname repltest
POSTGRES_STREAMING_DELTA OK: 1 slaves checked | '# of slaves'=1 'sent delta [email protected]'=0B 'wrote delta [email protected]'=0B 'flushed delta [email protected]'=0B 'replay delta [email protected]'=0B 'pid [email protected]'=4266
$
$ /lib64/nagios/plugins/check_pgactivity -V
check_pgactivity version 2.2_rc1, Perl 5.16.3

This diff listing summarizes the changes:

==========
$ diff check_pgactivity_original check_pgactivity
3403,3404c3403,3404
< pg_last_wal_receive_location(),
< pg_last_wal_replay_location()

                pg_last_wal_receive_lsn(),
                pg_last_wal_replay_lsn()

3406c3406
< ELSE pg_current_wal_location()

            ELSE pg_current_wal_lsn()

3409c3409
< WHEN 't' THEN pg_last_wal_replay_location()

            WHEN 't' THEN pg_last_wal_replay_lsn()

3758c3758
< WHEN pg_is_in_recovery() AND pg_last_wal_replay_location() <> pg_last_wal_receive_location()

        WHEN pg_is_in_recovery() AND pg_last_wal_replay_location() <> pg_last_wal_receive_lsn()

5313c5313
< (pg_wal_location_diff(pg_current_wal_location(), slot.restart_lsn)

            (pg_wal_location_diff(pg_current_wal_lsn(), slot.restart_lsn)

5523,5524c5523,5524
< sent_location, write_location, flush_location, replay_location,
< CASE pg_is_in_recovery() WHEN true THEN pg_last_wal_receive_location() ELSE pg_current_wal_location() END

        sent_lsn, write_lsn, flush_lsn, replay_lsn,
        CASE pg_is_in_recovery() WHEN true THEN pg_last_wal_receive_lsn() ELSE pg_current_wal_lsn() END

5527c5527
< sent_location, write_location, flush_location, replay_location,

        sent_lsn, write_lsn, flush_lsn, replay_lsn,

5531c5531
< sent_location, write_location, flush_location, replay_location,

        sent_lsn, write_lsn, flush_lsn, replay_lsn,

6425c6425
< ELSE pg_current_wal_location()

        ELSE pg_current_wal_lsn()

==========

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.