mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Add additional eventlog severity levels (#5879)
This commit is contained in:
committed by
Neil Lathwood
parent
a44d4254f8
commit
e4f48e661e
@@ -83,7 +83,7 @@ foreach ($db_info_list as $db_info) {
|
||||
// FIXME - this should loop building a query and then run the query after the loop (bad geert!)
|
||||
dbUpdate(array($property => $vm_info[$property]), 'vminfo', '`id` = ?', array($db_info['id']));
|
||||
if ($db_info['vmwVmDisplayName'] != null) {
|
||||
log_event($db_info['vmwVmDisplayName'] . ' (' . preg_replace('/^vmwVm/', '', $property) . ') -> ' . $vm_info[$property], $device);
|
||||
log_event($db_info['vmwVmDisplayName'] . ' (' . preg_replace('/^vmwVm/', '', $property) . ') -> ' . $vm_info[$property], $device, null, 3);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user