Showing 1 changed files with 3 additions and 0 deletions
+3
monitoring.d/raspberrypi
... ...
@@ -91,4 +91,7 @@ function mem_pressure () {
91 91
     test ${meminfo[i+2]} -ge ${#range[@]} || echo "${level[${meminfo[i+2]}]}: available ${meminfo[i+1]}kB"
92 92
 }
93 93
 
94
+function piwigo_private () {
95
+    _turn 20 || return
96
+    test "$(curl --silent 'http://192.168.0.71/photos/ws.php?format=json&method=pwg.categories.getList' | sum)" = "00569     1" || echo "albums visibles publiquement"
94 97
 }