diff --git a/doc/Extensions/Syslog.md b/doc/Extensions/Syslog.md index ca5cc5c845..3d4b9e57d7 100644 --- a/doc/Extensions/Syslog.md +++ b/doc/Extensions/Syslog.md @@ -356,6 +356,17 @@ log host x.x.x.x level notices program imish // Useful for seeing all commands e log host x.x.x.x level notices program imi // Required for Oxidized Syslog hook log message. log host source ``` + +### HPE/Aruba Procurve + +```config +configure +logging severity warning +logging facility local6 +logging librenms.ip control-descr “LibreNMS” +logging notify running-config-change +write memory +``` If you have permitted udp and tcp 514 through any firewall then that should be all you need. Logs should start appearing and displayed @@ -438,6 +449,12 @@ to the syslog server. ```ssh $config['os']['awplus']['syslog_hook'][] = Array('regex' => '/IMI.+.Startup-config saved on/', 'script' => '/opt/librenms/scripts/syslog-notify-oxidized.php'); ``` + +### HPE/Aruba Procurve + +```ssh +$config['os']['procurve']['syslog_hook'][] = Array('regex' => '/Running Config Change/', 'script' => '/opt/librenms/scripts/syslog-notify-oxidized.php'); +``` ## Configuration Options diff --git a/scripts/syslog-notify-oxidized.php b/scripts/syslog-notify-oxidized.php index 4c59879bfa..78967a65b1 100755 --- a/scripts/syslog-notify-oxidized.php +++ b/scripts/syslog-notify-oxidized.php @@ -24,4 +24,6 @@ if (preg_match('/(SYS-(SW[0-9]+-)?5-CONFIG_I|VSHD-5-VSHD_SYSLOG_CONFIG_I): Confi oxidized_node_update($hostname, $msg, $matches['user']); //Alliedware Plus devices. Requires at least V5.4.8-2.1 } elseif (preg_match('/System configuration saved/', $msg, $matches)) { oxidized_node_update($hostname, $msg); //ScreenOS +} elseif (preg_match('/Running Config Change/', $msg, $matches)) { + oxidized_node_update($hostname, $msg); //HPE and Aruba Procurve devices }