Pārlūkot izejas kodu

nagios: more checks

boyska 10 mēneši atpakaļ
vecāks
revīzija
ceea01f7fe
1 mainītis faili ar 5 papildinājumiem un 0 dzēšanām
  1. 5 0
      README.md

+ 5 - 0
README.md

@@ -96,6 +96,11 @@ This check will verify whether the alarm for temp1 is off
 
     /usr/lib/nagios/plugins/check_http --regex '^0$' -I 127.0.0.1 -p 8000 --url=/variables/alm_temp1
 
+If you want to check whether the squeow microcontroller is still alive, this will check that the last message
+was received from the microcontroller less than 100s ago.
+
+    /usr/lib/nagios/plugins/check_http --regex '^squeow_time_since_last_seen [0-9][0-9]?$' -I 127.0.0.1 -p 8000 --url=/metrics
+
 ### Prometheus
 
 a `/metrics` endpoint is exposed with the common `metric=value` format, which is easily to integrate into your