icinga2-checks/README.md

29 lines
829 B
Markdown
Raw Normal View History

2023-04-21 23:54:15 -06:00
# icinga2-checks
2024-04-05 23:51:42 -06:00
_My custom Icinga2 checks._
2023-11-08 18:39:49 -07:00
2023-11-26 23:15:27 -07:00
Useful: https://nagios-plugins.org/doc/guidelines.html#AEN200
2024-01-30 11:13:31 -07:00
https://icinga.com/docs/icinga-2/latest/doc/05-service-monitoring/#performance-data-metrics
2024-04-05 23:51:42 -06:00
`requirements-everybody.txt`: pip requirements for all Python 3 versions and Linux and BSD hosts. Should be easy to
install on all hosts.
2024-01-30 11:13:31 -07:00
2024-04-05 23:51:42 -06:00
`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.
2024-02-28 17:14:45 -07:00
## Fix `dbus` Issues
```shell
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`
```python
sys.path.insert(0, "/usr/lib/python3/dist-packages")
import dbus
```