[08:26:25] is there some way to see expired icinga downtimes? [08:29:01] <_joe_> you mean downtimes that expired in the past? [08:29:08] yes [08:29:14] <_joe_> I guess grepping the event log is probably the best way to do it :P [08:29:28] ah, i was unprepared for that level of sophistication :) [08:29:54] <_joe_> always happy to contribute to your work satisfaction, kormat [08:30:00] :D [08:30:42] <_joe_> cas-icinga is not working this morning, is that known moritzm? [08:30:52] it's working for me [08:31:34] <_joe_> let me clear my cookies then [08:32:38] <_joe_> ok works now [08:32:46] _joe_: there was an issue with that (https://github.com/apereo/mod_auth_cas/issues/186) leading to a redirect loop. [08:33:25] i feel like i'm being trolled here. `/var/log/icinga/icinga.log` was rotated at midnight UTC, but there's no icinga.log.1, and `/var/log/icinga/archives` is empty ಠ_ಠ [08:33:58] kormat: its /srv/icinga-logs/ [08:34:20] jayme: ahh. so obvious. thanks :) [08:34:36] you will be trolled there as well by the filenames ... you'll see :) [08:34:48] just seen, yeah. wow. [08:35:06] plus unix time as timestamps is 🛒 too [08:35:31] oh, yes. Forgot to mention: You will be also trolled by the file content :D [08:35:50] <_joe_> it's just some simple awk [08:36:00] <_joe_> to extract something vaguely readable [08:36:02] it's simply awkward [08:36:52] <_joe_> ok then, just use perl [08:40:23] yeah, that was one time change in the config which affected pre-existing cookies [13:02:59] kormat: my ~/.zsh_history on icinga1001 has some nice recipes for grepping the icinga state file [13:03:31] (not the logs, the retention.dat) [13:04:02] i can only imagine the horrors it holds [13:19:46] <_joe_> kormat: less complains it's a binary file [13:23:45] _joe_: that's simple self-preservation on less' part [14:12:47] perhaps /usr/local/bin/icinga-status could be expanded to also parse retension.dat [14:16:25] perhaps we could have a cronjob that looks for any commands run by cdanis that have more than one `|` in them and kill -SEGV them. [14:17:29] I'll just start using <() [14:23:59] ah yes, the dunce cap operator [14:24:12] good morning btw [14:28:25] wow, I feel so bullied [20:56:39] I never thought to make this face: 8<() [20:56:43] and I don't know what it would mean [20:56:47] but that's todays mystery [20:58:29] that's the "cut here" operator [22:40:54] does that send the output of a subshell to FD8?