Re: Monit start on server boot

2014-06-27 Thread Paul Theodoropoulos
uce mack...@me.com -- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general -- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general -- Paul Theodoropoulos www.anastrophe.com -- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general

Re: Restart with mmonit

2014-06-30 Thread Paul Theodoropoulos
have mmonit monitor and it restarts the service. Any ideas what I can look at? Thanks Bruce mack...@me.com -- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general -- Paul Theodoropoulos www.anastrophe.com -- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general

Not understanding 'Program Status Testing'

2014-07-21 Thread Paul Theodoropoulos
14:40:47 I've forced the test to be highly sensitive so that it will changed from an exit of 0 to 1 every few minutes, well within my monitoring window - but again, I never get a status other than 1 in monit status, and thus never get an alert. Am I doing something wrong? Misunderstanding? -- Paul Theodoropoulos www.anastrophe.com -- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general

Re: Not understanding 'Program Status Testing'

2014-07-23 Thread Paul Theodoropoulos
s to do so. I have of course tried reversing the status checks, etc - no joy. So I'm still stuck. 2014-07-21 23:44 GMT+02:00 Paul Theodoropoulos <mailto:p...@anastrophe.com>>: I have a daemon which I want to monitor specific status. I've created the following scr

Re: Not understanding 'Program Status Testing'

2014-07-23 Thread Paul Theodoropoulos
On 7/23/14 1:06 PM, Paul Theodoropoulos wrote: Which is all great - except that it never generates an alert! I've confirmed that my other checks generate alerts - only this one fails to do so. I have of course tried reversing the status checks, etc - no joy. So I'm still stuck.

Re: Not understanding 'Program Status Testing'

2014-07-23 Thread Paul Theodoropoulos
On 7/23/14 1:39 PM, Paul Theodoropoulos wrote: I'd be awfully surprised if I've found a bug, but I'm fully at a loss at this point. And no sooner than I wrote this, did I realize the error of my ways: Was: alert p...@anastrophe.com with reminder on 5 cycle alert 55...

service uptime reports, mmonit?

2014-11-15 Thread Paul Theodoropoulos
#x27; m/monit to our CTO, but if service uptimes aren't available, I'll have to keep nagios running in parallel to get those metrics, but that then makes it harder to justify to the CTO purchasing m/monit (we're a small startup, like almost everybody else in the world)... Thanks fo

cron style service poll time not functioning since update to 5.10

2014-11-17 Thread Paul Theodoropoulos
servercomm-db1 with path /usr/local/bin/check_server_wrapper with timeout 25 seconds not every "40-50 0 * * *" I checked the manual, and that appears to be a valid config. Thoughts? -- Paul Theodoropoulos www.anastrophe.com -- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general

Re: cron style service poll time not functioning since update to 5.10

2014-11-17 Thread Paul Theodoropoulos
On 11/17/14 2:29 PM, Jan-Henrik Haukeland wrote: On 17 Nov 2014, at 19:28, Paul Theodoropoulos wrote: I have a service check that I disable while backups are running on a particular server. Since upgrading from 5.8.1 to 5.10, the cron declaration appears to no longer work - I've st

Re: cron style service poll time not functioning since update to 5.10

2014-11-18 Thread Paul Theodoropoulos
master.tar.gz cd tildeslash* ./bootstrap ./configure make Regards, Martin Thanks very much Martin, I will give it a try. -- Paul Theodoropoulos www.anastrophe.com -- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general

Re: service uptime reports, mmonit?

2014-11-18 Thread Paul Theodoropoulos
age when you click on the host entry in the table. Regards, Martin You have made me a very happy person today. :) Thanks so much. I'm completely thrilled with the combo of monit and m/monit. -- Paul Theodoropoulos www.anastrophe.com -- To unsubscribe: https://lists.nongnu.org/mailman/

Re: cron style service poll time not functioning since update to 5.10

2014-11-19 Thread Paul Theodoropoulos
master.tar.gz cd tildeslash* ./bootstrap ./configure make Regards, Martin The dev build worked as expected last night, no alerts during the designated no-alerts interval. Thanks very kindly! -- Paul Theodoropoulos www.anastrophe.com -- To unsubscribe: https

monit status/summary

2014-12-05 Thread Paul Theodoropoulos
Status ok System 'xxx-yy-zzz-db1-primary' Running Is this by design, and if so, I'm curious what the rationale is. Obviously it's not a problem, it just pique's my interest. -- Paul Theodoropoulos www.anastrophe.com -- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general

Re: monit status/summary

2014-12-09 Thread Paul Theodoropoulos
ation file. Regards, Martin On 06 Dec 2014, at 02:51, Paul Theodoropoulos wrote: I've noticed that both monit status and monit summary output their info in reverse alpha order (with the exception of the 'system'), like so: Process 'syslogd'

pagerduty integration with M/Monit

2015-02-10 Thread Paul Theodoropoulos
then it reports "localhost failed on (my monit server)". The pagerduty trigger/resolve scripts only take one argument. Their integration page: http://www.pagerduty.com/docs/guides/monit-integration-guide/ Thoughts? -- Paul Theodoropoulos www.anastrophe.com -- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general

Re: pagerduty integration with M/Monit

2015-02-10 Thread Paul Theodoropoulos
On 2/10/15 12:30 PM, Christopher Wood wrote: On Tue, Feb 10, 2015 at 12:19:16PM -0800, Paul Theodoropoulos wrote: I'm trying to use pagerduty for alerting. I use M/Monit as the one-stop gateway for all alert management. Since I'd rather not have to modify several hundred monito

Re: pagerduty integration with M/Monit

2015-02-10 Thread Paul Theodoropoulos
On 2/10/15 12:51 PM, Paul Theodoropoulos wrote: Thanks Christopher. It sort of works, like the other sort of works - it generates the alert like this (no harm in exposing our internal hostnames): cron_mia-web-a-pre failed on nuq-aws-netman-ng So. Sort of, again. Lists the process that

Re: pagerduty integration with M/Monit

2015-02-10 Thread Paul Theodoropoulos
e event: you must set the PAGERDUTY_SERVICE_KEY variable." exit 1 elif [ ! -x "/usr/local/bin/pagerduty" ]; then echo "Failed to resolve event: /usr/local/bin/pagerduty does not exist or is not executable." exit 1 fi #EVENT=$1 #HOST=`hostname -s` INCIDENT_KEY=`ech

Re: How to handle locked/frozen monit?

2015-03-08 Thread Paul Theodoropoulos
ubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general -- Paul Theodoropoulos www.anastrophe.com -- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general

Re: How to handle locked/frozen monit?

2015-03-08 Thread Paul Theodoropoulos
tting this once before, and I think what it required was to comment out monit from the /etc/inittab, then I was able to kill it. I think. It was a while back. -- Paul Theodoropoulos www.anastrophe.com -- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general

Re: Conditionally check file content

2015-06-17 Thread Paul Theodoropoulos
ot exist at all, which is ok. How would you do that? My current clause gives me a read flag in mmonit when the file does not exist: check file myapp-err.log with path /var/www/myapp/log/myapp-err.log if match "^.*FATAL.*$" then alert Thanks Ben -- To unsubscribe:

Re: Conditionally check file content

2015-06-19 Thread Paul Theodoropoulos
Just ensure the file is always there - 'touch filename' from a cron job or some such. -- Paul Theodoropoulos www.anastrophe.com -- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general

Re: Avoid alert on log rotation

2015-11-05 Thread Paul Theodoropoulos
IN GEEK CODE BLOCK- Version: 3.1 GCS/IT d(+) s++:- a C++$ ULC(+)>+++$ !P--- L+>$ !E---? W+++$ !N* !o-- K--? w(+) !O---? !M- !V--? PS+? !PE Y+ PGP++>+++ !t-- !5 !X- R(+)>++* tv-? b(-) DI !D- G(+)>+ e+++ h--() r->$ y?* --END GEEK CODE BLOCK-- -- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general -- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general -- Paul Theodoropoulos www.anastrophe.com -- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general

Re: Unable to stop monit

2016-02-09 Thread Paul Theodoropoulos
message in context: http://nongnu.13855.n7.nabble.com/Unable-to-stop-monit-tp208452.html Sent from the monit-general mailing list archive at Nabble.com. -- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general -- Paul Theodoropoulos www.anastrophe.com -- To unsubscribe: https

Baffling status failure to alert

2016-03-11 Thread Paul Theodoropoulos
nitoring status Monitored last started Fri, 11 Mar 2016 15:42:36 last exit value 0 data collectedFri, 11 Mar 2016 15:42:36 What am I missing? -- Paul Theodoropoulos www.anastrophe.com -- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general

Re: Baffling status failure to alert

2016-03-12 Thread Paul Theodoropoulos
d on Monit side or in M/Monit? Best regards, Martin On 12 Mar 2016, at 01:01, Paul Theodoropoulos <mailto:p...@anastrophe.com>> wrote: I'm stumped. I have an ugly little script to alert me if today's backup of a database is smaller than the one from yesterday (and the

Fwd: Re: Baffling status failure to alert

2016-03-12 Thread Paul Theodoropoulos
M/Monit and was processed by M/Monit's Rule manager, but didn't match any rule ... please check the "Admin -> Alerts" page in such case. On 12 Mar 2016, at 18:40, Paul Theodoropoulos <mailto:p...@anastrophe.com>> wrote: They are managed in m/monit - root@db1

Re: iptables? bastille?

2016-04-07 Thread Paul Theodoropoulos
top program = "/usr/sbin/service iptables start" stop program = "/sbin/iptables stop" but i cannot figure out, what the problem is. Can you please help me? Thanks: Mate -- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general -- To uns

Re: Request for comments: Service startup/monitoring mode changes

2016-05-06 Thread Paul Theodoropoulos
g an existing keyword. -- Noel Jones -- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general -- Paul Theodoropoulos www.anastrophe.com -- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general

summary

2016-05-31 Thread Paul Theodoropoulos
I like the new 'monit summary' output. It would be nice if there were a configurable option to make the display more compact by supressing the ASCII graphic lines between items. -- Paul Theodoropoulos www.anastrophe.com -- To unsubscribe: https://lists.nongnu.org/mailman/list

Re: summary

2016-05-31 Thread Paul Theodoropoulos
9:16, Paul Theodoropoulos wrote: I like the new 'monit summary' output. It would be nice if there were a configurable option to make the display more compact by supressing the ASCII graphic lines between items. -- Paul Theodoropoulos www.anastrophe.com -- To unsubscribe: https://lists.nongnu.

Re: "for X cycles" has no effect

2016-10-07 Thread Paul Theodoropoulos
itive most of the time in my use-case, and stick with just loadavg - if loadavg (5min) is greater than 3.0 for 2 cycles then alert that gives you a smooth(er) window against to test if the system is really under continuous load or just dealing with a very brief spike or spikes.

Runaway network bandwith alarms after upgrade

2016-10-17 Thread Paul Theodoropoulos
graded a number of other servers in our farm, and have not experienced this. -- Paul Theodoropoulos www.anastrophe.com -- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general

Re: Runaway network bandwith alarms after upgrade

2016-10-18 Thread Paul Theodoropoulos
servers? (both Debian and monit?) Best regards, Martin On 17 Oct 2016, at 22:55, Paul Theodoropoulos wrote: I recently upgraded a couple of servers from Debian Wheezy to Debian Jessie. Since then, I'm getting frequent alarms from my network bandwidth test. The test: check network ne

Re: Runaway network bandwith alarms after upgrade

2016-10-19 Thread Paul Theodoropoulos
In the interest of not getting unnecessary alerts in the middle of the night due to this, I've simply replaced the existing test with the network saturation test - which is all I'm really after, anyway. On 10/17/16 13:55, Paul Theodoropoulos wrote: I recently upgraded a couple of se

Re: monit doesn't see pid file

2016-11-29 Thread Paul Theodoropoulos
27; start: /etc/init.d/stream [GMT Nov 29 17:43:05] error: 'stream' failed to start (exit status 0) -- /etc/init.d/stream: Starting service¦ Service started (over and over and over) -- when the stream is running the pid file at /var/run/stream.pid is always there because I've check it. why can't monit see the pid file? -- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general -- Paul Theodoropoulos www.anastrophe.com -- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general

monitoring for absence of a string

2016-11-29 Thread Paul Theodoropoulos
, it basically creates a 'black hole' - it never alerts (confirmed by blocking those networks for several minutes with iptables). I'm not really sure how to tackle this problem - which may be more of a problem with my (weak) understanding of eregex syntax rather than a monit problem. -- Paul Theodoropoulos www.anastrophe.com -- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general

Re: monitoring for absence of a string

2016-11-30 Thread Paul Theodoropoulos
nes, within the last minute“ HTH Tino Am 30. November 2016 um 02:11:08, Paul Theodoropoulos (p...@anastrophe.com(mailto:p...@anastrophe.com)) schrieb: I need to monitor an apache log file for the *lack* of connections from two specific private netblocks. The server gets connections from m

"Filesystem flags changed" alerts since 5.22

2017-04-19 Thread Paul Theodoropoulos
ystem flags changed to rw,relatime,nobarrier,data=ordered Am I doing something wrong? -- Paul Theodoropoulos www.anastrophe.com -- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general

Re: "Filesystem flags changed" alerts since 5.22

2017-04-19 Thread Paul Theodoropoulos
I should also add that it is only 'rootfs' that generates the error. If a machine has additional mount points that are checked, they show no error. On 4/19/17 15:47, Paul Theodoropoulos wrote: I'm getting lots of alerts for "Filesystem flags changed" since immediate

Re: "Filesystem flags changed" alerts since 5.22

2017-04-19 Thread Paul Theodoropoulos
Another addition, apologies for not having this all rolled into my original message - I'm not getting alerts, only warnings within monit summary, and m/monit. On 4/19/17 16:45, Paul Theodoropoulos wrote: I should also add that it is only 'rootfs' that generates the error. If

Re: "Filesystem flags changed" alerts since 5.22

2017-04-20 Thread Paul Theodoropoulos
ash* ./bootstrap ./configure make Best regards, Martin On 20 Apr 2017, at 02:04, Paul Theodoropoulos wrote: Another addition, apologies for not having this all rolled into my original message - I'm not getting alerts, only warnings within monit summary, and m/monit. On 4/19/17 16:45, P

Re: Planned Downtime

2017-07-17 Thread Paul Theodoropoulos
unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general monit has pseudo-cron capabilities. # check some.application on db1 check program some.application.monitor with path /usr/local/bin/check_application_wrapper not every "00-30 05 * * *" -- Paul Theodoropoulos www.anas

failure to exec

2018-02-08 Thread Paul Theodoropoulos
starts as desired, and after a short while, monit summary will show 'ok' for the process being in existence. I can run the script from cron, and it will likewise start without incident, so there's no reliance on a tty (that was just a shot in the dark). I'm baffled. -- Paul Theodoropoulos www.anastrophe.com -- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general

ping issues

2018-05-16 Thread Paul Theodoropoulos
, but I'm wondering why less than 20 bytes won't work in monit. The docs only say that the default is 64 bytes, but no minimum. -- Paul Theodoropoulos www.anastrophe.com -- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general

Re: ping issues

2018-05-17 Thread Paul Theodoropoulos
trace of failed ping tests? Best regards, Martin On 17 May 2018, at 05:45, Paul Theodoropoulos wrote: I'm running a little personal project on a shoestring budget - e.g. a couple of AWS t2.nano instances, so everything needs to be stripped as bare as possible. Testing one of the servers

Re: ping issues

2018-05-17 Thread Paul Theodoropoulos
Will do - thanks Martin! On 5/17/18 09:58, mart...@tildeslash.com wrote: Thanks for data. Please can you get yet the ping packet capture (using for example Wireshark) and send it in pcap format to supp...@mmonit.com <mailto:supp...@mmonit.com>? On 17 May 2018, at 18:54, Paul Theodoro

Re: multiple email servers with authentication

2018-05-29 Thread Paul Theodoropoulos
-- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general <https://lists.nongnu.org/mailman/listinfo/monit-general> -- Paul Theodoropoulos www.anastrophe.com -- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general

Re: Good default values for disk monitoring

2018-06-03 Thread Paul Theodoropoulos
0 cycles then alert   if service time > 10 milliseconds for 3 times within 5 cycles then alert I would like to know, please, what could be a recommended default value! For instance, I have a personal server in a VMware VPS, with an Intel Xeon E5-2650L v4 CPU, 1 GB RAM, and 20 GB of alloc

File content matching

2018-06-11 Thread Paul Theodoropoulos
quotes around the content match - same results. *Sometimes*, after a 'monit reload', the status will show "OK" - but if I do a 'monit reload' again - with no intervening changes - It'll switch back to 'Content match'. At minimum, I would expect whe

Re: File content matching

2018-06-11 Thread Paul Theodoropoulos
As a related  followup, in the interim until I figure this out, I can run a program status check on the following script, and it provides the result I'd expect: #!/bin/sh tail -100 /var/log/servercomm.log|grep "100\.109" >/dev/null 2>&1 On 6/11/18 13:50, Paul

Re: File content matching

2018-06-11 Thread Paul Theodoropoulos
If your script egrep command does not find the match, it will exit 1 and Monit will alert. If your script egrep finds the match every Monit cycle, it will exit 0 and Monit will not alert. V/r, Bryan On Mon, Jun 11, 2018 at 4:51 PM Paul Theodoropoulos mailto:p...@anastrophe.com>> wrote:

Re: Configure options for official release static binaries?

2019-03-07 Thread Paul Theodoropoulos
with different shared library versions. (There are currently no binaries provided for arm8) Regards,    Martin Winter -- Paul Theodoropoulos www.anastrophe.com -- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general

Re: Mount and umount ceph volume

2019-03-07 Thread Paul Theodoropoulos
'd like to force umount the previous cephfs volume if it is already mounted. This is because if ceph metadata server is not available, the server loops infinitely trying to umount the cephfs mount point. > > Can theese two use cases be implemented with monit? >

Re: How to monit mariadb

2019-03-20 Thread Paul Theodoropoulos
0:00 grep --colour=auto mysql I am out of ideas and grateful for a little hint. Thanks Tino -- Paul Theodoropoulos www.anastrophe.com -- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general

Re: How to monit mariadb

2019-03-21 Thread Paul Theodoropoulos
/mysql.pid There's a mismatch in the pid file name. Totally random observation, but it's one-character changes in things like that, that are responsible for probably ten percent of my gray hairs. -- Paul Theodoropoulos www.anastrophe.com -- To unsubscribe: https://lists.nongnu.org/mailma

Re: How to monit mariadb

2019-03-21 Thread Paul Theodoropoulos
On 3/21/19 10:05, SZÉPE Viktor wrote: Idézem/Quoting Paul Theodoropoulos : On 3/21/19 03:38, Bernd Wurst wrote: Am 21.03.19 um 08:54 schrieb Tino Hendricks: ~ # ls -l /run/mysqld/mysqld.pid -rw-rw 1 mysql mysql 6 20. Mär 12:53 /run/mysqld/mysqld.pid httpd listing (monitoring temporarily

Re: HTTPS connection to mmonit

2019-05-01 Thread Paul Theodoropoulos
stead. You must then access mmonit using https:/// The manual and the chapter about setting up M/Monit with SSL has more information,https://mmonit.com/documentation/mmonit_manual.pdf Best regards -- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general -- Paul Theodorop

Re: HTTPS connection to mmonit

2019-05-02 Thread Paul Theodoropoulos
8" certificate="/etc/letsencrypt/live/mmonit.autonetmobile.net/merged.pem"> Works fine. The host name is mapped to the public IP address of the server. I'm using current latest version of mmonit. -- Paul Theodoropoulos www.anastrophe.com -- To unsubscribe: https://l

getting alert reminders with m/monit

2019-05-09 Thread Paul Theodoropoulos
ch local machine to make the api call, I can add a 'repeat every X cycles' - but then it takes m/monit out of the picture, I believe. I don't see a way to establish a reminder in the alert rules in the admin panel in m/monit. Thoughts, workarounds, solutions? -- Paul

Re: The day I lost my job due to monit

2020-12-04 Thread Paul Theodoropoulos via This is the general mailing list for monit
You didn't lose your job due to monit, by your own description of what took place. The proximate cause was Comodo. On December 4, 2020 7:52:55 AM PST, "rexkogit...@gmx.at" wrote: >I configured monit to monitor the TLS certificate validity of all of our >highly productive websites. To all websi

Re: The day I lost my job due to monit

2020-12-04 Thread Paul Theodoropoulos via This is the general mailing list for monit
in monit in order to avoid more people losing the jobs. -- Paul Theodoropoulos www.anastrophe.com

bug or user error using ping

2023-11-05 Thread Paul Theodoropoulos via This is the general mailing list for monit
of data. [elided] --- 192.168.1.13 ping statistics --- 60 packets transmitted, 60 received, 0% packet loss, time 59094ms rtt min/avg/max/mdev = 2.342/6.376/13.879/2.335 ms Thanks for any insight. -- Paul Theodoropoulos www.anastrophe.com

Re: bug or user error using ping

2023-11-06 Thread Paul Theodoropoulos via This is the general mailing list for monit
t, and response time). Best regards, The M/Monit team On 5. 11. 2023, at 19:23, Paul Theodoropoulos via This is the general mailing list for monit wrote: Greetings. I'm using monit to check a device on my local lan to ensure it's responsive. This is what I was previously usi