no, I didn't change anything other than add the PORT under a HOST= inside
hobbit-clients.cfg.
1) Could you copy+paste your PORT line here? I got the impression Hobbit
Monitor is not fault-tolerant regarding the ordering of the directives on
some tests.
2) Or, could you try it without HOST wildcard, under a HOST=oneServerHere,
with your own PORT or mine?
3) as you can see, I am running out of ideas, since mine simply worked, with
PORT under a simple HOST= (non-wildcarded)
On 9/7/06, Gary B. <user-33b796116d5f@xymon.invalid> wrote:
I removed the HOST= trailing tags on the PORT tests. I also insert ()
between % and $ as suggested. Still no graph. But the RRD files
*are* being generated. They just aren't being displayed on the page.
Is there any other file that I need to modify? hobbitgraph.cfg?
just for testing, could you remove the HOST= part of it ? Did you insert
()
between % and $?
On 8/31/06, Gary B. < user-33b796116d5f@xymon.invalid> wrote:
Not there either
On 8/31/06, Jerry Yu < user-764c1f364fe0@xymon.invalid> wrote:
what about the 'trends' column?
On 8/31/06, Gary B. <user-33b796116d5f@xymon.invalid> wrote:
did you wait enough cycles? could you check if there's RRD
actually
generated for the host under /var/lib/hobbit/rrd/ ?
Yes, I've waited enough cycles, but the graph still isn't showing
up.
Meanwhile, several other changes I've made have shown up.
Yes, the RRD files have actually been generated. They just don't
want
to show up on the "ports" page for this host... It's time for
lunch,
so I'll check when I get back - maybe it'll work if I don't stare
at
it, like that pot of boiling water ;-)
On 8/31/06, Gary B. < user-33b796116d5f@xymon.invalid> wrote:
oh, you are using it under a wild-card (or multi-host) HOST=
section
thus
you want to limit the test to apply to that HOST alone.
makes
sense
then.
I think the missing () is somewhat important too. If I
recall
correctly,
I
didn't have much sucess until I inserted () myself.
Hmm. The actual tests seem to be working correctly, but the
RRD
graph
just isn't showing up...
On 8/31/06, Gary B. < user-33b796116d5f@xymon.invalid> wrote:
I don't use HOST= in my working PORT tracking. I agree
with
Greg
on
doing
it
via the RegExp itself.
The problem with that is, it will perform the PORT test on
all
of
the
machines under the HOST= section the test is under. I don't
want
this, as only one of the machines actually has the ports
running. I
haven't had a problem using HOST= in this manner before, and
it's
described in the "rules to select hosts" section in the
manpage
for
hobbit-clients.cfg
minor thing: not so sure TRACK= can take all numeric or
not.
I believe your RegExp needs (). Mine goes like below. I
have
PORT
column
show and alerts generated, plus RRD graph for counting of
TIME_WAIT
connections to
PORT LOCAL=%([.:]3306)$ STATE=TIME_WAIT MIN=0 MAX=10000
COL=yellow
TRACK=db_TimeWait TEXT=db_TimeWait
I was wondering that myself. I'll try changing to TRACK= to
be
character-based and see if that helps.