From 61415eee6e882e6885d6268395014a2034fbb550 Mon Sep 17 00:00:00 2001 From: Oliver Gorwits Date: Mon, 3 Oct 2016 21:11:01 +0100 Subject: [PATCH] add config note about cached community strings --- Netdisco/lib/App/Netdisco/Manual/Configuration.pod | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Netdisco/lib/App/Netdisco/Manual/Configuration.pod b/Netdisco/lib/App/Netdisco/Manual/Configuration.pod index 65baa616..28b59461 100644 --- a/Netdisco/lib/App/Netdisco/Manual/Configuration.pod +++ b/Netdisco/lib/App/Netdisco/Manual/Configuration.pod @@ -575,7 +575,7 @@ configuration. For SNMPv1 and SNMPv2, only the C key is required. Unlike the global C/C setting, this is not a list but a single item. To emulate their list behaviour, have multiple entries at the top -C level, as in the example above. +C level, as in the example below. You can add C and/or C restrictions, and an IP restriction using C. Giving the stanza a C name is optional, but recommended. @@ -596,7 +596,7 @@ key to a stanza to override this. Note that multiple SNMP v2 community strings need to be in separate named stanza, as below. However for simple v2 configurations you can use the -C shorthand: +C shorthand instead: snmp_auth: - tag: 'default_v2_readonly1' @@ -607,6 +607,11 @@ C shorthand: # or... community: ['read1', 'read2'] +Netdisco caches both the successful SNMPv2 read and write community strings, +as well as the C names if available. This allows for faster operations +once a connection has already been made to a device. When you delete a device, +the community strings are removed but the C hints remain, for future use. + =head3 C Value: String. Default none.