[hobbit] Duplicate tests listed in Info column
Henrik Stoerner
henrik at hswn.dk
Mon Aug 14 22:28:40 CEST 2006
On Mon, Aug 14, 2006 at 09:32:16AM -0700, Charles Jones wrote:
> Henrik Stoerner wrote:
> >On Thu, Aug 10, 2006 at 04:40:39PM -0700, Charles Jones wrote:
> >
> >>When I go to the info column of certain hosts (it doesn't seem to be
> >>affecting them all), the "Disable tests" window has duplicate tests.
> >>Some hosts have as many as 9 ecah of conn, cpu, disk, etc.
> >>
> >
> >Could you try running this command for one of those hosts:
> > bb 127.0.0.1 "hobbitdboard
> > fields=testname,color,disabletime,dismsg,client host=HOSTNAME"
> >
> Sorry for the spam, but you asked for it :-)
>
> $ ./bb 127.0.0.1 "hobbitdboard
> fields=testname,color,disabletime,dismsg,client host=myhost"
[snip]
> I hope this helps you figure out what's wrong!
OK, two more things I'd like you to try: The commands
bb 127.0.0.1 "hobbitdboard fields=hostname,testname,color,client host=HOSTNAME"
and
bb 127.0.0.1 "hobbitdboard fields=hostname,testname,color,client host=^HOSTNAME\$"
I suspect this is happening because you have several hosts whose
hostnames are similar, and e.g. "server1" also happens to match
"server10" and "server11" - simply because I changed the name matching
to use regular expressions instead of a simple string-compare.
Regards,
Henrik
More information about the Xymon
mailing list