Xymon Mailing List Archive search

"ports" RRD graph not showing up

list Gary B.
Thu, 7 Sep 2006 10:24:28 -0400
Message-Id: <user-fd8d3abb15e4@xymon.invalid>

Oh yeah... That makes sense...
I upgraded from an earlier version of Hobbit on the server that didn't
support the new PORTS monitoring tests.  So, hobbitserver.cfg didn't
include the appropriate entries for TEST2RRD and GRAPHS...  I added
that, and what do you know, it's working now ;-)
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.