[hobbit] 4.2-RC-20060712 - hobbitdboard bug?

Marco Avvisano marco.avvisano at regione.toscana.it
Wed Jul 19 15:33:40 CEST 2006


Hi,

uhhhh...it work from command line but not in the script if i use this 
command:

$host_color = `$BBHOME/bin/bb 127.0.0.1 "hobbitdboard host=$chtarget$ 
fields=color"`;

no values are in this variable ...i don't know why ..

any ideas?
thanks


Marco



>> I use it as pcre regex, so your call should work if you use for
>> example:
>>
>> $BBHOME/bin/bb 127.0.0.1 "hobbitdboard host=nal-asl-1$"  IT will list all 
>> hosts where names're ending with "nal-asl-1"
>> string. If you want restrict absolutelly you could use "^nal-asl-1$".
>>
>> Give it a try, hope it works.
>>
>> -Werner
>>
>>
>> ----------------------- Original Message -----------------------
>> From:    "Marco Avvisano" <marco.avvisano at regione.toscana.it>
>> To:      <hobbit at hswn.dk>
>> Date:    Wed, 19 Jul 2006 13:29:24 +0200
>> Subject: [hobbit]   4.2-RC-20060712 - hobbitdboard bug?
>> ----
>>
>>> Hi all,
>>>
>>> i have two hosts in my cfg file,  nal-asl-1 and nal-asl-11. Using the 
>>> command :
>>>
>>> $BBHOME/bin/bb 127.0.0.1 "hobbitdboard host=$chtarget"
>>>
>>> to check the status for these hosts, when the script check
>>>
>>> $BBHOME/bin/bb 127.0.0.1 "hobbitdboard host=nal-asl-1"
>>>
>>> return not only the status for the host nal-asl-1 but also for the host 
>>> nal-asl-11.
>>>
>>> It's a bug or i do something wrong?
>>>
>>> regards,
>>>
>>> Marco
>>>
>>>
>>
>> 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
> 




More information about the Xymon mailing list