Explorar o código

Update check_service.sh

liberodark %!s(int64=7) %!d(string=hai) anos
pai
achega
034c2d19f9
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      check_service.sh

+ 2 - 0
check_service.sh

@@ -18,6 +18,8 @@
 
 # 3.) Manually select service management tool and service
 # $ ./check_service.sh -o linux -t "service rsyslog status"
+# Exemple for check all failed services
+# $ ./check_service.sh -o linux -t "systemctl list-units --state=failed"
 
 # Nagios Exit Codes
 OK=0