JunOS autodiscovery where SNMP is in a routing-instance
![](https://secure.gravatar.com/avatar/a8f7f23f357ea6a471f31f31a374575f.jpg?s=120&d=mm&r=g)
Hi,
I’ve been reading up on how to interact with a JunOS device where the SNMP agent is contained in a VRF (Routing Instance).
In order to poll it properly, I’m required to use '<Routing_Instance_Name>@commmunity' instead of just ‘community’.
I think I’ve covered this off in the config.php by adding the equivalent to the proper array:
$config['snmp']['community'] = array(“comm",”MANAGEMENT@comm”);
While reading up on the autodiscovery process itself in the documentation, it says:
"Devices must return valid, resolvable sysName”
When I poll it manually, sysName returns <Routing_Instance_Name>@hostname:
SNMPv2-MIB::sysName.0 = STRING: MANAGEMENT@lab01.juniper
Does that mean MANAGEMENT@lab01.juniper needs to resolve, or will Observium truncate MANAGEMENT@ when trying to resolve the rest of what is in sysName?
Thanks!
participants (1)
-
Jason Lixfeld