OK, interesting discovery here. It seems that the hostname given to the
dialup directive must be included elsewhere in bb-hosts. Our modem bank
is on a host called xxx, and when I put xxx on its own page with the
dialup directive, bbgen goes yellow and complains "Confused: can't find
host xxx." But when I add a prior, standard entry for xxx on another
page, the dialup directive works. In a way this makes sense, because
normal bb-hosts entries are supposed to have an IP addr and a hostname,
but the dialup directive asks only for a hostname -- so how can it know
the address unless there has been a prior entry for that host? So I
suppose this was the intended behavior, but still it seems like the
admin should be given the option not to include this host in another
page. Anyway the problem is only half solved: the new dialup page
works, but it shows a row of yellow question mark bubbles, instead of
clear or green ones. When clicked, these bubbles lead to a white
"Status not available" page. Something else is wrong?
- ms
Mike Serra wrote:
Hi Greg,
The bb-hosts man page has a description of a "dialup" tag in the way
that you are using it, in the section titled "Bbgen Display Options."
But, there is also a later section called "Ping Test of Modembanks." It
describes a directive of the form "dialup <hostname> <startIP>
<count>." The idea is that you can do a ping test that goes clear
instead of red, but for a range of IP addresses, instead of just one
(and it appears the addresses do not need to have matching DNS
entries). That is what I am trying to use. I'm not sure I have the
syntax correct: can anyone out there using this explain where the dialup
tag goes in relation to the page tag, etc?
- ms
Hubbard, Greg L wrote:
Mike,
I use "dialup" to flag a host that may or may not be there when I ping
it. If the host is not accessible, the status is clear instead of red.
Handy for test machines. This dates back to Big Brother. Could this be
what you are trying to use?
GLH
-----Original Message-----
From: Mike Serra [mailto:user-2f7c303fd748@xymon.invalid]
Sent: Tuesday, August 08, 2006 9:03 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] dialup directive not implemented?
Hi Hobbit users,
I have a simple question about the "dialup" directive in bb-hosts, the
one that is supposed to come immediately after a page or subpage
directive, and is used to ping a range of hosts, like a modem pool. Our
sysadmin tells me that he read (in a man page online?) that this
directive is not implemented. And it's acting like it isn't: we can't
get it to do anything, despite trying every possible syntax that could
make sense. But on the other hand people online talk about this as if
they're using it just fine. So -- is it implemented? We are using
hobbit version 4.2-beta-20060605.
Thanks,
- Mike Serra