My custom Icinga2 checks.
Go to file
Cyberes 8ea97d8227 check_nvidia: add power state 2024-11-08 22:03:44 -07:00
Other fail-overdue: trigger failure if failure 2024-09-09 21:40:11 -06:00
check_docker fix rc 2023-05-03 12:26:57 -06:00
check_pve check_pve: option to ignore unknown disks 2023-05-28 12:50:04 -06:00
checker check_systemd_timer: verify interval executed, restructure some things 2024-10-10 19:47:22 -06:00
services add check_systemd_service, update service files, other minor adjustments 2024-03-28 20:50:10 -06:00
.gitignore reorganize, fix bugs 2023-04-21 23:54:16 -06:00
LICENSE
README.md check_systemd_timer: remove dbus and actually verify thatthe timer is enabled 2024-10-10 21:01:16 -06:00
check_apt_critical.sh make usage unknown 2024-02-28 14:13:33 -07:00
check_bandwidth.py check_bandwidth: don't print all interfaces if ok 2023-07-06 10:15:32 -06:00
check_coturn.sh make bash work on bsd and linux 2023-06-07 14:31:09 -06:00
check_curl.sh check_curl: add a comma 2024-08-08 19:58:11 -06:00
check_dns.sh check_dns: remove perfdata from time out message 2024-07-25 19:40:14 -06:00
check_dns_over_https.sh add check_dns 2023-06-21 17:57:46 -06:00
check_dns_tls.py update check_matrix_synapse 2023-09-16 13:18:11 -06:00
check_elastiflow_traffic_for_host.py add new opnesnse watcher server 2023-11-19 16:08:45 -07:00
check_external_ip_dynamic.sh fix exit code 2024-02-28 14:16:33 -07:00
check_external_ip_dynamic_cf.sh fix exit code 2024-02-28 14:16:33 -07:00
check_federation.py add check_matrix_msg, other minor chnages 2023-11-14 11:35:41 -07:00
check_federation_tester.py check_federation_tester, make stuff executable 2023-04-21 23:54:17 -06:00
check_file_exists.sh add check_https_valid, adjust executable 2024-09-26 19:18:15 -06:00
check_graylog.py add check_graylog_index_size, fix other stuff 2024-04-09 21:23:07 -06:00
check_graylog_index_size.py fix 2024-04-09 21:28:58 -06:00
check_hauk.py add idrac checkers 2023-11-26 23:15:27 -07:00
check_home_assistant.py fix 2024-09-03 20:39:39 -06:00
check_https_valid.sh check_https_valid: adjust string 2024-09-26 19:21:38 -06:00
check_idrac_fans.py make shit executable again 2024-02-18 12:55:34 -07:00
check_idrac_status.py make shit executable again 2024-02-18 12:55:34 -07:00
check_idrac_temps.py make shit executable again 2024-02-18 12:55:34 -07:00
check_iowait.sh add idrac checkers 2023-11-26 23:15:27 -07:00
check_iperf3.sh check_iperf3: use vulnerable openssl settings since debian packages aren't updated while bsd is 2024-08-31 19:51:28 -06:00
check_matrix_media_cdn.py rename file 2024-02-18 14:54:46 -07:00
check_matrix_msg.py oops 2023-11-14 13:15:02 -07:00
check_matrix_synapse.py dumbass 2023-09-16 13:37:18 -06:00
check_monitor_bot.py check_monitor_bot: remove debug print 2023-05-30 21:50:54 -06:00
check_mysql_connections.py adjust executable 2024-06-22 19:57:35 -06:00
check_mysql_health add check_mysql_health 2024-09-05 16:34:31 -06:00
check_mysql_slave.py check_mysql_slave: clarify message 2024-08-09 15:00:13 -06:00
check_nfs_exports.sh adjust 2024-06-22 20:10:20 -06:00
check_nginx.py add method to get_with_retry() 2023-06-27 17:56:40 -06:00
check_not_writable.sh fix writable 2024-02-18 00:42:20 -07:00
check_nut.py make shit executable again 2024-02-18 12:55:34 -07:00
check_nvidia.py check_nvidia: add power state 2024-11-08 22:03:44 -07:00
check_openwrt_bssid.py check_openwrt_bssid: pretty print 2024-08-31 19:24:48 -06:00
check_openwrt_clients.py add check_openwrt_clients 2024-06-15 15:39:53 -06:00
check_opnsense_traffic_for_host.py fix 2023-11-14 14:59:28 -07:00
check_opnsense_traffic_for_host_watcher.py fail overdue services 2023-11-22 23:35:33 -07:00
check_process.sh check_process: hardcode bsd path 2024-02-26 15:13:42 -07:00
check_proxmox_iowait.py make shit executable again 2024-02-18 12:55:34 -07:00
check_pve_guest_metrics.py add check_systemd_service, update service files, other minor adjustments 2024-03-28 20:50:10 -06:00
check_redis.py check_federation_tester, make stuff executable 2023-04-21 23:54:17 -06:00
check_scrutiny_disks.py replace pandas with dateparser 2024-02-04 13:29:58 -07:00
check_speedtest.py add check_greylog.py 2023-06-27 13:13:52 -06:00
check_ssh.sh add check_ssh 2023-06-22 14:58:35 -06:00
check_synology.py fix defaults 2024-10-21 16:22:33 -06:00
check_systemd_service.sh check_systemd_service: modify output when a service is allowed disabled 2024-09-23 21:28:59 -06:00
check_systemd_timer.py check_systemd_timer: remove dbus and actually verify thatthe timer is enabled 2024-10-10 21:01:16 -06:00
check_uptime.sh check_uptime: get ready for use 2024-08-05 14:06:03 -06:00
check_vllm.py add check_wireguard 2023-11-08 18:39:49 -07:00
check_wireguard.sh modify check_wireguard, add initial check_openwrt_bssid 2023-11-12 10:27:23 -07:00
check_writable.sh fix writable 2024-02-18 00:42:20 -07:00
check_zfs_zpool.py check_zfs_zpool: adjust log devices count 2024-02-23 17:13:29 -07:00
debian-packages.txt rename requirements files, more docs 2024-02-28 17:14:45 -07:00
matrix-host-notification.py check_federation_tester, make stuff executable 2023-04-21 23:54:17 -06:00
matrix-service-notification.py check_federation_tester, make stuff executable 2023-04-21 23:54:17 -06:00
opnsense_traffic_watcher.py make shit executable again 2024-02-18 12:55:34 -07:00
requirements-difficult.txt move pydantic to difficult reqs because pydantic-core requires rust 2024-10-16 16:28:56 -06:00
requirements-everybody.txt move pydantic to difficult reqs because pydantic-core requires rust 2024-10-16 16:28:56 -06:00
requirements-linuxfabrik.txt modify requirements 2023-04-21 23:54:20 -06:00

README.md

icinga2-checks

My custom Icinga2 checks.

Useful: https://nagios-plugins.org/doc/guidelines.html#AEN200 https://icinga.com/docs/icinga-2/latest/doc/05-service-monitoring/#performance-data-metrics

requirements-everybody.txt: pip requirements for all Python 3 versions and Linux and BSD hosts. Should be easy to install on all hosts.

requirements-difficult.txt: pip requirements that are easy to install on normal Debian hosts but complicated when there are wheels available.

These scripts have varying levels of code quality.

Fix dbus Issues

ln -s /usr/lib/python3/dist-packages/_dbus_* ./venv/lib/python3.*/site-packages
ln -s /usr/lib/python3/dist-packages/dbus ./venv/lib/python3.*/site-packages

Import dbus

sys.path.insert(0, "/usr/lib/python3/dist-packages")
import dbus