Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶ added in v0.2.0
type Configuration struct { SNMPDestination string SNMPRetries uint SNMPCommunity string DescriptionTemplate template.Template }
Configuration describes the configuration for sending traps
type TrapSender ¶
type TrapSender struct {
// contains filtered or unexported fields
}
TrapSender sends traps according to given alerts
func (TrapSender) SendAlertTraps ¶
func (trapSender TrapSender) SendAlertTraps(alertBucket types.AlertBucket) error
SendAlertTraps sends a bucket of alerts to the given SNMP connection
Click to show internal directories.
Click to hide internal directories.