On Thu 2016-Apr-28 13:13:35 +0100, James Bensley <[email protected]> wrote:

On 28 April 2016 at 12:50, Dale Shaw <[email protected]> wrote:
Hi James,
My memory's a bit hazy on this, but do you see everything you want to see if
you prefix the community string with a "@" in your cacti config?



Hi Dale,

As per my original email, I am prefixing the routing-instance name on
the SNMP get's;

snmpwalk -v 2c -c TEST-SNMP@SecretCommunity 10.254.242.1 .iso | grep ifDesc

Without the routing-instance name the SNMP gets timeout. I can prefix
it as default@SecretCommunity which will for example bring back all
the interfaces on the MX not in any VRf/routing-instance.

So it seems I have to specify a routing instance when using the config
from my original post, and I can specify "default@" to see interfaces
in the default table, I can also specify
A.Nother.Routing-Instance.Name@SecretCommunity and see interfaces in
that RI too, but nothing I can do seems to pull all interfaces when
making the SNMP get from within the RI when compared to making the get
from a host default.inet0.

Use a community of simply "@SecretCommunity", *WITHOUT* the actual RI specified. That will pull everything. It's a little weird, but it works.


Cheers,
James.

--
Hugo Slabbert       | email, xmpp/jabber: [email protected]
pgp key: B178313E   | also on Signal

Attachment: signature.asc
Description: Digital signature

_______________________________________________
juniper-nsp mailing list [email protected]
https://puck.nether.net/mailman/listinfo/juniper-nsp

Reply via email to