Initial commit
This commit is contained in:
commit
33882d5455
13 files changed
+543
No files matched your search
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
# systemd statistics
|
||||
systemd_units_failed=$(systemctl --state=failed|grep -Po '\d+(?= loaded units listed.)')
|
||||
gmetric --name="systemd_units_failed" --title="systemd failed units" --value="$systemd_units_failed" --type="uint16" --group="process" --conf=$conf
|
||||
Reference in new issue
Block a user