Showing 1 changed files with 5 additions and 0 deletions
+5
monitoring.d/raspberrypi
... ...
@@ -61,6 +61,11 @@ function webapps () {
61 61
     ' /etc/nginx/sites-enabled/*
62 62
 }
63 63
 
64
+function section () {
65
+    nc -zw5 cloud.paris12.pcf.fr 443 || echo "cloud inaccessible"
66
+    nc -zw5 cloud.paris12.pcf.fr 2200 || echo "section inaccessible"
67
+}
68
+
64 69
 function core_temp () {
65 70
     local min=60
66 71
     local level=("warning" "severe" "danger!")