When a threshold is no longer being crossed, I get syslog messages saying that the threshold has been breached. This does not seem to be the same problem with the regular Cacti log that is mentioned in: http://forums.cacti.net/viewtopic.php?f=17&t=45455
Running 0.8.7i with Thold version 0.4.9-3
In thold_functions.php, function thold_log, should line 3107 be changed from:
if ($save['status'] == 0) {
$desc = "Threshold Restored ID: " . $save['threshold_id'];
} else {
$desc = "Threshold Breached ID: " . $save['threshold_id'];
}
to
if ($save['status'] == ST_RESTORAL || $save['status'] == ST_NOTIFYRS) {
$desc = "Threshold Restored ID: " . $save['threshold_id'];
} else {
$desc = "Threshold Breached ID: " . $save['threshold_id'];
}
Thold syslog message set incorrectly when threshold clears
Moderators: Developers, Moderators
Who is online
Users browsing this forum: No registered users and 1 guest