Move the documentation to README.md
This commit is contained in:
parent
4b760a5a39
commit
f4267cd3dd
2 changed files with 16 additions and 14 deletions
16
README.md
Executable file
16
README.md
Executable file
|
@ -0,0 +1,16 @@
|
|||
check_systemd_state
|
||||
===================
|
||||
Nagios plugin to check the system state according to systemd. This plugin checks
|
||||
the system's state according to systemd, i.e.
|
||||
|
||||
$ systemctl is-system-running
|
||||
degraded
|
||||
|
||||
If it reports anything other than "running", be sure to check the output of
|
||||
these commands:
|
||||
|
||||
$ systemctl list-units
|
||||
$ systemctl status
|
||||
|
||||
License: Public Domain. Keep my name in it if you like.
|
||||
Author: Mike Gerber 2015
|
|
@ -1,19 +1,5 @@
|
|||
#!/usr/bin/python
|
||||
# Nagios plugin to check the system state according to systemd.
|
||||
#
|
||||
# This plugin checks the system's state according to systemd, i.e.
|
||||
#
|
||||
# $ systemctl is-system-running
|
||||
# degraded
|
||||
#
|
||||
# If it reports anything other than "running", be sure to check the output of
|
||||
# these commands:
|
||||
#
|
||||
# $ systemctl list-units
|
||||
# $ systemctl status
|
||||
#
|
||||
# License: Public Domain. Keep my name in it if you like.
|
||||
# Author: Mike Gerber 2015
|
||||
|
||||
from __future__ import division, print_function
|
||||
import subprocess
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue