Xymon Mailing List Archive search

how create a new link without a service !?

list Antonio Marques
Thu, 22 Sep 2005 11:05:47 -0300
Message-Id: <user-84c784d1b73d@xymon.invalid>

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, user-e7f5659570bc@xymon.invalid <user-e7f5659570bc@xymon.invalid>:
            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     |
|         |           <user-3a0747675512@xymon.invalid|
|         |           >                   |
|         |                               |
|         |           21/09/2005 10:39    |
|         |           Responder a hobbit  |
|         |                               |
|---------+------------------------------->
------------------------------------------------------------------------------------------------------------------------|
  |                                                                                                                        |
  |     Para:    user-ae9b8668bcde@xymon.invalid                                                                                            |
  |     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, user-e7f5659570bc@xymon.invalid
<user-e7f5659570bc@xymon.invalid>:
            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


|---------+------------------------------->
|         |           user-ce4a2c883f75@xymon.invalid      |
|         |           (Henrik Stoerner)   |
|         |                               |
|         |           20/09/2005 12:17    |
|         |           Responder a hobbit  |
|         |                               |
|---------+------------------------------->

------------------------------------------------------------------------------------------------------------------------|
  |
|
  |     Para:    user-ae9b8668bcde@xymon.invalid
|
  |     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,
user-e7f5659570bc@xymon.invalid
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


"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."

"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."