Griesbacher / nagflux

A connector which copies performancedata from Nagios / Icinga(2) / Naemon to InfluxDB
GNU General Public License v2.0
66 stars 32 forks source link

Nagios XI: The notification type is unkown:HOST NOTIFICATION #10

Closed gitmopp closed 8 years ago

gitmopp commented 8 years ago

Nagios XI 5.2.9 with check_mk livestatus 1.2.6p12 Nagflux reports: Warn: Could not detect livestatus type, with version: 1.2.6p12 asuming Nagios

Collecting of HOST notification fails: 2016-06-17 12:47:39 Warn: The notification type is unkown:HOST NOTIFICATION 2016-06-17 12:47:39 Warn: HOST NOTIFICATION, undefinded linelenght: 8 Line:[HOST NOTIFICATION 1466160387 testuser123 [1466160387] HOST NOTIFICATION: testuser123 My_Router UP notify-host-by-email OK - 10.206.173.121: rta 48.516ms, lost 0%]

In Collector.go line 200 the data structure for a length of 8 fields is missing. I don' t know which fields are expected by nagflux.

By the way there is a typo linelenght -> line length.

Griesbacher commented 8 years ago

Thanks for the addition!