ignore timeout/retries if timeout/retries == 0

git-svn-id: http://www.observium.org/svn/observer/trunk@1825 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2011-03-12 11:32:02 +00:00
parent c6428480bc
commit 36e95e0c5a
2 changed files with 125 additions and 22 deletions
+4
View File
@@ -12,6 +12,10 @@ function process_syslog ($entry, $update)
}
}
if(strstr($entry['msg'], "diskio.c: don't know how to handle") !== FALSE) {
$delete = 1;
}
$device_id_host = @mysql_result(mysql_query("SELECT device_id FROM devices WHERE `hostname` = '".$entry['host']."' OR `sysName` = '".$entry['host']."'"),0);
if($device_id_host)