My custom Icinga2 checks.
Go to file
Cyberes 35d75853ec check_curl: fix "echo: write error: Broken pipe" 2024-11-28 12:35:15 -07:00
Other fail-overdue: trigger failure if failure 2024-09-09 21:40:11 -06:00
check_docker
check_pve
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
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_coturn.sh
check_curl.sh check_curl: fix "echo: write error: Broken pipe" 2024-11-28 12:35:15 -07: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
check_dns_tls.py
check_elastiflow_traffic_for_host.py
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
check_federation_tester.py
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
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
check_idrac_status.py
check_idrac_temps.py
check_iowait.sh
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
check_matrix_msg.py
check_matrix_synapse.py
check_monitor_bot.py
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
check_not_writable.sh
check_nut.py
check_nvidia.py check_nvidia: remove fan scheck, adjust output, report temp in C 2024-11-26 21:26:29 -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
check_opnsense_traffic_for_host_watcher.py
check_process.sh
check_proxmox_iowait.py
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_scrutiny_disks.py
check_speedtest.py
check_ssh.sh
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
check_wireguard.sh
check_writable.sh
check_zfs_zpool.py
debian-packages.txt rename requirements files, more docs 2024-02-28 17:14:45 -07:00
matrix-host-notification.py
matrix-service-notification.py
opnsense_traffic_watcher.py
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

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