[hobbit] how create a new link without a service !?

Antonio Marques hobbitsam at gmail.com
Thu Sep 22 16:05:47 CEST 2005


Hi, there are many problems in you construct.

you can see the working script at
http://www.rafb.net/paste/results/7IrVUq94.html

In hobbitlaunch.cfg  (considering that you are running this at SERVER):

[mytest]
        ENVFILE /usr/lib/hobbit/etc/hobbitclient.cfg
        NEEDS hobbitd
        CMD $BBHOME/ext/bb-mytest.sh
        LOGFILE $BBSERVERLOGS/bb-mytest.log
        INTERVAL 1m
In bb-hosts put mytest at machine(s) you want !

Regards

Antonio Marques / Eduardo Greif

2005/9/21, waldirio.spassu at petrobras.com.br <waldirio.spassu at petrobras.com.br>:
>             Hi Antonio
>
>       dind't appear ... :-/, and my log file is not created. I create with
> touch teste.log, but file is really empty
>
> Regards
> Waldirio Manhães Pinheiro
>
>
>
> |---------+------------------------------->
> |         |           Antonio Marques     |
> |         |           <hobbitsam at gmail.com|
> |         |           >                   |
> |         |                               |
> |         |           21/09/2005 10:39    |
> |         |           Responder a hobbit  |
> |         |                               |
> |---------+------------------------------->
>   >------------------------------------------------------------------------------------------------------------------------|
>   |                                                                                                                        |
>   |     Para:    hobbit at hswn.dk                                                                                            |
>   |     cc:      (cco: Waldirio Manhaes Pinheiro - SPASSU/BC/Petrobras)                                                    |
>   |     Assunto:       Re: [hobbit] how create a new link without a service !?                                             |
>   >------------------------------------------------------------------------------------------------------------------------|
>
>
>
>
> Try to do this:
>
> [mytest]
>        ENVFILE /usr/lib/hobbit/client/etc/hobbitclient.cfg
>        CMD /usr/lib/hobbit/server/ext/teste.sh
>        LOGFILE /usr/lib/hobbit/client/logs/teste.log
>        INTERVAL 5m
>
> Antonio Marques
>
>
> 2005/9/21, waldirio.spassu at petrobras.com.br
> <waldirio.spassu at petrobras.com.br>:
> >             Hi henrik
> >
> >       Look my environment, I create one script on server in ext dir,
> called
> > teste.sh - http://www.rafb.net/paste/results/OzfRs375.html, and I change
> in
> > client/etc/clientlaunch.cfg, see below
> >
> > [myscript]
> >         ENVFILE /usr/lib/hobbit/client/etc/hobbitclient.cfg
> >         CMD /usr/lib/hobbit/server/ext/teste.sh
> >         LOGFILE /usr/lib/hobbit/client/logs/teste.log
> >         INTERVAL 5m
> >
> > Ok. in my bb-hosts, I put
> >
> > page TESTE Testing
> > group-only conn|mytest|trends <H4><I>Test Page</I></H4>
> > 164.85.216.13           PLATI           # mytest
> >
> >
> > My Question ... Why in monitor page, the collum "mytest" declared in
> > teste.sh is not show ?!
> >
> >
> > Obs.: henrik, tnx for link ;)
> >
> > Thanks Advanced
> > Waldirio Manhães Pinheiro
> >
> >
> >
> > |---------+------------------------------->
> > |         |           henrik at hswn.dk      |
> > |         |           (Henrik Stoerner)   |
> > |         |                               |
> > |         |           20/09/2005 12:17    |
> > |         |           Responder a hobbit  |
> > |         |                               |
> > |---------+------------------------------->
> >
> >------------------------------------------------------------------------------------------------------------------------|
>
> >   |
> |
> >   |     Para:    hobbit at hswn.dk
> |
> >   |     cc:      (cco: Waldirio Manhaes Pinheiro - SPASSU/BC/Petrobras)
> |
> >   |     Assunto:       Re: [hobbit] how create a new link without a
> service !?                                             |
> >
> >------------------------------------------------------------------------------------------------------------------------|
>
> >
> >
> >
> >
> > On Tue, Sep 20, 2005 at 10:19:07AM -0300,
> waldirio.spassu at petrobras.com.br
> > wrote:
> > >
> > >       How I can create this environment (look in image), where I create
> > one
> > > new collum (Custom) with link, but without a service. This link is for
> > > other page on my system ?!
> >
> > Create an extension script for Hobbit.
> >
> > Your question made me realize this wasn't really documented, so if you
> > dont know how to do that, look here:
> > http://www.hswn.dk/hobbit/help/hobbit-tips.html#scripts
> >
> >
> > Regards,
> > Henrik
> >
> >
> > To unsubscribe from the hobbit list, send an e-mail to
> > hobbit-unsubscribe at hswn.dk
> >
> >
> >
> >
> >
> >
> >
> > "O emitente desta mensagem é responsável por seu conteúdo e
> endereçamento.
> > Cabe ao destinatário cuidar quanto ao tratamento adequado. Sem a devida
> > autorização, a divulgação, a reprodução, a distribuição ou qualquer outra
> > ação em desconformidade com as normas internas do Sistema Petrobras são
> > proibidas e passíveis de sanção disciplinar, cível e criminal."
> >
> > "The sender of this message is responsible for its content and
> addressing.
> > The receiver shall take proper care of it. Without due authorization, the
> > publication, reproduction, distribution or the performance of  any other
> > action not conforming to Petrobras System internal policies and
> procedures
> > is forbidden and liable to disciplinary, civil or criminal  sanctions."
> >
> > " El emisor de este mensaje es responsable por su contenido y
> > direccionamiento. Cabe al destinatario darle el tratamiento adecuado. Sin
> > la debida autorización, su divulgación, reproducción, distribución o
> > cualquier otra acción no conforme a las normas internas del Sistema
> > Petrobras están prohibidas y serán pasibles de sanción disciplinaria,
> civil
> > y penal."
> >
> >
> > To unsubscribe from the hobbit list, send an e-mail to
> > hobbit-unsubscribe at hswn.dk
> >
> >
> >
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
>
>
>
>
>
>
>
> "O emitente desta mensagem é responsável por seu conteúdo e endereçamento.
> Cabe ao destinatário cuidar quanto ao tratamento adequado. Sem a devida
> autorização, a divulgação, a reprodução, a distribuição ou qualquer outra
> ação em desconformidade com as normas internas do Sistema Petrobras são
> proibidas e passíveis de sanção disciplinar, cível e criminal."
>
> "The sender of this message is responsible for its content and addressing.
> The receiver shall take proper care of it. Without due authorization, the
> publication, reproduction, distribution or the performance of  any other
> action not conforming to Petrobras System internal policies and procedures
> is forbidden and liable to disciplinary, civil or criminal  sanctions."
>
> " El emisor de este mensaje es responsable por su contenido y
> direccionamiento. Cabe al destinatario darle el tratamiento adecuado. Sin
> la debida autorización, su divulgación, reproducción, distribución o
> cualquier otra acción no conforme a las normas internas del Sistema
> Petrobras están prohibidas y serán pasibles de sanción disciplinaria, civil
> y penal."
>
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
>
>
>



More information about the Xymon mailing list