[hobbit] Duplicate tests listed in Info column
Francesco Duranti
fduranti at q8.it
Mon Aug 14 22:37:22 CEST 2006
I'm getting the same problem on some hosts...
This is the output of the 2 commands....
[bb at ITROMLX10 etc]$ bb 127.0.0.1 "hobbitdboard
fields=hostname,testname,color,client host=itromlx10"
itromlx10|trends|green|Y
itromlx10|info|green|Y
itromlx10|bbgen-bea|green|Y
itromlx10|hobbitd|green|Y
itromlx10|bbtest|yellow|Y
itromlx10|content|green|Y
itromlx10|http|green|Y
itromlx10|vnc1|green|Y
itromlx10|telnet|green|Y
itromlx10|ssh|green|Y
itromlx10|bbd|green|Y
itromlx10|conn|green|Y
itromlx10|dm|green|Y
itromlx10|memory|green|Y
itromlx10|files|clear|Y
itromlx10|msgs|green|Y
itromlx10|ports|clear|Y
itromlx10|procs|clear|Y
itromlx10|disk|green|Y
itromlx10|cpu|green|Y
itromlx10|bbgen-siebelserv|green|Y
itromlx10|bbgen-sap|green|Y
itromlx10|bbgen-kpes|green|Y
itromlx10|bbgen-db|green|Y
itromlx10|bbgen-win|green|Y
itromlx10|bbgen-network|green|Y
itromlx10|bbgen-inet|green|Y
itromlx10|bbgen|green|Y
itromlx101|trends|green|Y
itromlx101|info|green|Y
itromlx101|ports|clear|Y
itromlx101|vmio|green|Y
itromlx101|raid|green|Y
itromlx101|memory|green|Y
itromlx101|files|green|Y
itromlx101|msgs|green|Y
itromlx101|procs|clear|Y
itromlx101|disk|green|Y
itromlx101|cpu|green|Y
itromlx101|cpu2|green|Y
itromlx101|drbd|green|Y
itromlx101|vnc1|green|Y
itromlx101|telnet|green|Y
itromlx101|ssh|green|Y
itromlx101|ntp|green|Y
itromlx101|conn|green|Y
itromlx101|ntpd|green|Y
itromlx102|trends|green|Y
itromlx102|info|green|Y
itromlx102|ports|clear|Y
itromlx102|raid|green|Y
itromlx102|memory|green|Y
itromlx102|files|yellow|Y
itromlx102|msgs|green|Y
itromlx102|procs|clear|Y
itromlx102|disk|green|Y
itromlx102|cpu|green|Y
itromlx102|cpu2|green|Y
itromlx102|drbd|green|Y
itromlx102|vnc1|green|Y
itromlx102|telnet|green|Y
itromlx102|ssh|green|Y
itromlx102|ntp|green|Y
itromlx102|conn|green|Y
itromlx102|ntpd|green|Y
itromlx102|vmio|green|Y
[bb at ITROMLX10 etc]$ bb 127.0.0.1 "hobbitdboard
fields=hostname,testname,color,client host=^itromlx10$"
itromlx10|trends|green|Y
itromlx10|info|green|Y
itromlx10|bbgen-bea|green|Y
itromlx10|hobbitd|green|Y
itromlx10|bbtest|yellow|Y
itromlx10|content|green|Y
itromlx10|http|green|Y
itromlx10|vnc1|green|Y
itromlx10|telnet|green|Y
itromlx10|ssh|green|Y
itromlx10|bbd|green|Y
itromlx10|conn|green|Y
itromlx10|dm|green|Y
itromlx10|memory|green|Y
itromlx10|files|clear|Y
itromlx10|msgs|green|Y
itromlx10|ports|clear|Y
itromlx10|procs|clear|Y
itromlx10|disk|green|Y
itromlx10|cpu|green|Y
itromlx10|bbgen-siebelserv|green|Y
itromlx10|bbgen-sap|green|Y
itromlx10|bbgen-kpes|green|Y
itromlx10|bbgen-db|green|Y
itromlx10|bbgen-win|green|Y
itromlx10|bbgen-network|green|Y
itromlx10|bbgen-inet|green|Y
itromlx10|bbgen|green|Y
> -----Original Message-----
> From: Henrik Stoerner [mailto:henrik at hswn.dk]
> Sent: Monday, August 14, 2006 10:29 PM
> To: hobbit at hswn.dk
> Subject: Re: [hobbit] Duplicate tests listed in Info column
>
> 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
>
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
>
>
>
More information about the Xymon
mailing list