mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
feature: Added support for syslog Oxidized notification on Huawei VRP switches… (#8562)
This commit is contained in:
committed by
Neil Lathwood
parent
146fc985aa
commit
b133aaa718
@@ -41,4 +41,7 @@ if (preg_match('/(SYS-(SW[0-9]+-)?5-CONFIG_I|VSHD-5-VSHD_SYSLOG_CONFIG_I): Confi
|
||||
} elseif (preg_match('/startup-config was changed by (?P<user>.+) from telnet client .*/', $msg, $matches)) {
|
||||
$username = $matches['user'];
|
||||
oxidized_node_update($hostname, $username, $msg);
|
||||
} elseif (preg_match('/HWCM\/4\/CFGCHANGE/', $msg, $matches)) { //Huawei VRP devices CFGCHANGE syslog
|
||||
$username = 'not_provided'; //Huawei VRP syslog does not provide username here.
|
||||
oxidized_node_update($hostname, $username, $msg);
|
||||
}
|
||||
|
Reference in New Issue
Block a user