Procházet zdrojové kódy

Update check_service.sh

liberodark před 7 roky
rodič
revize
034c2d19f9
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. 2 0
      check_service.sh

+ 2 - 0
check_service.sh

@@ -18,6 +18,8 @@
 
 
 # 3.) Manually select service management tool and service
 # 3.) Manually select service management tool and service
 # $ ./check_service.sh -o linux -t "service rsyslog status"
 # $ ./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
 # Nagios Exit Codes
 OK=0
 OK=0