]> git.pld-linux.org Git - packages/cacti-plugin-thold.git/commitdiff
Unrelated changes removed from -undefined_variable_subject.patch
authorJacek Konieczny <j.konieczny@eggsoft.pl>
Mon, 10 Dec 2012 07:44:06 +0000 (08:44 +0100)
committerJacek Konieczny <jajcus@jajcus.net>
Mon, 10 Dec 2012 07:44:06 +0000 (08:44 +0100)
cacti-plugin-thold-undefined_variable_subject.patch

index dc787342308452bf020f39362073f08e00e4973b..a6e5e588911a42413d2eb170afb938a8d6b99806 100644 (file)
@@ -17,12 +17,4 @@ diff -dur cacti-plugin-thold-0.4.9.orig/thold/thold_functions.php cacti-plugin-t
  
                                if ($logset == 1) {
                                        logger($item['name'], $breach_up, ($breach_up ? $item['thold_hi'] : $item['thold_low']), $currentval, $item['bl_fail_trigger'], $item['bl_fail_count'], $url);
  
                                if ($logset == 1) {
                                        logger($item['name'], $breach_up, ($breach_up ? $item['thold_hi'] : $item['thold_low']), $currentval, $item['bl_fail_trigger'], $item['bl_fail_count'], $url);
-@@ -2032,7 +2035,7 @@
-               $syslog_facility = LOG_DAEMON;
-       }
--      openlog('CactiTholdLog', LOG_PID | LOG_PERROR, $syslog_facility);
-+      openlog('CactiTholdLog', LOG_PID, $syslog_facility);
-       if (strval($breach_up) == 'ok') {
-               syslog($syslog_level, $desc . ' restored to normal with ' . $currentval . ' at trigger ' . $trigger . ' out of ' . $triggerct . " - ". $urlbreach);
+
This page took 0.089639 seconds and 4 git commands to generate.