mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
make sensor_type larger, merge both logs into one tab (ran out of space!)
git-svn-id: http://www.observium.org/svn/observer/trunk@2719 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -34,15 +34,17 @@ function get_cache($host, $value) {
|
||||
|
||||
function process_syslog ($entry, $update) {
|
||||
global $config;
|
||||
|
||||
global $dev_cache;
|
||||
|
||||
foreach ($config['syslog_filter'] as $bi)
|
||||
if (strpos($entry['msg'], $bi) !== FALSE) {
|
||||
{
|
||||
if (strpos($entry['msg'], $bi) !== FALSE)
|
||||
{
|
||||
print_r($entry);
|
||||
echo('D-'.$bi);
|
||||
return $entry;
|
||||
}
|
||||
}
|
||||
|
||||
$entry['device_id'] = get_cache($entry['host'], 'device_id');
|
||||
if ($entry['device_id']) {
|
||||
|
||||
Reference in New Issue
Block a user