feature: Added ironware syslog notify code (#8268)

* Added ironware syslog notify code

* Update syslog-notify-oxidized.php
This commit is contained in:
lewisvive
2018-02-21 10:03:43 +00:00
committed by Neil Lathwood
parent e9c42e3b06
commit 0e0c8d1cbe

View File

@@ -38,4 +38,7 @@ if (preg_match('/(SYS-(SW[0-9]+-)?5-CONFIG_I|VSHD-5-VSHD_SYSLOG_CONFIG_I): Confi
} elseif (preg_match('/ASA-(config-)?5-111005: (?P<user>.+) end configuration: OK/', $msg, $matches)) {
$username = $matches['user'];
oxidized_node_update($hostname, $username, $msg);
} elseif (preg_match('/startup-config was changed by (?P<user>.+) from telnet client .*/', $msg, $matches)) {
$username = $matches['user'];
oxidized_node_update($hostname, $username, $msg);
}