allow disabling of alerting per device, allow override of syscontact, minor cleanups

git-svn-id: http://www.observium.org/svn/observer/trunk@1995 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Tom Laermans
2011-03-30 16:28:24 +00:00
parent d302d1a4ce
commit 9fd77cd884
17 changed files with 126 additions and 63 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ while ($device = mysql_fetch_array($device_query))
notify($device, "Device Down: " . $device['hostname'], "Device Down: " . $device['hostname'] . " at " . date($config['timestamp_format']));
}
}
eventlog("Device status changed to $stat", $device['device_id']);
log_event("Device status changed to $stat", $device, strtolower($stat)));
echo("Status Changed!\n");
}
}