Aug 16, 2012; 08:00
Steve Piercy - Web Site Builder
Monit with Lasso 8.6 on CentOS
Anyone got an adaptation for the following items where monit
works on CentOS (or any other Linux) for Lasso 8.6? The /tmp
filenames have changed between 8.5 and 8.6, and the environment
is Mac in the article.
http://www.lassosoft.com/Monitoring-Lasso-with-Monit
http://www.lassosoft.com/tagswap/detail/RD_lassoService_pid
--steve
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- --
Steve Piercy Web Site Builder
Soquel, CA
<web@StevePiercy.com> <http://www.StevePiercy.com/>
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso
Lasso@lists.lassosoft.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>
Aug 17, 2012; 08:00
Steve Piercy - Web Site Builder
Re: Monit with Lasso 8.6 on CentOS
Figured it out. Thanks to Chris Wik and Marc Pinnell for the
assists! And of course to Wade Maxfield for breaking ground on
the concept.
Revisions include:
(1) changing a line in the custom tag [RD_lassoService_pid], per
Marc's comment
http://www.lassosoft.com/tagswap/detail/RD_lassoService_pid
On line 95, change:
(: '-c', 'ps -o pid,command -au lasso | grep [l]assosite_'
+ #siteID + ' | awk \'{print $1}\'')
to:
(: '-c', 'ps -o pid,command -au lasso | grep
[l]assosite_8.6_' + #siteID + ' | awk \'{print $1}\'')
Note the insertion of "8.6_" fixes it.
(2) startLassoService.sh:
# /Library/StartupItems/LassoPro8/LassoPro8 start
/sbin/service lasso8service start
(3) killLassoService.sh:
# /Library/StartupItems/LassoPro8/LassoPro8 stop > /dev/null
/sbin/service lasso8service stop > /dev/null
(4) The file /etc/monitrc is actually /etc/monit.conf for CentOS.
(5) Various monit configuration recipes.
--steve
On 8/16/12 at 7:42 AM, Web@StevePiercy.com (Steve Piercy - Web
Site Builder) pronounced:
>Anyone got an adaptation for the following items where monit
>works on CentOS (or any other Linux) for Lasso 8.6? The /tmp
>filenames have changed between 8.5 and 8.6, and the environment
>is Mac in the article.
>
>http://www.lassosoft.com/Monitoring-Lasso-with-Monit
>http://www.lassosoft.com/tagswap/detail/RD_lassoService_pid
>
>--steve
>
>-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
>Steve Piercy Web Site Builder Soquel, CA
><web@StevePiercy.com> <http://www.StevePiercy.com/>
>
>#############################################################
>This message is sent to you because you are subscribed to
>the mailing list Lasso
>Lasso@lists.lassosoft.com
>To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
>Send administrative queries to <Lasso-request@lists.lassosoft.com>
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- --
Steve Piercy Web Site Builder
Soquel, CA
<web@StevePiercy.com> <http://www.StevePiercy.com/>
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso
Lasso@lists.lassosoft.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>
Aug 17, 2012; 08:00
Marc Pinnell
Re: Monit with Lasso 8.6 on CentOS
Steve were you going to submit to LS for inclusion in that article?
On Aug 17, 2012, at 2:44 AM, Steve Piercy - Web Site Builder wrote:
> Figured it out. Thanks to Chris Wik and Marc Pinnell for the assists! And of course to Wade Maxfield for breaking ground on the concept.
>
> Revisions include:
>
> (1) changing a line in the custom tag [RD_lassoService_pid], per Marc's comment
> http://www.lassosoft.com/tagswap/detail/RD_lassoService_pid
>
> On line 95, change:
>
> (: '-c', 'ps -o pid,command -au lasso | grep [l]assosite_' + #siteID + ' | awk \'{print $1}\'')
>
> to:
>
> (: '-c', 'ps -o pid,command -au lasso | grep [l]assosite_8.6_' + #siteID + ' | awk \'{print $1}\'')
>
> Note the insertion of "8.6_" fixes it.
>
> (2) startLassoService.sh:
>
> # /Library/StartupItems/LassoPro8/LassoPro8 start
> /sbin/service lasso8service start
>
> (3) killLassoService.sh:
>
> # /Library/StartupItems/LassoPro8/LassoPro8 stop > /dev/null
> /sbin/service lasso8service stop > /dev/null
>
> (4) The file /etc/monitrc is actually /etc/monit.conf for CentOS.
>
> (5) Various monit configuration recipes.
>
> --steve
>
>
> On 8/16/12 at 7:42 AM, Web@StevePiercy.com (Steve Piercy - Web Site Builder) pronounced:
>
>> Anyone got an adaptation for the following items where monit works on CentOS (or any other Linux) for Lasso 8.6? The /tmp filenames have changed between 8.5 and 8.6, and the environment is Mac in the article.
>>
>> http://www.lassosoft.com/Monitoring-Lasso-with-Monit
>> http://www.lassosoft.com/tagswap/detail/RD_lassoService_pid
>>
>> --steve
>>
>> -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
>> Steve Piercy Web Site Builder Soquel, CA
>> <web@StevePiercy.com> <http://www.StevePiercy.com/>
>>
>> #############################################################
>> This message is sent to you because you are subscribed to
>> the mailing list Lasso
>> Lasso@lists.lassosoft.com
>> To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
>> Send administrative queries to <Lasso-request@lists.lassosoft.com>
>
> -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
> Steve Piercy Web Site Builder Soquel, CA
> <web@StevePiercy.com> <http://www.StevePiercy.com/>
>
> #############################################################
> This message is sent to you because you are subscribed to
> the mailing list Lasso
> Lasso@lists.lassosoft.com
> To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
> Send administrative queries to <Lasso-request@lists.lassosoft.com>
Marc Pinnell
1027 Design
PO Box 990872
Redding, CA 96099-0872
530.941.4706
fax: 866.232.5300
www.1027Design.com
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso
Lasso@lists.lassosoft.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>
Aug 17, 2012; 08:00
Steve Piercy - Web Site Builder
Re: Monit with Lasso 8.6 on CentOS
done.
--steve
On 8/17/12 at 7:32 AM, lassolist@1027consulting.com (Marc Pinnell) pronounced:
> Steve were you going to submit to LS for inclusion in that article?
>
>
> On Aug 17, 2012, at 2:44 AM, Steve Piercy - Web Site Builder wrote:
>
> > Figured it out. Thanks to Chris Wik and Marc Pinnell for the assists! And of
> course to Wade Maxfield for breaking ground on the concept.
> >
> > Revisions include:
> >
> > (1) changing a line in the custom tag [RD_lassoService_pid], per Marc's comment
> > http://www.lassosoft.com/tagswap/detail/RD_lassoService_pid
> >
> > On line 95, change:
> >
> > (: '-c', 'ps -o pid,command -au lasso | grep [l]assosite_' + #siteID + ' |
> awk \'{print $1}\'')
> >
> > to:
> >
> > (: '-c', 'ps -o pid,command -au lasso | grep [l]assosite_8.6_' + #siteID + '
> | awk \'{print $1}\'')
> >
> > Note the insertion of "8.6_" fixes it.
> >
> > (2) startLassoService.sh:
> >
> > # /Library/StartupItems/LassoPro8/LassoPro8 start
> > /sbin/service lasso8service start
> >
> > (3) killLassoService.sh:
> >
> > # /Library/StartupItems/LassoPro8/LassoPro8 stop > /dev/null
> > /sbin/service lasso8service stop > /dev/null
> >
> > (4) The file /etc/monitrc is actually /etc/monit.conf for CentOS.
> >
> > (5) Various monit configuration recipes.
> >
> > --steve
> >
> >
> > On 8/16/12 at 7:42 AM, Web@StevePiercy.com (Steve Piercy - Web Site Builder)
> pronounced:
> >
> >> Anyone got an adaptation for the following items where monit works on CentOS
> (or any other Linux) for Lasso 8.6? The /tmp filenames have changed between 8.5
> and 8.6, and the environment is Mac in the article.
> >>
> >> http://www.lassosoft.com/Monitoring-Lasso-with-Monit
> >> http://www.lassosoft.com/tagswap/detail/RD_lassoService_pid
> >>
> >> --steve
> >>
> >> -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
> >> Steve Piercy Web Site Builder Soquel, CA
> >> <web@StevePiercy.com> <http://www.StevePiercy.com/>
> >>
> >> #############################################################
> >> This message is sent to you because you are subscribed to
> >> the mailing list Lasso
> >> Lasso@lists.lassosoft.com
> >> To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
> >> Send administrative queries to <Lasso-request@lists.lassosoft.com>
> >
> > -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
> > Steve Piercy Web Site Builder Soquel, CA
> > <web@StevePiercy.com> <http://www.StevePiercy.com/>
> >
> > #############################################################
> > This message is sent to you because you are subscribed to
> > the mailing list Lasso
> > Lasso@lists.lassosoft.com
> > To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
> > Send administrative queries to <Lasso-request@lists.lassosoft.com>
>
> Marc Pinnell
> 1027 Design
> PO Box 990872
> Redding, CA 96099-0872
> 530.941.4706
> fax: 866.232.5300
> www.1027Design.com
>
>
> #############################################################
> This message is sent to you because you are subscribed to
> the mailing list Lasso
> Lasso@lists.lassosoft.com
> To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
> Send administrative queries to <Lasso-request@lists.lassosoft.com>
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Steve Piercy Web Site Builder Soquel, CA
<web@StevePiercy.com> <http://www.StevePiercy.com/>
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso
Lasso@lists.lassosoft.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>