/srv/irclogs.ubuntu.com/2020/07/27/#ubuntu-server.txt

jamespageicey: I've MIR reviewed all of the octavia packages (and associated depends).  Majority need security review as well (assigned to security team) and there are a couple of non-blocking recommendations as well06:10
iceycool - how would you feel reviewing the sqlalchemy-utils one?06:11
icey:-D06:11
iceyoh jamespage - looks like you also did that already, thanks :)06:16
jamespageI did06:16
skyliteI just checked my mysql status with systemctl and I see: Status: "InnoDB: Error: Database page corruption on disk or a failed file read of tablespace..." I wonder if anyone has a tool that sends email alerts when something like this occurs?09:56
skyliteare there any good tools for that?09:57
RoyKskylite: I use zabbix for that sort of things, but I would guess systemd has some setting for it somewhere?10:43
skyliteRoyK: Im looking into it in #systemd it's not that easy by default10:44
skylitebut thanks10:44
RoyKskylite:  OnFailure=notify-failed@%n10:50
RoyKnot that?10:50
RoyKhttps://serverfault.com/questions/694818/get-notification-when-systemd-monitored-service-enters-failed-state/70110010:51
skyliteno this is only for notifying if the service is down10:52
skylitefor example my mysql is not down I just have a corrupted table for instance10:53
skyliteI would see that in the StatusText10:53
RoyKI see10:55
RoyKwell, I would just write a zabbix check for that if there isn't anything available already, but then, you'll need to setup zabbix first which my be a bit overkill for monitoring a single machine10:56
skyliteI'm using datadog I'll check if they have a solution for this one10:57
skyliteI already have a command that gives me the last StatusText back for a service10:57
skyliteIf nothing I'll write a shell script that alerts me on change10:57
RoyKshould work11:06
RoyKor just pipe it though sed or awk or perl or python or something to look for bad signs11:06
RoyKskylite: something like this: if $(systemctl status mysql | grep -i error > /dev/null 2>&1 ) ; then echo No error ; else echo FAIL! ; fi11:10
skylitesure but I'm thinking I want to somehow save the last status and alert if it changes11:11
skyliteI feel like I need to know everything for now :D11:11
RoyKskylite: you may be able to get some ideas from this https://share.zabbix.com/operating-systems/systemd-service-monitoring11:22
RoyKit's way broader, though, but possibly worth a look11:23
RoyKskylite: erm - sorry - forget about that - it just shows status, not details11:26
RoyKit'd be nice i systemctl could output its status in some parsable format like json or something11:29
skyliteI bet it can11:29
RoyKcouldn't find anything in the manual11:30
skylitebusctl get-property org.freedesktop.systemd1 /org/freedesktop/systemd1/unit/mysqld_2eservice org.freedesktop.systemd1.Service StatusText11:30
skylitethis gives me back only the StatusText string11:30
skylitefor mysql11:30
RoyKshould be ok to script then11:41
=== klokken is now known as iopl
=== iopl is now known as klokken

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!