mirror of
https://github.com/pengutronix/monitoring-check-systemd-service.git
synced 2025-07-26 23:34:35 +02:00
more readme for github
This commit is contained in:
parent
18362847f0
commit
829a2d12ab
@ -1,14 +1,17 @@
|
|||||||
Whats this?
|
# Whats this?
|
||||||
===========
|
|
||||||
This script is intended for icinga/nagios/icinga2 to check the state of a
|
This script is intended for icinga/nagios/icinga2 to check the state of a
|
||||||
systemd service. We check the ServiceState and the Substate.
|
systemd service. We check the ServiceState and the Substate.
|
||||||
|
|
||||||
optional features (future)
|
## install
|
||||||
--------------------------
|
|
||||||
|
apt-get install python3-nagiosplugin python3-gi
|
||||||
|
|
||||||
|
## optional features (future)
|
||||||
|
|
||||||
It is thinkable to check for every systemd service property.
|
It is thinkable to check for every systemd service property.
|
||||||
|
|
||||||
example code
|
## example code
|
||||||
------------
|
|
||||||
|
|
||||||
from gi.repository import GLib, Gio
|
from gi.repository import GLib, Gio
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user