[hobbit] alert.chk
Dominique Frise
dominique.frise at unil.ch
Thu May 14 07:38:54 CEST 2009
Torsten Richter wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi there,
>
> I just migrated a script I've written some time ago for Big Brother to
> XYmon for creating a special page for our operators.
> Thus I'm using the file alert.chk for evaluating the data that will be
> displayed on this page.
> Today I saw that there was a red icon for a test and when I clicked on
> it the page for the test itself was yellow for over 2 hours.
> When I grepped for the machine and test in alert.chk I saw that the
> color there was set to red. I doublechecked with hobbitd.chk and there
> the color was yellow.
> I'm talking about the fifth column in alert.chk and the sixth in
> hobbitd.chk.
> Maybe I should not use alert.chk for getting the data but use
> hobbitd.chk instead?
> But I was wondering why there are differences between these two files.
> Perhaps someone can turn me in the right direction so that I can see the
> light :-)
>
> Cheers
> Torsten
> - --
> +---------------------------------------------------------+
> | Richter IT-Consulting |
> | E-mail : bb4 [at] richter-it.net |
> | |
> | Homepage: http://www.richter-it.net/ |
> +---------------------------------------------------------+
> Download my public key from:
> http://www.keyserver.net:11371/pks/lookup?op=get&search=0x899093AC
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.3-nr1 (Windows XP)
>
> iD8DBQFKCwLF7DlmxomQk6wRAgRxAKDG3IIS4auPYDgvmKWtceJgA0VF2wCgqs32
> dLDRcgMaqFsWPh2ooMl3P8w=
> =TE3/
> -----END PGP SIGNATURE-----
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
>
>
Better to use "bb" command to query Xymon internal statuses.
example:
$ ./bb 127.0.0.1 "hobbitdboard host=admiral test=ldap"
admiral|ldap|green||1239861135|1242279011|1242280811|0|0|12.34.56.78|-1|green
Thu May 14 07:29:59 2009
Check bb(1) man page for more info.
Dominique
More information about the Xymon
mailing list