Re: Monit 4.6 OS X build problems w/ vm.h

2005-12-13 Thread Rory Toma
Yes, this is broken. I've located example code for Mac OS X for vm reporting. I'll put it on my list to fix, but unlikely until after the new year. -- To unsubscribe: http://lists.nongnu.org/mailman/listinfo/monit-general

Re: Monit 4.6 OS X build problems w/ vm.h

2005-12-14 Thread Rory Toma
Yes it did. Hopefully after the new year I can take the darwin 8 top sources and modify it to work. Martin Pala wrote: ... i have tested monit-4.6 just on Darwin 7.8 ... it works well. It seems that the Darwin 8.x introduced incompatible change ... Martin John Clements wrote: The

Re: Monit service not logging stdout

2011-04-28 Thread Rory Toma
monit in daemon mode, as described in the Stevens book, forks, setsids and closes stdout, stdin and stderr, hence, you won't get anything from stdout. On 4/28/11 11:50 AM, Michael Mackus wrote: I have a simple monit service set up, so I have something to keep my node.js server running. The

Re: Monit service not logging stdout

2011-04-28 Thread Rory Toma
console.log function, but I'd rather just log all stdout to a file for simplicity. On Thu, Apr 28, 2011 at 11:58 AM, Rory Toma r...@trs80.net mailto:r...@trs80.net wrote: monit in daemon mode, as described in the Stevens book, forks, setsids and closes stdout, stdin and stderr, hence, you

Re: Looking for a speaker on monit for a meetup

2011-10-19 Thread Rory Toma
I might be able to do something for you. I used to contribute code until job requirements sent me in another direction. How long of a talk and what would you like to hear? -- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general

Re: monit not showing up in a browser

2011-10-22 Thread Rory Toma
You have it configured to only listen on localhost. On Oct 22, 2011, at 9:19 PM, Tim Dunphy bluethu...@jokefire.com wrote: Hello list!! Why isn't monit showing up in a browser on port 2812? monit is clearly running: [root@VIRTCENT11:/etc/httpd/conf.d] #ps -ef | grep monit root

Re: Monit dependency problem (bug?)

2011-12-06 Thread Rory Toma
What is your cycle time? Is it 30 sec? If it is, try increasing it to 1 minute. On 12/6/11 9:12 AM, drich wrote: As I mentioned in an earlier e-mail, I'm trying to get monit to watch a group of processes so it can start/stop ospfd for an anycast high availability application. However, in

Re: Monit dependency problem (bug?)

2011-12-06 Thread Rory Toma
, it triggers my 2 restarts rule and stops ospfd I don't think it should be starting ospfd at all since the dependent service is failing to restart. On 06.12.2011 10:34, Rory Toma wrote: What is your cycle time? Is it 30 sec? If it is, try increasing it to 1 minute. On 12/6/11 9:12 AM, drich

Mistake in monit.1 file

2012-05-03 Thread Rory Toma
In the monit.1 file, for using monit without pidfile and matching keyword, the example is wrong. It says: check process matching /sbin/dynamic_pager -F /private/var/vm/swapfile and it should be check process dynamic_pager matching /sbin/dynamic_pager -F /private/var/vm/swapfile The

Re: Monit spawning script before the filesystem is updated

2013-04-15 Thread Rory Toma
On 4/15/2013 1:49 PM, FrancoisGervais wrote: Hi, We running monit as part of our embedded system to monitor a config file which is written by a 3rd application. Then when monit sees the timestamp change on the config file it fires a script which does the actual configuration. However, it seems

Re: Reset time patch

2014-02-28 Thread Rory Toma
On 2/28/14, 8:04 AM, Weedy wrote: On 27 Feb 2014 15:36, Rory Toma r...@trs80.net mailto:r...@trs80.net wrote: Attached is a patch that will re-init monit if the timestamp of the monit pidfile is older than the uptime of the system and you have sysinfo. This is useful on embedded

Re: Reset time patch

2014-02-28 Thread Rory Toma
, at 21:34, Rory Toma r...@trs80.net wrote: Attached is a patch that will re-init monit if the timestamp of the monit pidfile is older than the uptime of the system and you have sysinfo. This is useful on embedded systems that may not have a battery backed clock, as when the time is set, the system

Re: Before I fix this

2015-02-06 Thread Rory Toma
The delay isn't optimal for me, as it is a non-deterministic time that I have to deal with, and boot time is of importance. thanks. On 2/6/15 9:56 AM, Sean Penticoff wrote: you can set a delay for startup in monit ## Start Monit in the background (run as a daemon): # set daemon 120

Before I fix this

2015-02-05 Thread Rory Toma
Is there a good way for monit to report actual uptime on processes and itself that is not based on the date, but rather the actual passage of time? -- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general

Re: Before I fix this

2015-02-06 Thread Rory Toma
/init.d/myapp stop if uptime 3 days then restart Regards, Martin On 06 Feb 2015, at 00:28, Rory Toma r...@trs80.net wrote: Is there a good way for monit to report actual uptime on processes and itself that is not based on the date, but rather the actual passage of time

Re: Before I fix this

2015-02-10 Thread Rory Toma
Thanks. In xml.c, is there any reason that is has to be a (long long)? On 2/9/15 9:48 AM, Martin Pala wrote: On 06 Feb 2015, at 15:03, Rory Toma r...@trs80.net wrote: On 2/6/15 2:45 AM, Martin Pala wrote: Hi Rory, Monit reports process uptime in minutes since Monit 5.4. There is also uptime

Re: arm cross compiled monit segv

2015-10-09 Thread Rory Toma
On 10/9/15 8:50 AM, Terry Duncan wrote: I have cross-compiled monit 5.13 for ARM and have it running on my ARM system. When it hits an exception, I get a SEGV in the longjmp call. Has anyone seen this problem and have a solution or suggestion? Thanks -- To unsubscribe:

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

2016-05-06 Thread Rory Toma
I would explicitly keep "passive" It's good for having your file just the way you want it, and to do testing and burn in to see if things work. Then a one line change to implement. On 5/6/16 6:22 AM, Martin Pala wrote: Hello François, thanks for very good suggestion. It's true the

Re: porting monit to yocto compilation error

2017-07-12 Thread Rory Toma
When I build on arm under openwrt, here is what I havwe to use: define Build/Configure $(call Build/Configure/Default,libmonit_cv_setjmp_available=yes ac_cv_header_atomic_h=yes libmonit_cv_vsnprintf_c99_conformant=yes --without-ssl --without-pam,CFLAGS="-I$(STAGING_DIR)/include

Re: Compiling embedding SSL lib

2017-10-06 Thread Rory Toma
You need to build the old version of ssl and tell configure to use those when compiling. On 10/6/17 7:46 AM, Guillaume François wrote: Hello, I'm trying to compile Monit in standalone way (i.e. embedding SSL libraries) as I'm compiling on a host with OpenSSL 1.0.2 but the host where Monit

Re: License sort question: AGPLv3 and embedded system

2017-10-05 Thread Rory Toma
In this case you are distributing it, unmodified and the license conditions apply. See section 6. On 10/5/17 11:50 AM, Igor Galarraga (Tinkoa Embedded Systems) wrote: Hello, I can read from the web: Open Source Monit is free, open source software. You can redistribute Monit and/or

Re: Auto-reload of configuration files

2020-05-15 Thread Rory Toma
If you’re going to have it automatically reload, you’ll want to make sure that the syntax is ok first. I don’t know what happens if you SIGHUP monit and it has an invalid config file. From: monit-general on behalf of Eric Montellese Reply-To: This is the general mailing list for monit

RE: ssl: unsafe legacy renegotiation

2023-02-09 Thread Rory Toma
You could always set up an haproxy or nginx proxy to take care of this. -Original Message- From: monit-general-bounces+rory=trs80@nongnu.org On Behalf Of sashk via This is the general mailing list for monit Sent: Thursday, February 9, 2023 2:23 PM To: This is the general mailing

RE: Monitoring Desktops

2023-11-23 Thread Rory Toma
Worst case, use WSL on windows to run monit. -Original Message- From: monit-general-bounces+rory=trs80@nongnu.org On Behalf Of Lutz Mader Sent: Thursday, November 23, 2023 4:37 AM To: This is the general mailing list for monit Subject: Re: Monitoring Desktops Hello Graham, and