Fix query for nagios alerts on unsent social media broadcasts
authorMagnus Hagander <magnus@hagander.net>
Tue, 23 Jul 2024 13:02:11 +0000 (15:02 +0200)
committerMagnus Hagander <magnus@hagander.net>
Tue, 23 Jul 2024 13:02:11 +0000 (15:02 +0200)
commitd520de752dc4c4592eb1f258a58f5948a7254416
treeac4b3a45123148326c6463513f86789a6f4037a7
parentd70943d9469763819a4c9da67a9be20a19009a1c
Fix query for nagios alerts on unsent social media broadcasts

As of 45b8e2e9, we update the sent column to be True while leaving
unsent providers in the linked table (so we can keep track of which
succeeded and which failed). The nagios check never got the memo about
that one, so it didn't check the sent column, only the linked table,
when in fact it's now enough to *just* check the sent column. So do
that.
postgresqleu/util/monitor.py