Monit with Lasso 8.6 on CentOS

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Monit with Lasso 8.6 on CentOS

stevepiercy
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
<[hidden email]>                  <http://www.StevePiercy.com/>

#############################################################
This message is sent to you because you are subscribed to
  the mailing list Lasso
[hidden email]
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: Monit with Lasso 8.6 on CentOS

stevepiercy
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, [hidden email] (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
><[hidden email]>                  <http://www.StevePiercy.com/>
>
>#############################################################
>This message is sent to you because you are subscribed to
>the mailing list Lasso
>[hidden email]
>To unsubscribe, E-mail to: <[hidden email]>
>Send administrative queries to  <[hidden email]>

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- --
Steve Piercy               Web Site Builder              
Soquel, CA
<[hidden email]>                  <http://www.StevePiercy.com/>

#############################################################
This message is sent to you because you are subscribed to
  the mailing list Lasso
[hidden email]
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: Monit with Lasso 8.6 on CentOS

Marc Pinnell-3
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, [hidden email] (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
>> <[hidden email]>                  <http://www.StevePiercy.com/>
>>
>> #############################################################
>> This message is sent to you because you are subscribed to
>> the mailing list Lasso
>> [hidden email]
>> To unsubscribe, E-mail to: <[hidden email]>
>> Send administrative queries to  <[hidden email]>
>
> -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
> Steve Piercy               Web Site Builder               Soquel, CA
> <[hidden email]>                  <http://www.StevePiercy.com/>
>
> #############################################################
> This message is sent to you because you are subscribed to
> the mailing list Lasso
> [hidden email]
> To unsubscribe, E-mail to: <[hidden email]>
> Send administrative queries to  <[hidden email]>

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
[hidden email]
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: Monit with Lasso 8.6 on CentOS

stevepiercy
done.

--steve


On 8/17/12 at 7:32 AM, [hidden email] (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, [hidden email] (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
> >> <[hidden email]>                  <http://www.StevePiercy.com/>
> >>
> >> #############################################################
> >> This message is sent to you because you are subscribed to
> >> the mailing list Lasso
> >> [hidden email]
> >> To unsubscribe, E-mail to: <[hidden email]>
> >> Send administrative queries to  <[hidden email]>
> >
> > -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
> > Steve Piercy               Web Site Builder               Soquel, CA
> > <[hidden email]>                  <http://www.StevePiercy.com/>
> >
> > #############################################################
> > This message is sent to you because you are subscribed to
> > the mailing list Lasso
> > [hidden email]
> > To unsubscribe, E-mail to: <[hidden email]>
> > Send administrative queries to  <[hidden email]>
>
> 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
> [hidden email]
> To unsubscribe, E-mail to: <[hidden email]>
> Send administrative queries to  <[hidden email]>

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Steve Piercy               Web Site Builder               Soquel, CA
<[hidden email]>                  <http://www.StevePiercy.com/>

#############################################################
This message is sent to you because you are subscribed to
  the mailing list Lasso
[hidden email]
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>