[hobbit] New Hobbit "admin" Scripts

Martin Flemming flemming at mail.desy.de
Wed Dec 20 21:49:00 CET 2006


Me too ...

Apache/2.0.52 (Red Hat) Server
Scientific Linux SL release 4.3 (Beryllium)
hobbit-4.2.0

sorry,
        Martin

______________________________________________________
Martin Flemming
DESY / IT          office : Building 2b / 008a
Notkestr. 85       phone  : 040 - 8998 - 4667
22603 Hamburg      mail   : martin.flemming at desy.de
______________________________________________________



On Wed, 20 Dec 2006, Geoff Hallford wrote:

> Stefan,
>
> Don't know what the issue is but I get a 500 error on every script of yours.
> Maybe they were transferred from the web server in the wrong format (ascii
> vs. binary)? Not sure.
>
> Server error!
>
> The server encountered an internal error and was unable to complete your
> request.
>
> Error message:
> Premature end of script headers: viewlogs.sh
>
> If you think this is a server error, please contact the
> webmaster<%5bno%20address%20given%5d>.
>
> Error 500 bigbrother <https://mail.google.com/>
> Wed Dec 20 15:27:27 2006
> Apache/2.0.54 (Linux/SUSE)
>
>
> On 12/20/06, stefan.freisler at aspect-online.de <
> stefan.freisler at aspect-online.de> wrote:
>> 
>> 
>> 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
>> <http://dict.leo.org/ende?lp=ende&p=/gQPU.&search=Christmas>soon ;-)
>
>
>
>
> -- 
> 'If my answers frighten you then you should cease asking scary questions.'
> --Sam Jackson from Pulp Fiction
>




More information about the Xymon mailing list