[hobbit] Multiple ssh tests under one single status.
Charles Jones
jonescr at cisco.com
Wed Sep 19 19:37:04 CEST 2007
I recently dealt with this very issue, as we have an ssh server that
listens on both port 22, and another port. I ended up duplicating the
ssh section of bb-services and creating one called "altssh" that was
using the other port, and then in bb-hosts I check for both (# ssh
altssh ...). This way I am sure to get accurate and seperate checks and
alerts.
I also monitor some IRC servers as well, and our hub uses a nonstandard
port. I used the same method and check for "irc" as well as "irchub".
-Charles
Fabrice Di Pasquale wrote:
> Hello,
>
> At the end of this page :
> http://www.hswn.dk/hobbiton/2005/01/msg00194.html
>
> I can read :
>
>
> --o<--o<--o<--o<--o<--o<--o<--o<--o<--o<--o<--
> > What will happen if I do irc:6667 irc:6668? I assume it will only
> > display the output of the last one, but will it still check them
> > all?
>
> The result will be unreliable. It will probably check all of them,
> but when reporting the results it will report two results for the same
> status. So if the first test is "red" and the second is "green",
> you'll get a downtime lasting a fraction of a second. It might trigger
> an alert, it might not.
> --o<--o<--o<--o<--o<--o<--o<--o<--o<--o<--o<--
>
>
> This was in 2005. Is there a way to do that now ? Is it possible to
> make several tests, for example "ssh ssh:5080 ssh:5081" and to get a
> permanent red status if at least one of them is down ?
>
>
> Is it true that this : ssh:5080|ssh:5081|ssh:5082
> would stay green if at least one of them is up ?
>
> I tried to play with exclamation marks, commas and pipe signs, without
> success.
>
> Thanks.
>
>
More information about the Xymon
mailing list