Add alert thresholds to renderd replication plugin
authorTom Hughes <tom@compton.nu>
Tue, 1 Dec 2015 11:45:46 +0000 (11:45 +0000)
committerTom Hughes <tom@compton.nu>
Tue, 1 Dec 2015 12:04:14 +0000 (12:04 +0000)
cookbooks/munin/files/default/plugins/replication_delay

index 2a787d1b9c4ea6e2628135f24baa58a0b4e52b3a..f1761e84d34143fd947ceba93349fe3776e9ae80 100755 (executable)
@@ -17,6 +17,8 @@ if [ "$1" = "config" ]; then
         echo 'age.label DB import age' 
         echo 'age.type GAUGE' 
        echo 'age.cdef age,60,/'
+       echo 'age.warning :600'
+       echo 'age.critical :3600'
         exit 0 
 fi