collectdThe collectd module provides collectd support for Reconnoiter. The collectd modules listens on a UDP port and waits for metrics to come from a collectd agent. It also provides support for signing and encrypting metrics from the collectd agent, which is supported in version 4.7.0 and above. Only one is supported per target.Additionally, this module registers a REST handler to support collectd's write_http output plugin. This exposes a REST endpoint at /module/collectd.Ccollectd.soMaximum length of the host field [64, 256].Maximum length of the plugin field [64, 256].Maximum length of the plugin_instance field [64, 256].Maximum length of the type_instance field [64, 256].Maximum length of the type_instance field [64, 256].Report metrics asthey arrive, not on the period provided.The port which collectd packets are receivedSpecify whether collectd notifications are acted upon.An integer detailing the security level which to allow. 0 for all packets allowed, 1 for signed and encrypted packets allowed, 2 for only encrypted packets allowed.The collectd username for authenticating signed and encrypted packets. Also the username used for HTTP authentication when using the write_http ingestion method.The collectd password for authenticating signed and encrypted packets. Also the password used for HTTP authentication when using the write_http ingestion method.Report metrics asthey arrive, not on the period provided.An integer detailing the security level which to allow. 0 for all packets allowed, 1 for signed and encrypted packets allowed, 2 for only encrypted packets allowed.The collectd username for authenticating signed and encrypted packets. Also the username used for HTTP authentication when using the write_http ingestion method.The collectd password for authenticating signed and encrypted packets. Also the password used for HTTP authentication when using the write_http ingestion method.Simple encrypted passive checking.The following example allows a collectd agent to send any metric to the noit
system. In this example the collectd agent must be version 4.7.0 to support encryption
and must be configured with parameters similar to the ones below. Like the snmptrap
module the collectd disregards the timeout value completely, but uses the period to
batch all the checks in one commit. If there are >1 metrics within the period the
check is marked as G and A for state and availability respectively. The first program
listing shows a collectd configuration and the second listing shows the corresponding
check configuration in reconnoiter.
SecurityLevel "encrypt"
Username "us3rname"
Password "s3cr3t"
User "us3rname"
Password "s3cr3t"
VerifyPeer false
VerifyHost false
CACert "/etc/ssl/ca.crt"
Format "JSON"
StoreRates false
]]>us3rnames3cr3t2
]]>