[hobbit] custom client script and disable

Frédéric Mangeant frederic.mangeant at steria.com
Mon Nov 14 17:18:41 CET 2005


Frédéric Mangeant a écrit :
> Steve a écrit :
>> So ...
>>
>> I add the code you suggest, query bb for status and test for blue, 
>> but it is never blue, even when disabled. 
>
> Hi
>
> same here (with Hobbit 4.1.2), it returns the "true" color of the 
> test, and not blue :
>
> $ ./bb localhost "query dashboard.conn"
> red <!-- [flags:ordAstILe] --> Thu Nov 10 16:53:30 2005 conn NOT ok
>
> It works fine on my bbgen 3.6 server :
>
> $ ./bb localhost "query dashboard.conn"
> blue   Wed Oct 26 18:24:17 2005    OFFLINE UNTIL Mon Jul 21 18:24:17 2008
>

Hi Henrik

using "hobbitdlog" (from 4.1.2p1) it works fine, the blue color shows up 
on the first line :


$ ./bb localhost "hobbitdlog dashboard.conn"
dashboard|conn|blue|ordAstILe|1131615360|1131984873|1140168960|0|1140168960|10.50.80.10|-1||Disabled 
by: unknown @ 10.50.8.55\nReason: Ne répond jamais\n|N
red <!-- [flags:ordAstILe] --> Mon Nov 14 17:14:25 2005 conn NOT ok

Service conn on dashboard is not OK : Host does not respond to ping


System unreachable for 6592 poll periods (1989310 seconds)

&red 10.50.80.2 is unreachable

Regards,

-- 

Frédéric Mangeant

Steria EDC Sophia-Antipolis






More information about the Xymon mailing list