This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.
When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
Fluentd filter plugin to do something.
This is a filter plugin for SNMP V2 traps. The plugin check the SNMP messages and maps the OID and associated values in SNMP Traps. It adds machineID, event, SNMP Trap type, host, status of machine, severity, device and message to events received. It detects the SNMP Traps based on the format : The OID is of the format /SNMPv2-(\w+)(::)(\w+)((.)(\d+)){1,13}/
Machin ID format HPE::
Events detected: Power ON Power OFF
$ gem install fluent-plugin-process-snmptrap
Add following line to your Gemfile:
gem "fluent-plugin-process-snmptrap"
And then execute:
$ bundle
You can generate configuration template:
$ fluent-plugin-config-format filter process_snmptrap
- Copyright(c) 2018- aj-rame3/Microsoft