Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Decoder = &decoder.StreamDecoder{ Type: types.Type_NC_Zabbix, Name: serviceZabbix, Description: "Zabbix is a network monitoring protocol for collecting metrics and monitoring infrastructure health", PostInit: func(d *decoder.StreamDecoder) error { var err error zabbixLog, _, err = logging.InitZapLogger( decoderconfig.Instance.Out, "zabbix", decoderconfig.Instance.Debug, ) return err }, CanDecode: func(client, server []byte) bool { if len(client) >= 5 && bytes.Equal(client[:5], zabbixMagic) { return true } if len(server) >= 5 && bytes.Equal(server[:5], zabbixMagic) { return true } return false }, DeInit: func(sd *decoder.StreamDecoder) error { return zabbixLog.Sync() }, Factory: &zabbixReader{}, Typ: core.TCP, }
Decoder for protocol analysis and writing audit records to disk.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.