I’m currently trying to add Checkpoint VSX gateways and their virtual systems to LibreNMS. On a VSX gateway you can access the virtual systems by setting the snmp option -n (for a context name).
I’ve already seen that in the includes/snmp.inc.php the snmpv3 code is already prepared to set option -n however I can’t find a textfield in the interface to set a value for that key and it seems to be missing in the database.
I was wondering if I was only looking at the wrong places or if the feature isn’t implemented yet.
I’ve just managed to add one. However I had to patch the addhosts and edithosts interface for the additional SNMPv3 context name setting and create a database field to store that setting. I can now poll the interfaces and other OIDs under that communits.
Yes one small thing more is that you most probably need to add “$config[‘allow_duplicate_sysName’] = true;” this to the config.php file so you can have multiple names with the same IP like vs1, vs2 and so on.