Xymon Mailing List Archive search

help with dialup of modembank

2 messages in this thread

list Francesco Duranti · Mon, 24 Jul 2006 00:23:33 +0200 ·

I've some problems with the dialup directive for modembank...
I'm using the 4.2 RC and I've tried many times changing the configuration but it seems I cannot get them to work.

If I've understood well the man page of bb-hosts I've to put the dialup alone in a group or page so i created 2 pages each one with a modem bank:

page Palmari Palmari mares
dialup Mares 10.201.140.1 247
page Radius Radius Server
dialup Radius 10.201.140.249 3

The result is that in the bbgen page i get this error and no output is generated in the 2 pages of modem banks
Error output:
Confused - hostname 'Mares' cannot be found. Ignored
Confused - hostname 'Radius' cannot be found. Ignored

if i put the dialup after ip/hostname :
page Palmari Palmari mares
10.201.140.1 Mares # dialup Mares 10.201.140.1 247
page Radius Radius Server palmari
10.201.140.249 Radius # dialup Radius 10.201.140.249 3

I get this error in bbgen webpage and the houput on only a single connection column in the pages
Error output:
Modembank status log dialup.Mares has more entries (246) than expected (0)
Modembank status log dialup.Radius has more entries (2) than expected (0)

If I put in the bb-hosts
page Palmari Palmari mares
dialup Mares 10.201.140.1 247
10.201.140.1 Mares # noconn
page Radius Radius Server palmari
dialup Radius 10.201.140.249 3
10.201.140.249 Radius # noconn

I get those errors in the bbgen webpage but on the 2 pages i get report of the modembanks but i also get 2 times the name of the host, the first with the connection tests and the second with nothing
Error output:
Modembank Mares has additional status-logs - ignored
Modembank Mares has additional status-logs - ignored
Modembank Mares has additional status-logs - ignored
Modembank Radius has additional status-logs - ignored
Modembank Radius has additional status-logs - ignored
Modembank Radius has additional status-logs - ignored
WARNING: Modembank displays should be in their own group or page.
Mixing normal hosts with modembanks yield strange output.
WARNING: Modembank displays should be in their own group or page.
Mixing normal hosts with modembanks yield strange output.

Someone can help me ? Thanks

Francesco

list Henrik Størner · Mon, 24 Jul 2006 10:04:30 +0200 ·
On Mon, Jul 24, 2006 at 12:23:33AM +0200, Francesco Duranti wrote:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
Francesco, could you please use plain-text when sending mails to the
list? HTML mail means much more work for me. Thanks.
<!-- Converted from text/plain format -->
Hmm - maybe you did, and something else converts it. Must be your setup.
▸ quoted from Francesco Duranti
I've some problems with the dialup directive for modembank...
I'm using the 4.2 RC and I've tried many times changing the 
configuration but it seems I cannot get them to work.
I'm not surprised. It's been ages since I last tested it - I've never
used it myself - and I am pretty sure I've broken it with some of the
changes that have gone into Hobbit over the past year.

Unless there's a huge outcry of "I really need it!", I don't think I 
can be bothered to fix it; I'll just remove it instead. And if you
do need it, I will probably implement it as a plain network test
associated with a normal host (like the "http" tests where you can have
multiple HTTP requests) instead of making these IP-pool-checks something
special.

In a later release, of course.


Regards,
Henrik