hi
I’ve a issue about peer IP diplay in my libre installation.
I use a Forcepoint firewall to made this VPN connection. But when I try to collect the VPN statistic, I see only a hex peer and not a IP peer.
this is my configuration:
[email protected]:~$ ./validate.php
Component | Version |
---|---|
LibreNMS | 22.7.0-14-ga214dbc8f |
DB Schema | 2022_07_03_1947_add_app_data (244) |
PHP | 7.4.3 |
Python | 3.8.10 |
MySQL | 10.3.34-MariaDB-0ubuntu0.20.04.1 |
RRDTool | 1.7.2 |
SNMP | 5.8 |
====================================
[OK] Composer Version: 2.3.10
[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]
[OK] Database schema correct
[OK] MySQl and PHP time match
[OK] Connected to rrdcached
[INFO] Detected Dispatcher Service
[OK] rrdtool version ok
[OK] Connected to rrdcached
[email protected]:~$
stonesoft.yaml
sensors:
pre-cache:
data:
-
oid:
- fwVpnEp4Remote
count:
data:
-
oid: fwVpnEp4Table
value: fwVpnEp4IpsecSa
num_oid: ‘.1.3.6.1.4.1.1369.5.2.1.13.1.7.{{ $index }}’
descr: “{{ $fwVpnEp4Remote }}”
SNMP[’/usr/bin/snmpget’ ‘-v2c’ ‘-c’ ‘inetworking’ ‘-OUQntea’ ‘-M’ ‘/opt/librenms/mibs:/opt/librenms/mibs/stonesoft’ ‘udp:192.168.152.3:161’ ‘.1.3.6.1.4.1.1369.5.2.1.13.1.7.71’ ‘.1.3.6.1.4.1.1369.5.2.1.13.1.7.72’ ‘.1.3.6.1.4.1.1369.5.2.1.13.1.7.73’ ‘.1.3.6.1.4.1.1369.5.2.1.13.1.7.74’ ‘.1.3.6.1.4.1.1369.5.2.1.13.1.7.75’ ‘.1.3.6.1.4.1.1369.5.2.1.13.1.7.76’ ‘.1.3.6.1.4.1.1369.5.2.1.13.1.7.77’ ‘.1.3.6.1.4.1.1369.5.2.1.13.1.7.78’ ‘.1.3.6.1.4.1.1369.5.2.1.13.1.7.79’]
.1.3.6.1.4.1.1369.5.2.1.13.1.7.71 = 1
.1.3.6.1.4.1.1369.5.2.1.13.1.7.72 = 1
.1.3.6.1.4.1.1369.5.2.1.13.1.7.73 = 0
.1.3.6.1.4.1.1369.5.2.1.13.1.7.74 = 2
.1.3.6.1.4.1.1369.5.2.1.13.1.7.75 = 0
.1.3.6.1.4.1.1369.5.2.1.13.1.7.76 = 1
.1.3.6.1.4.1.1369.5.2.1.13.1.7.77 = 3
.1.3.6.1.4.1.1369.5.2.1.13.1.7.78 = 3
.1.3.6.1.4.1.1369.5.2.1.13.1.7.79 = 1
Checking (snmp) count …
Checking (snmp) count …f…
Checking (snmp) count 4…y…
Checking (snmp) count PO<2…
Checking (snmp) count N…
Checking (snmp) count …
Checking (snmp) count …j…
Checking (snmp) count …
Checking (snmp) count .z.b…
Checking (snmp) count ^.#t…
Checking (snmp) count ?w…
Checking (snmp) count …]9…
Checking (snmp) count ]w.y…
Checking (snmp) count .\…
Checking (snmp) count .).!..
in fact, our system are unable to translate IP address in hex to IP in decimal.
have you got any idea?