{"id":15059129,"url":"https://github.com/linuxfabrik/monitoring-plugins","last_synced_at":"2025-05-16T12:03:31.283Z","repository":{"id":37213061,"uuid":"464883207","full_name":"Linuxfabrik/monitoring-plugins","owner":"Linuxfabrik","description":"220+ check plugins for Icinga and other Nagios-compatible monitoring applications. Each plugin is a standalone command line tool (written in Python) that provides a specific type of check.","archived":false,"fork":false,"pushed_at":"2025-03-31T11:31:37.000Z","size":24571,"stargazers_count":228,"open_issues_count":101,"forks_count":59,"subscribers_count":16,"default_branch":"main","last_synced_at":"2025-04-02T08:04:51.568Z","etag":null,"topics":["centos","debian","fedora","icinga","icinga-director","icinga-plugins","icinga2","icinga2-plugins","linux","linuxfabrik","monitoring","monitoring-plugins","nagios","nagios-checks","nagios-plugins","python","rhel","sles","ubuntu","windows"],"latest_commit_sha":null,"homepage":"https://linuxfabrik.ch","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Linuxfabrik.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.rst","funding":".github/FUNDING.yml","license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"linuxfabrik"}},"created_at":"2022-03-01T12:26:22.000Z","updated_at":"2025-03-31T11:31:34.000Z","dependencies_parsed_at":"2023-11-06T23:03:03.120Z","dependency_job_id":"f5e39a2a-3982-4f13-85aa-b7152e55b13d","html_url":"https://github.com/Linuxfabrik/monitoring-plugins","commit_stats":{"total_commits":2716,"total_committers":31,"mean_commits":87.61290322580645,"dds":0.3251104565537555,"last_synced_commit":"70a4c99d4d94edc4359863a414a51a82d780c0e2"},"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Linuxfabrik%2Fmonitoring-plugins","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Linuxfabrik%2Fmonitoring-plugins/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Linuxfabrik%2Fmonitoring-plugins/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Linuxfabrik%2Fmonitoring-plugins/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Linuxfabrik","download_url":"https://codeload.github.com/Linuxfabrik/monitoring-plugins/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246785427,"owners_count":20833490,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["centos","debian","fedora","icinga","icinga-director","icinga-plugins","icinga2","icinga2-plugins","linux","linuxfabrik","monitoring","monitoring-plugins","nagios","nagios-checks","nagios-plugins","python","rhel","sles","ubuntu","windows"],"created_at":"2024-09-24T22:38:13.684Z","updated_at":"2025-05-16T12:03:31.270Z","avatar_url":"https://github.com/Linuxfabrik.png","language":"Python","readme":"\u003ch1 align=\"center\"\u003e\n  \u003ca href=\"https://linuxfabrik.ch\" target=\"_blank\"\u003e\n    \u003cpicture\u003e\n      \u003cimg width=\"600\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/img/linuxfabrik-monitoring-check-plugins-teaser.png\"\u003e\n    \u003c/picture\u003e\n  \u003c/a\u003e\n  \u003cbr /\u003e\n  Linuxfabrik Monitoring Plugins\n\u003c/h1\u003e\n\u003cp align=\"center\"\u003e \u003cem\u003eCheck Plugin Collection for Nagios, Icinga and others\u003c/em\u003e \u003cspan\u003e\u0026#8226;\u003c/span\u003e\n \u003cb\u003emade by \u003ca href=\"https://linuxfabrik.ch/\"\u003eLinuxfabrik\u003c/a\u003e\u003c/b\u003e\n\u003c/p\u003e\n\u003cdiv align=\"center\"\u003e\n\n![GitHub](https://img.shields.io/github/license/linuxfabrik/monitoring-plugins) \n![GitHub last commit](https://img.shields.io/github/last-commit/linuxfabrik/monitoring-plugins) \n![Version](https://img.shields.io/github/v/release/linuxfabrik/monitoring-plugins?sort=semver) \n[![OpenSSF Scorecard](https://api.scorecard.dev/projects/github.com/Linuxfabrik/monitoring-plugins/badge)](https://scorecard.dev/viewer/?uri=github.com/Linuxfabrik/monitoring-plugins)\n[![GitHubSponsors](https://img.shields.io/github/sponsors/Linuxfabrik?label=GitHub%20Sponsors)](https://github.com/sponsors/Linuxfabrik) \n[![PayPal](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=7AW3VVX62TR4A\u0026source=url)\n\n\u003c/div\u003e\n\n\u003cbr /\u003e\n\n\n# The Linuxfabrik Monitoring Plugins Collection\n\nThis Enterprise Class Check Plugin Collection made by [Linuxfabrik](https://www.linuxfabrik.ch) offers a package of Python-based, Nagios-compatible check plugins for Icinga, Naemon, Nagios, OP5, Shinken, Sensu and other monitoring applications. Each plugin is a stand-alone command line tool that provides a specific type of check. Typically, your monitoring software will run these check plugins to determine the current status of hosts and services on your network.\n\nThe check plugins run on\n\n* Linux - Tested on RHEL 7+, Fedora 30+, Ubuntu Server 16+, Debian 9+, SLES 15+\n* Windows - Tested on Windows 10+ and Windows Server 2019+\n\nAll plugins are written in Python and licensed under the [UNLICENSE](https://unlicense.org/), which is a license with no conditions whatsoever that dedicates works to the public domain.\n\nThe plugins are fast, reliable and use as few system resources as possible. They uniformly and consistently report the same metrics briefly and precisely on all platforms (for example, always \"used\" instead of a mixture of \"used\" and \"free\"). Automatic detection and Auto-Discovery mechanisms are built-in where possible. Using meaningful default settings, the plugins trigger WARNs and CRITs only where absolutely necessary. In addition they provide information for troubleshooting. We try to avoid dependencies on 3rd party system libraries where possible.\n\n\n## Want to see some Plugins in Action?\n\nVisit [icinga-demo.linuxfabrik.ch](https://icinga-demo.linuxfabrik.ch).\n\nIf you want to run your own instance of Icinga, you could set it up in a few clicks using the infrastructure provider Exoscale. We provide the images. Just take a look at the [Exoscale Marketplace](https://www.exoscale.com/marketplace/).\n\n\n## Support \u0026 Sponsoring\n\nThe source code is published here without support. If you need Enterprise Support, [conclude a Service Contract](https://www.linuxfabrik.ch/en/products/service-support).\n\nDo you think more people should know about it? Sharing is caring, so feel free to spread the word. We would really appreciate if you share this on any social media, or link this site on any blog or forum. Or more specifically: [It would be great if you could tell on GitHub discussions how you use the plugins](https://github.com/Linuxfabrik/monitoring-plugins/discussions/categories/show-and-tell?discussions_q=is%3Aopen+category%3A%22Show+and+tell%22).\n\nIf you simply like to support our work, please consider donating and become a sponsor.\n\n[![GitHubSponsors](https://img.shields.io/github/sponsors/Linuxfabrik?label=GitHub%20Sponsors)](https://github.com/sponsors/Linuxfabrik) [![PayPal](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=7AW3VVX62TR4A\u0026source=url)\n\n\n## Installation\n\n* Have a look at the [INSTALL](https://github.com/Linuxfabrik/monitoring-plugins/blob/main/INSTALL.rst) document for the various options, including SELinux etc.\n* For details on installing the plugins in Icinga Director, see [ICINGA](https://github.com/Linuxfabrik/monitoring-plugins/blob/main/ICINGA.rst).\n\n\n## Reporting Issues\n\nFor now, there are two ways:\n\n1.  [Submit an issue](https://github.com/Linuxfabrik/monitoring-plugins/issues/new/choose) (preferred).\n2.  [Contact us](https://www.linuxfabrik.ch/en/contact) by email or web form and describe your problem.\n\nFor reporting a vulnerability, see [SECURITY](https://github.com/Linuxfabrik/monitoring-plugins/blob/main/SECURITY.md).\n\n\n## Check Plugin Poster\n\nSee some of our check plugins at a glance on an Icinga server:\n\n\u003cimg alt=\"about-me\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/about-me.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"apache-httpd-status\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/apache-httpd-status.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"apache-httpd-version\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/apache-httpd-version.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"apache-solr-version\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/apache-solr-version.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"cpu-usage\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/cpu-usage.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"crypto-policy\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/crypto-policy.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"disk-io\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/disk-io.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"disk-usage\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/disk-usage.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"dmesg\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/dmesg.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"dns\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/dns.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"fail2ban\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/fail2ban.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"feed\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/feed.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"file-age\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/file-age.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"file-count\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/file-count.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"file-descriptors\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/file-descriptors.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"file-ownership\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/file-ownership.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"file-size\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/file-size.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"fs-inodes\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/fs-inodes.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"fs-ro\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/fs-ro.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"getent\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/getent.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"githubstatus\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/githubstatus.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"gitlab-health\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/gitlab-health.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"gitlab-liveness\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/gitlab-liveness.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"gitlab-readiness\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/gitlab-readiness.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"gitlab-version\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/gitlab-version.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"grafana-version\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/grafana-version.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"hin-status\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/hin-status.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"icinga-topflap-services\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/icinga-topflap-services.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"infomaniak-events\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/infomaniak-events.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"infomaniak-swiss-backp-devices\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/infomaniak-swiss-backp-devices.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"infomaniak-swiss-backup-products\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/infomaniak-swiss-backup-products.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"journald-query\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/journald-query.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"journald-usage\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/journald-usage.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"keycloak-memory-usage\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/keycloak-memory-usage.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"keycloak-stats\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/keycloak-stats.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"keycloak-version\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/keycloak-version.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"kvm-vm\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/kvm-vm.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"librenms-alerts\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/librenms-alerts.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"librenms-health\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/librenms-health.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"librenms-version\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/librenms-version.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"load\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/load.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"mailq\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/mailq.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"matomo-version\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/matomo-version.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"memory-usage\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/memory-usage.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"mydumper-version\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/mydumper-version.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"mysql-aria\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/mysql-aria.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"mysql-connections\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/mysql-connections.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"mysql-database-metrics\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/mysql-database-metrics.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"mysql-innodb-buffer-pool-instances\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/mysql-innodb-buffer-pool-instances.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"mysql-innodb-buffer-pool-size\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/mysql-innodb-buffer-pool-size.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"mysql-innodb-log-waits\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/mysql-innodb-log-waits.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"mysql-joins\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/mysql-joins.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"mysql-logfile\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/mysql-logfile.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"mysql-memory\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/mysql-memory.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"mysql-open-files\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/mysql-open-files.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"mysql-perf-metrics\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/mysql-perf-metrics.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"mysql-slow-queries\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/mysql-slow-queries.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"mysql-sorts\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/mysql-sorts.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"mysql-storage-engines\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/mysql-storage-engines.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"mysql-system\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/mysql-system.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"mysql-table-cache\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/mysql-table-cache.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"mysql-table-definition-cache\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/mysql-table-definition-cache.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"mysql-table-indexes\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/mysql-table-indexes.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"mysql-table-locks\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/mysql-table-locks.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"mysql-temp-tables\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/mysql-temp-tables.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"mysql-thread-cache\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/mysql-thread-cache.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"mysql-traffic\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/mysql-traffic.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"mysql-user-security\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/mysql-user-security.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"mysql-version\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/mysql-version.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"needs-restarting\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/needs-restarting.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"network-connections\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/network-connections.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"network-io\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/network-io.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"network-port-tcp\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/network-port-tcp.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"nextcloud-security-scan\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/nextcloud-security-scan.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"nextcloud-stats\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/nextcloud-stats.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"nextcloud-version\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/nextcloud-version.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"ntp-chronyd\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/ntp-chronyd.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"openstack-nova-list\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/openstack-nova-list.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"openstack-swift-stat\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/openstack-swift-stat.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"openvpn-client-list\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/openvpn-client-list.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"path-rw-test\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/path-rw-test.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"php-fpm-ping\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/php-fpm-ping.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"php-fpm-status\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/php-fpm-status.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"php-status\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/php-status.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"php-version\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/php-version.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"ping\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/ping.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"pip-updates\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/pip-updates.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"postfix-version\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/postfix-version.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"procs\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/procs.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"redis-status\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/redis-status.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"redis-version\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/redis-version.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"rhel-version\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/rhel-version.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"rocketchat-stats\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/rocketchat-stats.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"rocketchat-version\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/rocketchat-version.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"rpm-lastactivity\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/rpm-lastactivity.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"sap-open-concur-com\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/sap-open-concur-com.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"scanrootkit\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/scanrootkit.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"selinux-mode\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/selinux-mode.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"service\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/service.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"starface-account-stats\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/starface-account-stats.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"starface-backup-status\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/starface-backup-status.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"starface-channel-status\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/starface-channel-status.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"starface-database-stats\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/starface-database-stats.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"starface-java-memory-usage\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/starface-java-memory-usage.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"starface-peer-stats\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/starface-peer-stats.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"starface-status\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/starface-status.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"statusiq\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/statusiq.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"statuspal\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/statuspal.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"swap-usage\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/swap-usage.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"systemd-unit\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/systemd-unit.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"systemd-units-failed\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/systemd-units-failed.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"tuned-profile\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/tuned-profile.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"updates\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/updates.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"uptime\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/uptime.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"uptimerobot\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/uptimerobot.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"users\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/users.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"whmcs-status\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/whmcs-status.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"wildfly-deployment-status\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/wildfly-deployment-status.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"wildfly-gc-status\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/wildfly-gc-status.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"wildfly-memory-pool-usage\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/wildfly-memory-pool-usage.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"wildfly-memory-usage\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/wildfly-memory-usage.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"wildfly-non-xa-datasource-stats\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/wildfly-non-xa-datasource-stats.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"wildfly-server-status\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/wildfly-server-status.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"wildfly-thread-usage\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/wildfly-thread-usage.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"wildfly-uptime\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/wildfly-uptime.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"wildfly-xa-datasources-stats\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/wildfly-xa-datasources-stats.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"wordpress-version\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/wordpress-version.png\" width=\"30%\"/\u003e \u0026nbsp;\n\u003cimg alt=\"xca-cert\" src=\"https://download.linuxfabrik.ch/monitoring-plugins/assets/screenshots/xca-cert.png\" width=\"30%\"/\u003e \u0026nbsp;\n\nIf you zoom in, for example on *CPU Usage*:\n\n![image](https://download.linuxfabrik.ch/monitoring-plugins/assets/img/linuxfabrik-monitoring-check-plugins-cpu-usage.png)\n\n\n## Feedback from our Community\n\nSome comments from the community about our monitoring plugins:\n\n\u003e We replaced all checks from the Icinga Powershell Framework with the Linuxfabrik equivalents. Much faster and a heavily reduced memory footprint. Great work!\n\n-- [jprusch](https://github.com/jprusch)\n\n\n\u003e Thanks again @linuxfabrik for writing the csv-values check the way you did and not what I originally requested ;-)\n\n-- [Dominik Riva](https://community.icinga.com/t/monitor-ldap-queries-on-active-directory-controllers/13066)\n\n\n\u003e ... the Linuxfabrik-Monitoring-Plugins are great, thanks for your effort, we are using them very much.\n\n-- [Patric Stiffel](https://github.com/edpstiffel)\n\n\n\u003e ... thanks for your awesome plugins.\n\n-- [Robert Christian](https://github.com/soulsymphonies)\n\n\n\u003e ... Thanks for your awesome work \u0026 have a good day.\n\n-- [\\Barney](https://github.com/bangerer)\n\n\n\u003e ... the Linux fabrik plugins are excellent.\n\n-- [u/exekewtable@reddit](https://www.reddit.com/r/icinga/comments/xq9jt6/does_somebody_know_a_plugin_like_check_interfaces/)\n\n\n\u003e ... I can recommend this family of plugins, they are the highest quality I have seen around. ...\n\n-- [u/exekewtable@reddit](https://www.reddit.com/r/icinga/comments/xcewsg/icinga_python_script_for_qradar_log_source/)\n\n\n\u003e Ich bin vor kurzem (via Video vom Icinga Camp) über Eure Monitoringplugins gestolpert. Ganz herzlichen Dank dafür, großartige Arbeit!!\n\n-- Christian Lox\n\n\n\u003e ... many thanks for your great collection of monitoring plugins! I've just found them - clean structure and output, cross-platform, Icinga Directory Basket configurations - loving it and currently migrating step by step most of my checks to use them where possible. 😍\n\n-- [Bernd Bestel](https://github.com/berrnd)\n\n\n\u003e Nachdem ich beim Versuch, Nagios-Plugins auf VMwares Photon-OS zum laufen zu kriegen, graue Haare gekriegt habe, haben mir eure Plugins zum Ziel verholfen.\n\n-- [MajorTwip](https://twitter.com/MajorTwip)\n\n\n\u003e A well engineered, regularly updated and maintained collection of plugins. Specially focused on Linux servers/VMs and used at large scale by the company developing it.\n\n-- [straessler](https://exchange.icinga.com/straessler)\n\n\n\u003e Hello, I stumbled across your collection and am thrilled! Especially the extensive documentary and the Director Baskets are a dream.\n\n-- Stefan Beining\n\n\n## Merchandise! ;-)\n\nThe \"Linuxfabrik Monitoring Plugins\" on a card of our popular Open Source Quartet from 2023 🙂. Sold out, but there's still more to discover in the [Linuxfabrik Spreadshop](https://www.linuxfabrik.ch/en/about-us/merch).\n\n[![image](https://download.linuxfabrik.ch/monitoring-plugins/assets/img/linuxfabrik-monitoring-check-quartets-card-2023.png)](https://ws.linuxfabrik.io/index.php/store/diverses/linuxfabrik-open-source-quartett-2023)\n\n\n## Human Readable Numbers\n\nRegarding the check plugin output, this is how we convert and append symbols to large numbers in a human-readable format (according to Wikipedia [Names of large numbers](https://en.wikipedia.org/w/index.php?title=Names_of_large_numbers\u0026section=5#Extensions_of_the_standard_dictionary_numbers), and other).\n\nSince the primary hosting platform is Linux, which uses IEC, the plugins display byte sizes in powers of 2 (KiB, MiB, GiB etc.) - otherwise it would be very confusing to have the monitoring plugins said something different than the command line.\n\n| Value             | Symbol   | Origin       | Type              | Description |\n| ----------------- | -------- | ------------ | ----------------- | --------------------------------- |\n| 1000\\^1           | K        |              | Number            | Thousand |\n| 1000\\^2           | M        | SI Symbol    | Number            | Million (1), Million (2) |\n| 1000\\^3           | G        | SI Symbol    | Number            | Milliard (1), Billion (2) |\n| 1000\\^4           | T        | SI Symbol    | Number            | Billion (1), Trillion (2) |\n| 1000\\^5           | P        | SI Symbol    | Number            | Billiard (1), Quadrillion (2) |\n| 1000\\^6           | E        | SI Symbol    | Number            | Trillion (1), Quintillion (2) |\n| 1000\\^7           | Z        | SI Symbol    | Number            | Trilliard (1), Sextillion (2) |\n| 1000\\^8           | Y        | SI Symbol    | Number            | Quadrillion (1), Septillion (2) |\n| 1024\\^0           | B        |              | Bytes             | Bytes |\n| 1024\\^1           | KiB      | IEC unit     | Bytes             | Kibibytes |\n| 1024\\^2           | MiB      | IEC unit     | Bytes             | Mebibytes |\n| 1024\\^3           | GiB      | IEC unit     | Bytes             | Gibibytes |\n| 1024\\^4           | TiB      | IEC unit     | Bytes             | Tebibytes |\n| 1024\\^5           | PiB      | IEC unit     | Bytes             | Pebibytes |\n| 1024\\^6           | EiB      | IEC unit     | Bytes             | Exbibytes |\n| 1024\\^7           | ZiB      | IEC unit     | Bytes             | Zebibytes |\n| 1024\\^8           | YiB      | IEC unit     | Bytes             | Yobibytes |\n| 1000\\^1           | KB       |              | Bytes             | Kilobytes |\n| 1000\\^2           | MB       |              | Bytes             | Megabytes |\n| 1000\\^3           | GB       |              | Bytes             | Gigabytes |\n| 1000\\^4           | TB       |              | Bytes             | Terrabytes |\n| 1000\\^5           | PB       |              | Bytes             | Petabytes |\n| 1000\\^6           | EB       |              | Bytes             | Exabytes |\n| 1000\\^7           | ZB       |              | Bytes             | Zetabytes |\n| 1000\\^8           | YB       |              | Bytes             | Yottabytes |\n| 1000\\^1           | Kbps     |              | Bits per Second   | Kilobits |\n| 1000\\^2           | Mbps     |              | Bits per Second   | Megabits |\n| 1000\\^3           | Gbps     |              | Bits per Second   | Gigabits |\n| 1000\\^4           | Tbps     |              | Bits per Second   | Terrabits |\n| 1000\\^5           | Pbps     |              | Bits per Second   | Petabits |\n| 1000\\^6           | Ebps     |              | Bits per Second   | Exabits |\n| 1000\\^7           | Zbps     |              | Bits per Second   | Zetabits |\n| 1000\\^8           | Ybps     |              | Bits per Second   | Yottabits |\n| 1e-12             | ps       |              | Time              | Picoseconds |\n| 1e-9              | ns       |              | Time              | Nanoseconds |\n| 1e-6              | us       |              | Time              | Microseconds |\n| 1e-3              | ms       |              | Time              | Milliseconds |\n| 1..59             | s        |              | Time              | Seconds |\n| 60                | m        |              | Time              | Minutes |\n| 60\\*60            | h        |              | Time              | Hours |\n| 60\\*60\\*24        | D        |              | Time              | Days |\n| 60\\*60\\*24\\*7     | W        |              | Time              | Weeks |\n| 60\\*60\\*24\\*30    | M        |              | Time              | Months |\n| 60\\*60\\*24\\*365   | Y        |              | Time              | Years |\n\n* (1): Traditional European (Peletier, long scale)\n* (2): US, Canada and modern British (short scale)\n\n\n## Threshold and Ranges\n\nIf a check supports Nagios ranges, they can be used as follows:\n\n* Simple value: A range from 0 up to and including the value.\n* A \"Range\" is the same as on [nagios-plugins.org](https://nagios-plugins.org/doc/guidelines.html#THRESHOLDFORMAT): *... defined as a start and end point (inclusive) on a numeric scale (possibly negative or positive infinity).*, in the format `start:end`.\n* Empty value after `:`: Positive infinity.\n* `~`: Negative infinity.\n* `@`: Like a NOT for the whole expression. So if range starts with `@`, then alert if inside this range (including endpoints).\n\nExamples:\n\n| -w, -c    | OK if result is     | WARN/CRIT if        |\n| --------- | ------------------- | ------------------- |\n| 10        | in (0..10)          | not in (0..10)      |\n| -10       | in (-10..0)         | not in (-10..0)     |\n| 10:       | in (10..inf)        | not in (10..inf)    |\n| :         | in (0..inf)         | not in (0..inf)     |\n| ~:10      | in (-inf..10)       | not in (-inf..10)   |\n| 10:20     | in (10..20)         | not in (10..20)     |\n| @10:20    | not in (10..20)     | in 10..20           |\n| @~:20     | not in (-inf..20)   | in (-inf..20)       |\n| @         | not in (0..inf)     | in (0..inf)         |\n\n\n## Command, Parameters and Arguments\n\nShell commands like `./file-age --filename='/tmp/*'` have two basic parts:\n\n* Command name of the program to run (`./file-age`). May be followed by one or more options, which adjust the behavior of the command or what it will do.\n* Options/Parameters normally start with one or two dashes to distinguish them from arguments (parameter `--filename`, value `'/tmp/*'`). They adjust the behavior of the command. Parameters may be short (`-w`) or long (`--warning`). We prefer and often offer only the long version.\n\nMany shell commands may also be followed by one or more arguments, which often indicate a target that the command should operate upon (`useradd linus` for example) . This does not apply to the check-plugins.\n\nTo avoid problems when passing *parameter values* that start with a `-`, the command line call must look like this:\n\n* Long parameters: `./file-age --warning=-60:3600` (use `--param=value` instead of `--param value`).\n* Short parameters: `./file-age -w-60:3600` (so simply not putting any space nor escaping it in any special way).\n\n\n## Directory Layout explained\n\n```\n└── plugin-name\n    ├── assets                      Additional ressources, for example helper scripts like monitoring.php\n    ├── grafana                     Grafana dashboard definition\n    ├── icingaweb2-module-director  Icinga Director basket definition\n    ├── icingaweb2-module-grafana   Grafana panel definition for Icinga's Grafana module\n    ├── lib                         Link to the Linuxfabrik Python libraries\n    ├── unit-test                   File for unit tests\n    │   ├── retc                    Files for simulating return codes\n    │   ├── stdin                   Files for simulating output to STDOUT\n    │   ├── stdout                  Files for simulating output to STDERR\n    │   └── run                     The unit test\n    └── plugin-name                 The monitoring plugin\n```\n\n\n## Python\n\n* When running from source, all check plugins are happy with Python 3.9+.\n* All plugins define the `#!/usr/bin/env python3` shebang.\n\n\n## Icons\n\nEach plugin comes with an SVG icon, which you can find at [github.com/Linuxfabrik/monitoring-plugins](https://github.com/Linuxfabrik/monitoring-plugins), in the \"icon\" directory below each plugin. For IcingaWeb2, put them in `/usr/share/icingaweb2/public/img/icons/`.\n\n\n## Grafana\n\nSee [GRAFANA](https://github.com/Linuxfabrik/monitoring-plugins/blob/main/GRAFANA.rst)\n\n\n## Contributing\n\nSee [CONTRIBUTING](https://github.com/Linuxfabrik/monitoring-plugins/blob/main/CONTRIBUTING.rst)\n\n\n## Compiling and Packaging, Windows Code Signing Policy\n\nSee [BUILD](https://github.com/Linuxfabrik/monitoring-plugins/blob/main/BUILD.rst)\n\n\n## FAQ\n\nQ: **After an update, I get \"Operational Error: no such column: ..., state UNKNOWN\". On the next run, this disappears. What happened?**\n\nA: Some check plugins require SQLite database files to cache data or to calculate data over time. After an update it is possible that the check plugin uses a new schema, but the database file on disk hasn't been updated (we don't implement database migrations). So in case of an \"OperationalError\", which happens for example when the plugin tries to INSERT into an outdated table, the database library simply deletes the sqlite database file. It will then be recreated from scratch by the plugin on the next run, with the updated database structure.\n\n\nQ: **How can I remove the performance data after the `|` from the check output?**\n\nA: In Bash, use `/usr/lib64/nagios/plugins/check-command | cut -f1 -d'|'`\n\n\nQ: **Do the plugins also handle proxy environment variables like `HTTP_PROXY`?**\n\nA: Yes, `HTTP_PROXY`, `HTTPS_PROXY`, `http_proxy` and `http_proxy` are automatically used by the Linuxfabrik monitoring plugins if they are set.\n\n\nQ: **Icinga does not seem to pass the environment variable `http_proxy` to the plugins. What am i doing wrong?**\n\nThis has nothing to do with the Linuxfabrik monitoring plugins - the Icinga configuration needs to be adjusted here. You need to do some additional configuration to make custom environment variables generally available. According to [this Icinga community post](https://community.icinga.com/t/environments-for-all-check-commands/9092) you need to set them in `/etc/icinga2/icinga2.conf`:\n\n```\ntemplate CheckCommand default {\n  env.http_proxy = \"http://username:password@proxy.example.com:port\"\n  env.https_proxy = \"http://username:password@proxy.example.com:port\"\n}\n```\n\nIf you are also using `sudo` to call some plugins from within Icinga, you will also need to set this in your `/etc/sudoers.d/whatever.sudoers`:\n\n```\nDefaults env_keep += \"http_proxy https_proxy\"\n```\n\nPro tips:\n\n* Note that you can't set environment variables in Icinga Director. Even if you are only using the Icinga Director, follow the steps above.\n* Environment variables with the same name in both `/etc/environment` and `/etc/icinga2/icinga2.conf` will be overwritten by `/etc/icinga2/icinga2.conf`.\n\n\nQ: **All pipe characters `|` in the output of any plugin are replaced with `!`. Why?**\n\nA: We have to. The output syntax of Nagios plugins is fixed and not very flexible:\n\n```\nOutput lines | Performance data\n```\n\nSo the `|` character is reserved to separate plugin output from performance data. There is no way to escape it - so we have to replace it with `!`.\n\n\nQ: **Negative values for plugin arguments cause problems in Icinga.**\n\nA: As of 2024-11, Icinga still passes parameter values to plugins without a leading `=`. This causes plugins to assume that parameters starting with negative values are additional but unknown arguments. In Icinga this can be avoided by prefixing the first minus sign of a value with a backslash `\\`, which is later removed by the [base.py](https://github.com/Linuxfabrik/lib/blob/main/base.py) library (v2024112001+, v2.0.0.0+). So just use `\\-60` or `\\-60:-3600` instead of `-60` or `-60:-3600` (see [#789](https://github.com/Linuxfabrik/monitoring-plugins/issues/789\u003e)).\n\n\nQ: **On Windows, sometimes Windows Defender randomly kills a plugin. Why?**\n\nA: Depending on your signature versions or the healthiness of your signature cache, the Microsoft Windows Defender might classify a check as malicious (for example our `service.exe`). Please follow the steps below to clear cached detections and obtain the latest malware definitions.\n\n1. Open command prompt as administrator and change directory to `c:\\program files\\windows defender`\n2. Run `MpCmdRun.exe -removedefinitions -dynamicsignatures`\n3. Run `MpCmdRun.exe -SignatureUpdate`\n\n\nQ: **Do the OS packages have external dependencies?**\n\nA: No.\n\n\nQ: **Can I overwrite specific plugins with its source code variant, if all other plugins are installed by the OS package manager?**\n\nA: Of course. Just don't forget to install the libs either.\n\n\nQ: **Wondering about `/usr/lib64/nagios/plugins/` on Debian/Ubuntu?**\n\nA: We are always using the path `/usr/lib64/nagios/plugins/` on all Linux OS, even if the original Nagios-package installs itself to `/usr/lib/nagios/plugins/`. This is because adding a command with `sudo` in Icinga Director, one needs to use the full path of the plugin. See the following `[GitHub issue](https://github.com/Icinga/icingaweb2-module-director/issues/2123).\n\n\nQ: **On Windows, some plugins result in `0x80070005 (E_ACCESSDENIED)`.**\n\nA: When using the plugins in Icinga: [According to the Icinga documentation](https://icinga.com/docs/icinga-2/latest/doc/06-distributed-monitoring/#agent-setup-on-windows-configuration-wizard) the Icinga Agent runs as the `Network Service` user by default. This may result in `0x80070005 (E_ACCESSDENIED)` messages for some plugins. In this case, [use JEA Profiles for Icinga for Windows](https://icinga.com/docs/icinga-for-windows/latest/doc/130-JEA/01-JEA-Profiles/) and see [installing JEA for Windows](https://icinga.com/docs/icinga-for-windows/latest/doc/130-JEA/02-Installation/).\n","funding_links":["https://github.com/sponsors/linuxfabrik","https://github.com/sponsors/Linuxfabrik","https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=7AW3VVX62TR4A\u0026source=url"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinuxfabrik%2Fmonitoring-plugins","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flinuxfabrik%2Fmonitoring-plugins","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinuxfabrik%2Fmonitoring-plugins/lists"}