SNMP Traps Handling

librenms@librenms:~$ ./validate.php

Component Version
LibreNMS 23.11.0-55-g6bea8cffa (2023-12-20T19:21:40+04:00)
DB Schema 2023_12_15_105529_access_points_nummonbssid_integer (276)
PHP 8.1.2-1ubuntu2.14
Python 3.10.12
Database MariaDB 10.6.12-MariaDB-0ubuntu0.22.04.1
RRDTool 1.7.2
SNMP 5.9.1
===========================================

[OK] Composer Version: 2.6.6
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database Schema is current
[OK] SQL Server meets minimum requirements
[OK] lower_case_table_names is enabled
[OK] MySQL engine is optimal
[OK] Database and column collations are correct
[OK] Database schema correct
[OK] MySQl and PHP time match
[OK] Active pollers found
[OK] Dispatcher Service not detected
[OK] Locks are functional
[OK] Python poller wrapper is polling
[OK] Redis is unavailable
[OK] rrd_dir is writable
[OK] rrdtool version ok

Hello I have an issue regarding snmp trap handling.

I have followed instruction that was given is LibreNMS Docs page: SNMP Trap Handler - LibreNMS Docs

Because I am using Ubuntu, I have followed Option 2.

I’m getting traps in Event log page but definitely there is some misconfiguration.

Hi @Irakli

Welcome to LibreNMS Community! :sunglasses:

Try, in your OIDs, replacing where you put “ISO” with “1”.

Example:

iso.3.6.1.4.1.9.9.412.1.1.1.0 for 1.3.6.1.4.1.9.9.412.1.1.1.0

I hope it helps you.

Regards

Hi @aleferrari
Thanks for your reply,

can you explain how can I change it? I didn’t get it. :roll_eyes:

Does anyone know how to change OID’s ?