2/15/2023 0 Comments Librenms Syslogetc/logstash/conf.d/nf), and add the following:Ĭommand => "echo `echo %/'` | sed 's/,/||/g' | /opt/librenms/syslog.php &" Next, create a logstash configuration file (ex. usr/share/logstash/bin/logstash-plugin install logstash-output-exec If you prefer logstash, and it is installed on the same server as LibreNMS, here are some hints on how to get it working.įirst, install the output-exec plugin for logstash: $ModLoad -151,9 +151,49 If your rsyslog server is recieving messages relayed by another syslog server, y $UDPServerRun -123,7 +123,7 $UDPServerRun 514Ĭreate a file called something like `/etc/rsyslog.d/nf` containing: $config = -115,7 +115,7 If you prefer rsyslog, here are some hints on how to get it working.Īdd the following to your rsyslog config somewhere (could be at the top of the file in the step below, could be in `nf` if you are using remote logs for something else on this host) 105,7 +105,7 service syslog-ng restartĪdd the following to your LibreNMS `config.php` file to enable the Syslog extension:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |