[collectd] CollectD Notifications in SNMP Traps

Manuel Luis Sanmartín Rozada manuel.luis at gmail.com
Sat Feb 8 19:49:25 CET 2014


Hello.

I've done a plugin that sends notifications as snmp traps for integrate
collectd
notifications with other systems, and It works well for me.

The configuration is like this:

LoadPlugin notify_snmp
<Plugin notify_snmp>
  <OIDs collectd>
    EnterpriseOID    "SNMPv2-SMI::experimental.100"
    TrapOID           "SNMPv2-SMI::experimental.100.2"
    SeverityOID       "SNMPv2-SMI::experimental.100.1.1"
    HostOID           "SNMPv2-SMI::experimental.100.1.2"
    PluginOID         "SNMPv2-SMI::experimental.100.1.3"
    PluginInstanceOID "SNMPv2-SMI::experimental.100.1.4"
    TypeOID           "SNMPv2-SMI::experimental.100.1.5"
    TypeInstanceOID   "SNMPv2-SMI::experimental.100.1.6"
    DataSourceOID     "SNMPv2-SMI::experimental.100.1.7"
    ValueOID          "SNMPv2-SMI::experimental.100.1.8"
    MessageOID        "SNMPv2-SMI::experimental.100.1.9"
    TimeStampOID      "SNMPv2-SMI::experimental.100.1.10"
  </OIDs>
  <Target snmphost>
    Address "192.168.1.100:162"
    Version 2
    Community "public"
    OIDs collectd
  </Target>
</Plugin>

I you are interested I can do a pull request of this plugin in github.



On Fri, Feb 7, 2014 at 8:17 PM, David H <davidhalko at gmail.com> wrote:

> Hello List!
>
> I have been following collectd for many years and I have been somewhat
> surprised not to see SNMP Traps supported as a notification output
> mechanism.
>
> I do not see it anywhere on the "roadmap" page. Since the NET-SNMP
> library is already being linked, this seems like it might be pretty
> trivial.
>
> Has there been any consideration for making this possible?
>
> Thanks,
> David Halko
>
> _______________________________________________
> collectd mailing list
> collectd at verplant.org
> http://mailman.verplant.org/listinfo/collectd
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20140208/dd52187e/attachment.html>


More information about the collectd mailing list