From lorenz at vulgrim.de Sat Oct 5 09:42:24 2024 From: lorenz at vulgrim.de (Lorenz) Date: Sat, 5 Oct 2024 09:42:24 +0200 Subject: check_http and Hetzner DNS In-Reply-To: References: <23EDE31F-E2B0-4B07-BFA4-68F699748CC1@gmx.de> Message-ID: Hi, slightly late, but I would like to add a recommendation here: Try `check_curl`, it should do the "right thing" thing in most cases (aka act like most of the HTTP applications do). Kind regards Lorenz -------------- next part -------------- A non-text attachment was scrubbed... Name: OpenPGP_signature.asc Type: application/pgp-signature Size: 840 bytes Desc: OpenPGP digital signature URL: From daniel at bonmot.ca Sun Oct 6 13:49:29 2024 From: daniel at bonmot.ca (Daniel MacKay) Date: Sun, 6 Oct 2024 08:49:29 -0300 Subject: check_http and Hetzner DNS In-Reply-To: References: <23EDE31F-E2B0-4B07-BFA4-68F699748CC1@gmx.de> Message-ID: I built one that takes a parameter: a string that you expect to see in the returned HTML. The simple one would be ?? of course but there could be more interesting uses. > On Oct 5, 2024, at 04:42, Lorenz wrote: > > Hi, > slightly late, but I would like to add a recommendation here: > Try `check_curl`, it should do the "right thing" thing in most cases (aka act like most of the HTTP applications do). > > Kind regards > Lorenz From dan.fratean at lifeishard.ro Mon Oct 7 10:59:41 2024 From: dan.fratean at lifeishard.ro (Dan Fratean) Date: Mon, 7 Oct 2024 09:59:41 +0100 Subject: mysql_check lag Message-ID: Hello! We are using your tools and they are great. I have a question though. When I use mysql_check the first alert it sends is when the slave is behind master for more than 86400 seconds. Is this a threshold we can set somewhere? It is pretty useless to know you have 1 day old data instead of 1h old data. Thank you! Dan -------------- next part -------------- An HTML attachment was scrubbed... URL: From lorenz at vulgrim.de Tue Oct 8 16:21:51 2024 From: lorenz at vulgrim.de (Lorenz) Date: Tue, 8 Oct 2024 16:21:51 +0200 Subject: mysql_check lag In-Reply-To: References: Message-ID: <0a019440-1ba8-4db0-923a-75dd362d642b@vulgrim.de> Hi Dan, you should be able to set thresholds for that with the `--warning` and `--critical` parameters. To quote the help output: ``` -w, --warning Exit with WARNING status if slave server is more than INTEGER seconds behind master -c, --critical Exit with CRITICAL status if slave server is more then INTEGER seconds behind master ``` Kind regards Lorenz On 07.10.24 10:59, Dan Fratean wrote: > Hello! > > We are?using your tools and they are great. I have a question though. > When I use mysql_check the first alert it sends is when the slave is > behind master for more than 86400 seconds. Is this a threshold we can > set somewhere? It is pretty useless to know you have 1 day old data > instead of 1h old data. > > Thank you! > > Dan -------------- next part -------------- A non-text attachment was scrubbed... Name: OpenPGP_signature.asc Type: application/pgp-signature Size: 840 bytes Desc: OpenPGP digital signature URL: