daemon poll interval - monit 5.14 on CentOS 6

2016-08-04 Thread Geoff Goas
Hello, I'm having an issue with the CentOS 6 release of monit 5.14. I have set the daemon interval to 5, 10, and 50 seconds - monit was fully restarted for each adjustment of the interval - yet it still polls every 30 seconds as if the configured value is being ignored. I also attempting passing

Re: daemon poll interval - monit 5.14 on CentOS 6

2016-08-05 Thread Geoff Goas
:561) [EDT Aug 5 13:00:46] info : Sleeping for 10 seconds (src/monit.c:561) [EDT Aug 5 13:05:00] info : Sleeping for 10 seconds (src/monit.c:561) So how can I control the execTimeout without having monit give up on trying to start that service? Thanks, On Fri, Aug 5, 2016 at 11:43

Re: daemon poll interval - monit 5.14 on CentOS 6

2016-08-05 Thread Geoff Goas
; is different from the file used by monit. > > Best regards, > Martin > > > On 05 Aug 2016, at 04:42, Geoff Goas <git...@gmail.com> wrote: > > Hello, > > I'm having an issue with the CentOS 6 release of monit 5.14. I have set > the daemon interval to 5, 1

Re: daemon poll interval - monit 5.14 on CentOS 6

2016-08-08 Thread Geoff Goas
It looks like I can put "timeout X seconds" after the start program / stop program lines to control this interval. Is there a way to set it globally? On Fri, Aug 5, 2016 at 1:12 PM, Geoff Goas <git...@gmail.com> wrote: > I think I have found the issue, and I think I may h

Re: daemon poll interval - monit 5.14 on CentOS 6

2016-08-09 Thread Geoff Goas
76,7 +4576,7 @@ case 418: #line 1552 "src/p.y" /* yacc.c:1646 */ { - (yyval.number) = EXEC_TIMEOUT; + (yyval.number) = Run.polltime; } #line 4581 "src/y.tab.c" /* yacc.c:1646 */ break; On Mon, Aug 8, 20

Re: Add pipe in program

2017-02-23 Thread Geoff Goas
Can you do bash -c 'command' ? On Feb 23, 2017 4:16 PM, "Oscar Segarra" wrote: Hi, I'd like to execute a pipe in the program check: check program check-nfs-resources with path "showmount -e localhost |grep nfs_resource" with timeout 25 seconds depends on

Re: Question about script alert description

2016-09-12 Thread Geoff Goas
n't see any need for > forcing that message. If I want to know the return code I could print it > with my script. > > Thanks for the feed back though. I wonder if they will tell me to just go > with cron. > > V/r, > Bryan > > On Mon, Sep 12, 2016 at 4:23 PM, Geoff Goas <

Re: use ip address instead of hostname in mail format for $HOST

2016-11-05 Thread Geoff Goas
How would it choose the IP address to display if there are multiple? Can you use the literal? On Nov 5, 2016 8:31 AM, "Virender Khatri" wrote: > ​Hello! > > Is it possible to use Host IP Address instead of Hostname in mail format? > > I checked the docs, but could not

Re: Monit Issue during reboot

2016-11-21 Thread Geoff Goas
What is the reason for having monit unmonitor all services prior to shutdown? On Mon, Nov 21, 2016 at 8:51 AM, Shankar SM wrote: > Hi All, > We are seeing an issue using monit during a reboot or > shutdown sequence. First some background of the some of the

Re: Monit Issue during reboot

2016-11-21 Thread Geoff Goas
ensure a clean shutdown of all services. > > Thanks > Shankar > > > From: monit-general [mailto:monit-general-bounces+ssm= > lutron@nongnu.org] On Behalf Of Geoff Goas > Sent: Monday, November 21, 2016 2:19 PM > To: This is the general mailing list for monit <monit-