Xymon Mailing List Archive search

New Hobbit "admin" Scripts

list Stefan Freisler
Wed, 20 Dec 2006 16:26:01 +0100
Message-Id: <user-9f806b5f39ac@xymon.invalid>

Hi,
i have wrote 5 CGI-Scripts for administrate Hobbit. But i need Helf 
because there are many unsolved Problems

1. A Script which can delete/rename Services or Hosts
2. A Script where you can edit your Config in Browser
3. A Script to test your hobbit-alert.cfg in two way.
        1. By using bbcm
        2. To change any Test in any Color you want
4. A Script to watch your Hobbit Server Logs in Browser
5. A Script you can view Graphs with an exact Time.

You can download it here:
http://www.fh-augsburg.de/~henk/hobbit/
and copie it in ./cgi-secure

header and footer must copied in ./server/web/ 
and your Menu should changed: (./server/www/menu_items.js)
in something like that:
...
['Administration', null, null,
                ['Find host', 'http://hobbit/hobbit-cgi/bb-findhost.sh';],
                ['Acknowledge alert', 
'http://hobbit/hobbit-seccgi/bb-ack.sh';],
                ['Enable/disable', 
'http://hobbit/hobbit-seccgi/hobbit-enadis.sh';],
                ['Edit critical systems', 
'http://hobbit/hobbit-seccgi/hobbit-nkedit.sh';],
                ['Rename/Delete', 
'http://hobbit/hobbit-seccgi/chhostservice.sh';],
                ['Edit Configs', 
'http://hobbit/hobbit-seccgi/edit_files.sh';],
                ['Test alerts', 
'http://hobbit/hobbit-seccgi/testalarm.sh';],
                ['View Hobbit-Server Logs', 
'http://hobbit/hobbit-seccgi/viewlogs.sh';],
                ['View Graph', 
'http://hobbit/hobbit-seccgi/view_graph.sh';],
        ],
...

NOW TO MY PROBLEMS:
1. How can i found out which server have which service? and that only by 
using the Filesystem because i don't use C (i use normal bashscripts)
2. How can i found which Server has which graph? (with the same Condition)

3. Bugs, Problems,....

thx a lot
Stefan

P.S. sorry for my bad English its christmas soon ;-)