Xymon Mailing List Archive search

cgi bb-hostedit script released

list Thomas Ruecker
Fri, 29 Apr 2005 08:06:13 +0200
Message-Id: <user-3f3964b89922@xymon.invalid>

Hi Eric,
I found some problems with my bb-hosts-files:
1. If the a line starts with #, it is a comment. The script reports me a syntax-error
I added the following lines:
---snip---
      # Exclude Comments
       elsif($item =~ /^#/) {
         next;
       }
---snap---

2. I included one host on more than one page, so the script reports me about already definded host.
To get a step forward, I comment out the part in the sctipt.

Now I see the subpages, but no hosts. I can add hosts to the subpage.
I already tried to make a script, that builds the bb-hosts from a MySQL-Database. I got it never finished, because of all the possible combinations :(

Thomas