Hey everyone,
I have LibreNMS running on Ubuntu 20.04.3, and have been able to add devices to monitor via SNMP. However, I’ve not been able to get syslog to work from certain network devices, but it seems to be working for others.
I’ve followed all the steps here: Syslog - LibreNMS Docs (in my case, am using syslog-ng, not rsyslog).
I’m sending syslog info from other devices to port 514 on LibreNMS machine.
Ubuntu firewall is disabled (“sudo ufw status” shows “Status: inactive”)
Syslog is enabled in config.php (last line in file: $config[‘enable_syslog’] = 1;)
I’ve configured several network devices to send syslog info to port 514 on the LibreNMS machine, and there’s no log info showing up from those devices
However, I have a Windows server on my LAN that I’ve set up to be SNMP monitored by LibreNMS. If I run “telnet 192.168.1.248 514” from that server on my LAN, hit enter, and then type “Test,” and hit enter again, I see the “Test” alert show up in LibreNMS syslog. So I know LibreNMS is working.
Also, if I run “select device_id,hostname,sysName from devices ;” in MariaDB on my LibreNMS server, I see that “hostname” and “sysName” are identical for that server (servername.mydomain.com).
However, I see that “hostname” and “SysName” are not the same for the network devices that are NOT showing log info in LibreNMS. Is that a requirement that they match for this to work?
Many thanks in advance. Below is the output of validate.php:
====================================
Component | Version |
---|---|
LibreNMS | 21.10.0-47-g5536c8bdc |
DB Schema | 2021_10_20_224207_increase_length_of_attrib_type_column (224) |
PHP | 7.4.3 |
Python | 3.8.10 |
MySQL | 10.3.31-MariaDB-0ubuntu0.20.04.1 |
RRDTool | 1.7.2 |
SNMP | NET-SNMP 5.8 |
====================================
[OK] Composer Version: 2.1.9
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct