Hi
Following Checkpoint Tip ( https://community.checkpoint.com/t5/Enterprise-Appliances-and-Gaia/How-to-Monitor-Concurrent-VPN-users-connected-to-a-Gateway-OID/td-p/79897 ), I’ve created a custom OID returning the number of connected VPN users. It returns a string, as follow:
$ snmpwalk 123.123.123.123 -v2c -c comunity 1.2.3.4.5.6.7.8.15.4.1.2.15.112.114.111.99.101.115.115.95.109.111.110.105.116.111.114.1
iso.2.3.4.5.6.7.8.15.4.1.2.15.112.114.111.99.101.115.115.95.109.111.110.105.116.111.114.1 = STRING: “102”
After that, I’ve added in LibreNMS, a custom OID to my device.
If I “Test OID” the response is correct. (values between 20 and 100)
But when I go to Graphs - Custom OID, the values shown are incorrected!
What am I doing wrong???
====================================
Component | Version
--------- | -------
LibreNMS | 1.67-29-ge0a076455
DB Schema | 2020_08_28_212054_drop_uptime_column_outages (173)
PHP | 7.2.24-0ubuntu0.18.04.7
Python | 3.6.9
MySQL | 10.1.47-MariaDB-0ubuntu0.18.04.1
RRDTool | 1.7.0
SNMP | NET-SNMP 5.7.3
====================================