I like to folow events with a tail -f of a text log file. With Icinga 1, the log file gave me all I needed:
[1484760372] HOST ALERT: foobar;DOWN;SOFT;1;CRITICAL - Host Unreachable (192.168.2.13) [1484760442] HOST ALERT: foobar;DOWN;SOFT;2;CRITICAL - Host Unreachable (192.168.2.13) [1484760512] HOST ALERT: foobar;DOWN;HARD;3;CRITICAL - Host Unreachable (192.168.2.13) [1484760512] HOST NOTIFICATION: icinga;foobar;DOWN;notify-host-by-email;CRITICAL - Host Unreachable (192.168.2.13) With Icinga 2, I don't know have to have the same. I tried: object FileLogger "event-file" { severity = "information" path = "/var/log/icinga2/info.log" } Then, I have a file but filled mostly with useless (to me) IDO messages: [2017-01-18 21:01:03 +0000] information/IdoPgsqlConnection: Query queue items: 0, query rate: 3.33333/s (200/min 1024/5min 3065/15min); [2017-01-18 21:01:18 +0000] information/IdoPgsqlConnection: Query queue items: 0, query rate: 3.35/s (201/min 1014/5min 3067/15min); [2017-01-18 21:01:33 +0000] information/IdoPgsqlConnection: Query queue items: 0, query rate: 3.35/s (201/min 1013/5min 3068/15min); I also tried: object FileLogger "problem-file" { severity = "warning" path = "/var/log/icinga2/problem.log" } And this time the log file is empty, even when I unplug a machine. _______________________________________________ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users