Re: Collectd settings are about fetching the data or storing them?

David Hustace <[email protected]> Tue, 27 Nov 2018 10:39:53 -0500
Newsgroups gmane.network.opennms.general
Message-ID <[email protected]>
--===============5014851640116484923==
Content-Type: multipart/signed;
	boundary="Apple-Mail=_C899284D-CCA1-46A1-BF64-7E25846FCC8E";
	protocol="application/pgp-signature";
	micalg=pgp-sha256


--Apple-Mail=_C899284D-CCA1-46A1-BF64-7E25846FCC8E
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_A6E1C97A-46E4-42B9-A975-4BB8EA5902CF"


--Apple-Mail=_A6E1C97A-46E4-42B9-A975-4BB8EA5902CF
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii



> On Nov 26, 2018, at 08:04, Alexey Bakhmutov <[email protected]> =
wrote:
>=20
> Hi Team.
>=20
> Can you advice if it is a correct behaviour, that opennms collects =
data from all interfaces and stores only for ones, having flag =
snmpcollect?
> =46rom my perspective, it should not poll not marked.

Yes, this is the default behavior.  This happens for 2 reason, a) more =
efficient and less traffic on *most* devices and b) it prevents problems =
inherent with devices when SNMP indices randomly change for I think =
there is code in there to address that problem.

You can change that behavior with setting the following property =3D =
true

=
#org.opennms.netmgt.collectd.SnmpCollector.limitCollectionToInstances=3Dfa=
lse
=
org.opennms.netmgt.collectd.SnmpCollector.limitCollectionToInstances=3Dtru=
e



> Which settings can trigger additional getbulk request for interface =
aliases, not finishing previous ones?

That happens by default when using the SNMPv2c/v3 protocol.


I notice your Juniper.net address, are you working with the JunosSpace =
team?


David


David Hustace
The OpenNMS Group, Inc.

--Apple-Mail=_A6E1C97A-46E4-42B9-A975-4BB8EA5902CF
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;" class=3D""><br =
class=3D""><div><br class=3D""><blockquote type=3D"cite" class=3D""><div =
class=3D"">On Nov 26, 2018, at 08:04, Alexey Bakhmutov &lt;<a =
href=3D"mailto:[email protected]" =
class=3D"">[email protected]</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><div =
class=3D"WordSection1" style=3D"page: WordSection1; caret-color: rgb(0, =
0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;"><div style=3D"margin: 0cm 0cm 0.0001pt; =
font-size: 12pt; font-family: Calibri, sans-serif;" class=3D""><span =
lang=3D"EN-GB" style=3D"font-size: 11pt;" class=3D"">Hi Team.<o:p =
class=3D""></o:p></span></div><div style=3D"margin: 0cm 0cm 0.0001pt; =
font-size: 12pt; font-family: Calibri, sans-serif;" class=3D""><span =
lang=3D"EN-GB" style=3D"font-size: 11pt;" class=3D""><o:p =
class=3D"">&nbsp;</o:p></span></div><ol start=3D"1" type=3D"1" =
style=3D"margin-bottom: 0cm; margin-top: 0cm;" class=3D""><li =
class=3D"MsoListParagraph" style=3D"margin: 0cm 0cm 0.0001pt; font-size: =
12pt; font-family: Calibri, sans-serif;"><span lang=3D"EN-GB" =
style=3D"font-size: 11pt;" class=3D"">Can you advice if it is a correct =
behaviour, that opennms collects data from all interfaces and stores =
only for ones, having flag snmpcollect?<o:p =
class=3D""></o:p></span></li></ol><div style=3D"margin: 0cm 0cm 0.0001pt =
36pt; font-size: 12pt; font-family: Calibri, sans-serif;" class=3D""><span=
 lang=3D"EN-GB" style=3D"font-size: 11pt;" class=3D"">=46rom my =
perspective, it should not poll not =
marked.</span></div></div></div></blockquote><div><br =
class=3D""></div><div>Yes, this is the default behavior. &nbsp;This =
happens for 2 reason, a) more efficient and less traffic on *most* =
devices and b) it prevents problems inherent with devices when SNMP =
indices randomly change for I think there is code in there to address =
that problem.</div><div><br class=3D""></div><div>You can change that =
behavior with setting the following property =3D true</div><div><br =
class=3D""></div><div>#org.opennms.netmgt.collectd.SnmpCollector.limitColl=
ectionToInstances=3Dfalse</div><div>org.opennms.netmgt.collectd.SnmpCollec=
tor.limitCollectionToInstances=3Dtrue</div><div><br =
class=3D""></div><div><br class=3D""></div><br class=3D""><blockquote =
type=3D"cite" class=3D""><div class=3D"WordSection1" style=3D"page: =
WordSection1; caret-color: rgb(0, 0, 0); font-family: Helvetica; =
font-size: 14px; font-style: normal; font-variant-caps: normal; =
font-weight: normal; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none;"><div style=3D"margin: 0cm 0cm 0.0001pt 36pt; font-size: 12pt; =
font-family: Calibri, sans-serif;" class=3D""><span lang=3D"EN-GB" =
style=3D"font-size: 11pt;" class=3D""><o:p =
class=3D""></o:p></span></div><ol start=3D"2" type=3D"1" =
style=3D"margin-bottom: 0cm; margin-top: 0cm;" class=3D""><li =
class=3D"MsoListParagraph" style=3D"margin: 0cm 0cm 0.0001pt; font-size: =
12pt; font-family: Calibri, sans-serif;"><span lang=3D"EN-US" =
style=3D"font-size: 11pt;" class=3D"">Which settings can trigger =
additional getbulk request for interface aliases, not finishing previous =
ones?</span></li></ol></div></blockquote><div><br =
class=3D""></div><div>That happens by default when using the SNMPv2c/v3 =
protocol.</div><div><br class=3D""></div><div><br class=3D""></div><div>I =
notice your <a href=3D"http://Juniper.net" class=3D"">Juniper.net</a> =
address, are you working with the JunosSpace team?</div><div><br =
class=3D""></div><div><br class=3D""></div><div>David</div></div><br =
class=3D""><br class=3D""><div class=3D"">
<div dir=3D"auto" style=3D"caret-color: rgb(0, 0, 0); color: rgb(0, 0, =
0); letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: =
break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" =
class=3D""><div style=3D"color: rgb(0, 0, 0); letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: =
break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" =
class=3D"">David Hustace<br class=3D"">The OpenNMS Group, Inc.<br =
class=3D""></div></div></div></body></html>=

--Apple-Mail=_A6E1C97A-46E4-42B9-A975-4BB8EA5902CF--

--Apple-Mail=_C899284D-CCA1-46A1-BF64-7E25846FCC8E
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iQIzBAEBCAAdFiEEM8HVsB3Payb01u1DmyrG1LpC+MIFAlv9ZUkACgkQmyrG1LpC
+ML7/RAAuMrh8v9whjFSE6HMkOTUaDXzmCmUpUWoOPysgph9msWfmmh74cS12kF7
1q2gDIF8bCWX5n5/FbC084H5v47w+fjuHP3kMbJadjnrXE+RyMz1RAOKPI47WLjb
2xgCoWFIvOvXimfBvDdrlQfObdlAQ3KwtFhE+AlUvk8+BBiH/lULcLizpBWDtn2q
29C3dzLBxbi1xDEG86rIvnr4c5IFSMafjTg0Rhr9BQn6VRjTK5gPu5oI7I0B3rQK
JHoLdw6+C/FG3ugCshFVu1VqdaZP9ldsru1PCndIBGTPguuI6cF6SGZcO3YLye+S
uaeJkFotTh/sbhM1gU51qUOzCPjln5wb/i+bEMx/zod5Hlg2Ho5luoltwZ77CKnn
qz6eXmKJG22HOnluoJqg8nkw82qGx4kDG0PRhJyy39OExzWsQdMT3Hw8bAl1qEpk
MEBwtmqqP2jahj8qZi3e3NsrA3HHwU8jWkL96LDfLk9ENXLdSNrePwNXDHBLy53w
Ih1Y5RYn3fqNuaMKpBopt6RGu20z7jqSdO0bjKsfwSEwD7rrRJ33BzpA8EAbLUIH
csfum4X+4DLg2tQNeGcLQmzPyBI8foZ9exuqDm7kzEB4D+yrYseGBi1Al8YkNkza
EvsD9TNWvstLPEulEyRjFumS7QTQMGo27desVQX+oFdFhJeRva0=
=ybES
-----END PGP SIGNATURE-----

--Apple-Mail=_C899284D-CCA1-46A1-BF64-7E25846FCC8E--


--===============5014851640116484923==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============5014851640116484923==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
--===============5014851640116484923==--