New Version of Admin Scripts (v.0.1.0)
Hi, i have added a new version of my admin scripts, with some more features and lesser bugs (i hope ;-) )
You can Download it here: http://www.fh-augsburg.de/~henk/hobbit/
Have fun to test it and to report Bugs and Wishes.
Changelog: 2007-01-04 v0.1.0 +use DHTML-Calendar instead of Plain HTML (http://www.dynarch.com/projects/calendar/) +use an better files-structur +use bb to get Hosts and Services (hobbitdxboard) (with to ways (enable it in cfg)) 1. Get all services and hosts 2. Get all hosts and only the services of this Host (Use Javascript to select)(it can be slow because bash programms are not c) +Show time it needed the Script +Header and Footer lidle overworked +New Option in viewlogs.sh to set Tail because it don't work on Solaris +View Log should show now an list, if it has not until yet. +Some more Bugs fixed
Hello,
I must have missed a previous post, but what are the features of your admin script?
-----Original Message----- From: stefan.freisler at aspect-online.de [mailto:stefan.freisler at aspect-online.de] Sent: Thursday, January 04, 2007 8:45 AM To: hobbit at hswn.dk Subject: [hobbit] New Version of Admin Scripts (v.0.1.0)
Hi, i have added a new version of my admin scripts, with some more features and lesser bugs (i hope ;-) )
You can Download it here: http://www.fh-augsburg.de/~henk/hobbit/
Have fun to test it and to report Bugs and Wishes.
Changelog: 2007-01-04 v0.1.0 +use DHTML-Calendar instead of Plain HTML (http://www.dynarch.com/projects/calendar/) +use an better files-structur +use bb to get Hosts and Services (hobbitdxboard) (with to ways (enable it in cfg)) 1. Get all services and hosts 2. Get all hosts and only the services of this Host (Use Javascript to select)(it can be slow because bash programms are not c) +Show time it needed the Script +Header and Footer lidle overworked +New Option in viewlogs.sh to set Tail because it don't work on Solaris +View Log should show now an list, if it has not until yet. +Some more Bugs fixed
Hi, when you have an wish i will try to include it.
The aim is to manage hobbit mostly by browser.
View Graph:
You can view Graphs with exact time data:
- Begin
- End
- Size of Graph
View Logs:
You can view Logs of your Hobbit Server directly in Browser
Edit Configs:
You can edit, configs directly in Browser
Delete/Rename Services:
You can delete Services/Hosts by selecting them.
You can rename Services by typing an new Name ;-)
Test Alerts:
You can use the command "bbcmd --test" in Browser and can the if you will inform on an Problem
You can change an status of an Test. (Send an dummy status massage to server)
Hi Stefan,
I've downloaded 0.1.1, and am getting the Server 500 error on Apache, "The server encountered an internal error and was unable to complete your request.
Error message:
Premature end of script headers: testalarm.sh"
I looked on the apache web site regarding this error, and it says to try to run this from the command line. When I do, I get ": bad interpreter: No such file or directory".
I'm not sure what info you need from me to help me to help you figure this out J
I'm running OpenSuSE 10.0.
Thanks,
Al
From: stefan.freisler at aspect-online.de [mailto:stefan.freisler at aspect-online.de] Sent: Thursday, January 04, 2007 8:45 AM To: hobbit at hswn.dk Subject: [hobbit] New Version of Admin Scripts (v.0.1.0)
Hi, i have added a new version of my admin scripts, with some more features and lesser bugs (i hope ;-) )
You can Download it here: http://www.fh-augsburg.de/~henk/hobbit/
Have fun to test it and to report Bugs and Wishes.
Changelog: 2007-01-04 v0.1.0 +use DHTML-Calendar instead of Plain HTML (http://www.dynarch.com/projects/calendar/) +use an better files-structur +use bb to get Hosts and Services (hobbitdxboard) (with to ways (enable it in cfg)) 1. Get all services and hosts 2. Get all hosts and only the services of this Host (Use Javascript to select)(it can be slow because bash programms are not c) +Show time it needed the Script +Header and Footer lidle overworked +New Option in viewlogs.sh to set Tail because it don't work on Solaris +View Log should show now an list, if it has not until yet. +Some more Bugs fixed
This e-mail message and any attached files are confidential and are intended solely for the use of the addressee(s) named above. If you are not the intended recipient, any review, use, or distribution of this e-mail message and any attached files is strictly prohibited. This communication may contain material protected by Federal privacy regulations, attorney-client work product, or other privileges. If you have received this confidential communication in error, please notify the sender immediately by reply e-mail message and permanently delete the original message. To reply to our email administrator directly, send an email to: postmaster at orlandoregional.org . If this e-mail message concerns a contract matter, be advised that no employee or agent is authorized to conclude any binding agreement on behalf of Orlando Regional Healthcare by e-mail without express written confirmation by an officer of the corporation. Any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of Orlando Regional Healthcare.
Jeffcoat, Al wrote:
Hi Stefan,
I’ve downloaded 0.1.1, and am getting the Server 500 error on Apache, “The server encountered an internal error and was unable to complete your request.
Error message:
Premature end of script headers: testalarm.sh”
I looked on the apache web site regarding this error, and it says to try to run this from the command line. When I do, I get “: bad interpreter: No such file or directory”.
I’m not sure what info you need from me to help me to help you figure this out J
I’m running OpenSuSE 10.0.
Thanks,
Al
*From:* stefan.freisler at aspect-online.de [mailto:stefan.freisler at aspect-online.de] *Sent:* Thursday, January 04, 2007 8:45 AM *To:* hobbit at hswn.dk *Subject:* [hobbit] New Version of Admin Scripts (v.0.1.0)
Hi, i have added a new version of my admin scripts, with some more features and lesser bugs (i hope ;-) )
You can Download it here: http://www.fh-augsburg.de/~henk/hobbit/
Have fun to test it and to report Bugs and Wishes.
Changelog: 2007-01-04 v0.1.0 +use DHTML-Calendar instead of Plain HTML (http://www.dynarch.com/projects/calendar/) +use an better files-structur +use bb to get Hosts and Services (hobbitdxboard) (with to ways (enable it in cfg))
- Get all services and hosts
- Get all hosts and only the services of this Host (Use Javascript to select)(it can be slow because bash programms are not c) +Show time it needed the Script +Header and Footer lidle overworked +New Option in viewlogs.sh to set Tail because it don't work on Solaris +View Log should show now an list, if it has not until yet. +Some more Bugs fixed
This e-mail message and any attached files are confidential and are intended solely for the use of the addressee(s) named above. If you are not the intended recipient, any review, use, or distribution of this e-mail message and any attached files is strictly prohibited. This communication may contain material protected by Federal privacy regulations, attorney-client work product, or other privileges. If you have received this confidential communication in error, please notify the sender immediately by reply e-mail message and permanently delete the original message. To reply to our email administrator directly, send an email to: postmaster at orlandoregional.org . If this e-mail message concerns a contract matter, be advised that no employee or agent is authorized to conclude any binding agreement on behalf of Orlando Regional Healthcare by e-mail without express written confirmation by an officer of the corporation. Any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of Orlando Regional Healthcare.
One thing you can do since they're shell scripts is to add 'set -x' to the script (2nd line would work) or run the script on the command line like 'sh -x testalarm.sh'.
=G=
Hi, what do this command i never heard about "set -x" should i inklude it on all scripts or is this only solution for this problem?
thx Stefan
On 1/5/07, stefan.freisler at aspect-online.de <stefan.freisler at aspect-online.de> wrote:
Hi, what do this command i never heard about "set -x" should i inklude it on all scripts or is this only solution for this problem?
"set -x" is useful for debugging shell scripts. It tells the shell to print out everything it does, so you probably *don't* want to include it normally. "set +x" turns debugging off again. So, when part of a script misbehaves you can bracket it with "set -x" & "set +x" to see what's actually happening.
Ralph Mitchell
It's a debug mode if you will... It shows you what the script is doing. Here's an example with one of the scripts.
sh -x edit_files.sh
' echo 'content-type: text/html
content-type: text/html
- echo $'\r'
++ +%s
edit_files.sh: line 12: +%s: command not found
this_create_time=$'\r'
$'\r'
: command not found 13:
- COLOR=$'blue\r'
' THIS_TITLE='Edit Configs
- $'\r'
: command not found 21:
HOBBIT_SERVER_CFG=$'../server/etc/hobbitserver.cfg\r'
$'\r'
: command not found 23:
FILEX=(/etc/bb-hosts /etc/hobbit-alerts.cfg /etc/hobbitgraph.cfg /etc/hobbitlaunch.cfg /etc/hobbitserver.cfg)
$'\r'
: command not found 26:
'dit_files.sh: line 34: syntax error near unexpected token `
'dit_files.sh: line 34: `this_cgiascii()
Al
From: stefan.freisler at aspect-online.de [mailto:stefan.freisler at aspect-online.de] Sent: Friday, January 05, 2007 2:14 AM To: hobbit at hswn.dk Subject: [hobbit] Antwort: Re: [hobbit] New Version of Admin Scripts (v.0.1.0)
Hi, what do this command i never heard about "set -x" should i inklude it on all scripts or is this only solution for this problem?
thx Stefan
This e-mail message and any attached files are confidential and are intended solely for the use of the addressee(s) named above. If you are not the intended recipient, any review, use, or distribution of this e-mail message and any attached files is strictly prohibited. This communication may contain material protected by Federal privacy regulations, attorney-client work product, or other privileges. If you have received this confidential communication in error, please notify the sender immediately by reply e-mail message and permanently delete the original message. To reply to our email administrator directly, send an email to: postmaster at orlandoregional.org . If this e-mail message concerns a contract matter, be advised that no employee or agent is authorized to conclude any binding agreement on behalf of Orlando Regional Healthcare by e-mail without express written confirmation by an officer of the corporation. Any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of Orlando Regional Healthcare.
Hi, do you have given them rights for executing (for webserver)?
can you try this simple script?
#!/bin/sh echo "content-type: text/html" echo "" echo "Script runs!" exit 0
thx for testing.
mfg Stefan
That works, I get Script runs!
From: stefan.freisler at aspect-online.de [mailto:stefan.freisler at aspect-online.de] Sent: Friday, January 05, 2007 2:18 AM To: hobbit at hswn.dk Subject: [hobbit] Antwort: RE: [hobbit] New Version of Admin Scripts (v.0.1.0)
Hi, do you have given them rights for executing (for webserver)?
can you try this simple script?
#!/bin/sh echo "content-type: text/html" echo "" echo "Script runs!" exit 0
thx for testing.
mfg Stefan
This e-mail message and any attached files are confidential and are intended solely for the use of the addressee(s) named above. If you are not the intended recipient, any review, use, or distribution of this e-mail message and any attached files is strictly prohibited. This communication may contain material protected by Federal privacy regulations, attorney-client work product, or other privileges. If you have received this confidential communication in error, please notify the sender immediately by reply e-mail message and permanently delete the original message. To reply to our email administrator directly, send an email to: postmaster at orlandoregional.org . If this e-mail message concerns a contract matter, be advised that no employee or agent is authorized to conclude any binding agreement on behalf of Orlando Regional Healthcare by e-mail without express written confirmation by an officer of the corporation. Any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of Orlando Regional Healthcare.
OK - I had this issue. Basically, these scripts seem to have been edited on a windows box, as so have the DOS style ^M at the end of each line. This will need to be removed for the scripts to run on a UNIX box. You can use a utility called "dos2unix" to convert all the scripts.
Cheers
Iain
On Thu, 2007-01-04 at 20:07 -0500, Jeffcoat, Al wrote:
Hi Stefan,
I’ve downloaded 0.1.1, and am getting the Server 500 error on Apache, “The server encountered an internal error and was unable to complete your request.
Error message:
Premature end of script headers: testalarm.sh”
I looked on the apache web site regarding this error, and it says to try to run this from the command line. When I do, I get “: bad interpreter: No such file or directory”.
I’m not sure what info you need from me to help me to help you figure this out J
I’m running OpenSuSE 10.0.
Thanks,
Al
From:stefan.freisler at aspect-online.de [mailto:stefan.freisler at aspect-online.de] Sent: Thursday, January 04, 2007 8:45 AM To: hobbit at hswn.dk Subject: [hobbit] New Version of Admin Scripts (v.0.1.0)
Hi, i have added a new version of my admin scripts, with some more features and lesser bugs (i hope ;-) )
You can Download it here: http://www.fh-augsburg.de/~henk/hobbit/
Have fun to test it and to report Bugs and Wishes.
Changelog: 2007-01-04 v0.1.0 +use DHTML-Calendar instead of Plain HTML (http://www.dynarch.com/projects/calendar/) +use an better files-structur +use bb to get Hosts and Services (hobbitdxboard) (with to ways (enable it in cfg)) 1. Get all services and hosts 2. Get all hosts and only the services of this Host (Use Javascript to select)(it can be slow because bash programms are not c) +Show time it needed the Script +Header and Footer lidle overworked +New Option in viewlogs.sh to set Tail because it don't work on Solaris +View Log should show now an list, if it has not until yet. +Some more Bugs fixed
This e-mail message and any attached files are confidential and are intended solely for the use of the addressee(s) named above. If you are not the intended recipient, any review, use, or distribution of this e-mail message and any attached files is strictly prohibited. This communication may contain material protected by Federal privacy regulations, attorney-client work product, or other privileges. If you have received this confidential communication in error, please notify the sender immediately by reply e-mail message and permanently delete the original message. To reply to our email administrator directly, send an email to: postmaster at orlandoregional.org . If this e-mail message concerns a contract matter, be advised that no employee or agent is authorized to conclude any binding agreement on behalf of Orlando Regional Healthcare by e-mail without express written confirmation by an officer of the corporation. Any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of Orlando Regional Healthcare.
Hobbit (4.2 Solaris9) made the whole disk partition out of game because of "out of inodes" fail. Disk partition is 3.8Gb , used 1.7 Gb, available 2.1Gb. The directory /opt/hobbit/data/histlogs/ keeps huge amount of historical data about each hobbit client. In my configuration I keep to the default values for history events. What shall I look after, and which variables should be tuned to avoid that fail in the future?
regards Longina
-- Longina Przybyszewska, system programmer Dept. of Math. & Comp. Sci. - IMADA University of Southern Denmark, Odense Campusvej 55,DK-5230 Odense M, Denmark
tel: +45 6550 2359 - http://www.imada.sdu.dk email: longina at imada.sdu.dk
I'm rusty on solaris, but on Linux you can use a df -i to check the inode usage on the file systems. At one time I hacked out a quick inode.sh script to monitor for this condition after this same situation happened to me. If I locate it I can send it to you or the list. If you are going to build a file system for the hobbit history logs in the future, you can tune the file system when creating it to create more inodes than the ext3 or ufs default. I think when this happened to me I just stopped hobbit, moved the histlogs to a file system with a lot of inodes free and just soft linked it to get things working again. HTH.
Tony
Longina Przybyszewska wrote:
Hobbit (4.2 Solaris9) made the whole disk partition out of game because of "out of inodes" fail. Disk partition is 3.8Gb , used 1.7 Gb, available 2.1Gb. The directory /opt/hobbit/data/histlogs/ keeps huge amount of historical data about each hobbit client. In my configuration I keep to the default values for history events. What shall I look after, and which variables should be tuned to avoid that fail in the future?
regards Longina
-- Longina Przybyszewska, system programmer Dept. of Math. & Comp. Sci. - IMADA University of Southern Denmark, Odense Campusvej 55,DK-5230 Odense M, Denmark
tel: +45 6550 2359 - http://www.imada.sdu.dk email: longina at imada.sdu.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
On Fri, Jan 05, 2007 at 01:26:52PM +0100, Longina Przybyszewska wrote:
Hobbit (4.2 Solaris9) made the whole disk partition out of game because of "out of inodes" fail. Disk partition is 3.8Gb , used 1.7 Gb, available 2.1Gb. The directory /opt/hobbit/data/histlogs/ keeps huge amount of historical data about each hobbit client. In my configuration I keep to the default values for history events. What shall I look after, and which variables should be tuned to avoid that fail in the future?
Hobbit never deletes history-logs by itself. You can use the "trimhistory" utility to remove old logfiles, or you can just setup a simple "find /home/hobbit/data/histlogs -mtime +90 | xargs rm" cronjob to wipe all history-logs older than 90 days (or whatever you prefer).
Regards, Henrik
I looked for this first thing, I had seen the previous posts. These files didn't have the ^M's. I tried it anyway, but still made no difference.
Thanks for the try tho :)
-----Original Message----- From: Iain Conochie [mailto:iain at shihad.org] Sent: Friday, January 05, 2007 6:44 AM To: hobbit at hswn.dk Subject: RE: [hobbit] New Version of Admin Scripts (v.0.1.0)
OK - I had this issue. Basically, these scripts seem to have been edited on a windows box, as so have the DOS style ^M at the end of each line. This will need to be removed for the scripts to run on a UNIX box. You can use a utility called "dos2unix" to convert all the scripts.
Cheers
Iain
On Thu, 2007-01-04 at 20:07 -0500, Jeffcoat, Al wrote:
Hi Stefan,
I’ve downloaded 0.1.1, and am getting the Server 500 error on Apache, “The server encountered an internal error and was unable to complete your request.
Error message:
Premature end of script headers: testalarm.sh”
I looked on the apache web site regarding this error, and it says to try to run this from the command line. When I do, I get “: bad interpreter: No such file or directory”.
I’m not sure what info you need from me to help me to help you figure this out J
I’m running OpenSuSE 10.0.
Thanks,
Al
From:stefan.freisler at aspect-online.de [mailto:stefan.freisler at aspect-online.de] Sent: Thursday, January 04, 2007 8:45 AM To: hobbit at hswn.dk Subject: [hobbit] New Version of Admin Scripts (v.0.1.0)
Hi, i have added a new version of my admin scripts, with some more features and lesser bugs (i hope ;-) )
You can Download it here: http://www.fh-augsburg.de/~henk/hobbit/
Have fun to test it and to report Bugs and Wishes.
Changelog: 2007-01-04 v0.1.0 +use DHTML-Calendar instead of Plain HTML (http://www.dynarch.com/projects/calendar/) +use an better files-structur +use bb to get Hosts and Services (hobbitdxboard) (with to ways (enable it in cfg)) 1. Get all services and hosts 2. Get all hosts and only the services of this Host (Use Javascript to select)(it can be slow because bash programms are not c) +Show time it needed the Script +Header and Footer lidle overworked +New Option in viewlogs.sh to set Tail because it don't work on Solaris +View Log should show now an list, if it has not until yet. +Some more Bugs fixed
This e-mail message and any attached files are confidential and are intended solely for the use of the addressee(s) named above. If you are not the intended recipient, any review, use, or distribution of this e-mail message and any attached files is strictly prohibited. This communication may contain material protected by Federal privacy regulations, attorney-client work product, or other privileges. If you have received this confidential communication in error, please notify the sender immediately by reply e-mail message and permanently delete the original message. To reply to our email administrator directly, send an email to: postmaster at orlandoregional.org . If this e-mail message concerns a contract matter, be advised that no employee or agent is authorized to conclude any binding agreement on behalf of Orlando Regional Healthcare by e-mail without express written confirmation by an officer of the corporation. Any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of Orlando Regional Healthcare.
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
This e-mail message and any attached files are confidential and are intended solely for the use of the addressee(s) named above. If you are not the intended recipient, any review, use, or distribution of this e-mail message and any attached files is strictly prohibited. This communication may contain material protected by Federal privacy regulations, attorney-client work product, or other privileges. If you have received this confidential communication in error, please notify the sender immediately by reply e-mail message and permanently delete the original message. To reply to our email administrator directly, send an email to: postmaster at orlandoregional.org . If this e-mail message concerns a contract matter, be advised that no employee or agent is authorized to conclude any binding agreement on behalf of Orlando Regional Healthcare by e-mail without express written confirmation by an officer of the corporation. Any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of Orlando Regional Healthcare.
I looked for this first thing, I had seen the previous posts. These files didn't have the ^M's. I tried it anyway, but still made no difference.
Yes i develop it under Windows ( ;-( ), but i have throw it through dos2unix, because there was a problem in the past. Do you get any Massages (Errors, notices, etc).
At this Point i can only say, if you set run permissons (for Webserver) on the scripts. It's a liddle bit difficult to say way it not works from here ;-)
thx a lot for testing, if i found out why it not work you get an update.
mfg Stefan
Thanks for the try tho :)
-----Original Message----- From: Iain Conochie [mailto:iain at shihad.org] Sent: Friday, January 05, 2007 6:44 AM To: hobbit at hswn.dk Subject: RE: [hobbit] New Version of Admin Scripts (v.0.1.0)
OK - I had this issue. Basically, these scripts seem to have been edited on a windows box, as so have the DOS style ^M at the end of each line. This will need to be removed for the scripts to run on a UNIX box. You can use a utility called "dos2unix" to convert all the scripts.
Cheers
Iain
On Thu, 2007-01-04 at 20:07 -0500, Jeffcoat, Al wrote:
Hi Stefan,
I’ve downloaded 0.1.1, and am getting the Server 500 error on Apache, “The server encountered an internal error and was unable to complete your request.
Error message:
Premature end of script headers: testalarm.sh”
I looked on the apache web site regarding this error, and it says to try to run this from the command line. When I do, I get “: bad interpreter: No such file or directory”.
I’m not sure what info you need from me to help me to help you figure this out J
I’m running OpenSuSE 10.0.
Thanks,
Al
From:stefan.freisler at aspect-online.de [mailto:stefan.freisler at aspect-online.de] Sent: Thursday, January 04, 2007 8:45 AM To: hobbit at hswn.dk Subject: [hobbit] New Version of Admin Scripts (v.0.1.0)
Hi, i have added a new version of my admin scripts, with some more features and lesser bugs (i hope ;-) )
You can Download it here: http://www.fh-augsburg.de/~henk/hobbit/
Have fun to test it and to report Bugs and Wishes.
Changelog: 2007-01-04 v0.1.0 +use DHTML-Calendar instead of Plain HTML (http://www.dynarch.com/projects/calendar/) +use an better files-structur +use bb to get Hosts and Services (hobbitdxboard) (with to ways (enable it in cfg)) 1. Get all services and hosts 2. Get all hosts and only the services of this Host (Use Javascript to select)(it can be slow because bash programms are not c) +Show time it needed the Script +Header and Footer lidle overworked +New Option in viewlogs.sh to set Tail because it don't work on Solaris +View Log should show now an list, if it has not until yet. +Some more Bugs fixed
This e-mail message and any attached files are confidential and are intended solely for the use of the addressee(s) named above. If you are not the intended recipient, any review, use, or distribution of this e-mail message and any attached files is strictly prohibited. This communication may contain material protected by Federal privacy regulations, attorney-client work product, or other privileges. If you have received this confidential communication in error, please notify the sender immediately by reply e-mail message and permanently delete the original message. To reply to our email administrator directly, send an email to: postmaster at orlandoregional.org . If this e-mail message concerns a contract matter, be advised that no employee or agent is authorized to conclude any binding agreement on behalf of Orlando Regional Healthcare by e-mail without express written confirmation by an officer of the corporation. Any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of Orlando Regional Healthcare.
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
This e-mail message and any attached files are confidential and are intended solely for the use of the addressee(s) named above. If you are not the intended recipient, any review, use, or distribution of this e-mail message and any attached files is strictly prohibited. This communication may contain material protected by Federal privacy regulations, attorney-client work product, or other privileges. If you have received this confidential communication in error, please notify the sender immediately by reply e-mail message and permanently delete the original message. To reply to our email administrator directly, send an email to: postmaster at orlandoregional.org . If this e-mail message concerns a contract matter, be advised that no employee or agent is authorized to conclude any binding agreement on behalf of Orlando Regional Healthcare by e-mail without express written confirmation by an officer of the corporation. Any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of Orlando Regional Healthcare.
Hi,
OK - I had this issue. Basically, these scripts seem to have been edited on a windows box, as so have the DOS style ^M at the end of each line. This will need to be removed for the scripts to run on a UNIX box. You can use a utility called "dos2unix" to convert all the scripts.
are you shure? before i mad my packets i hade used dos2unix, because there was a problem too in the past and since than i made this everytime.
Can it be that my ftp-client made this fault?
mfg Stefan
Cheers
Iain
On Thu, 2007-01-04 at 20:07 -0500, Jeffcoat, Al wrote:
Hi Stefan,
I’ve downloaded 0.1.1, and am getting the Server 500 error on Apache, “The server encountered an internal error and was unable to complete your request.
Error message:
Premature end of script headers: testalarm.sh”
I looked on the apache web site regarding this error, and it says to try to run this from the command line. When I do, I get “: bad interpreter: No such file or directory”.
I’m not sure what info you need from me to help me to help you figure this out J
I’m running OpenSuSE 10.0.
Thanks,
Al
From:stefan.freisler at aspect-online.de [mailto:stefan.freisler at aspect-online.de] Sent: Thursday, January 04, 2007 8:45 AM To: hobbit at hswn.dk Subject: [hobbit] New Version of Admin Scripts (v.0.1.0)
Hi, i have added a new version of my admin scripts, with some more features and lesser bugs (i hope ;-) )
You can Download it here: http://www.fh-augsburg.de/~henk/hobbit/
Have fun to test it and to report Bugs and Wishes.
Changelog: 2007-01-04 v0.1.0 +use DHTML-Calendar instead of Plain HTML (http://www.dynarch.com/projects/calendar/) +use an better files-structur +use bb to get Hosts and Services (hobbitdxboard) (with to ways (enable it in cfg)) 1. Get all services and hosts 2. Get all hosts and only the services of this Host (Use Javascript to select)(it can be slow because bash programms are not c) +Show time it needed the Script +Header and Footer lidle overworked +New Option in viewlogs.sh to set Tail because it don't work on Solaris +View Log should show now an list, if it has not until yet. +Some more Bugs fixed
This e-mail message and any attached files are confidential and are intended solely for the use of the addressee(s) named above. If you are not the intended recipient, any review, use, or distribution of this e-mail message and any attached files is strictly prohibited. This communication may contain material protected by Federal privacy regulations, attorney-client work product, or other privileges. If you have received this confidential communication in error, please notify the sender immediately by reply e-mail message and permanently delete the original message. To reply to our email administrator directly, send an email to: postmaster at orlandoregional.org . If this e-mail message concerns a contract matter, be advised that no employee or agent is authorized to conclude any binding agreement on behalf of Orlando Regional Healthcare by e-mail without express written confirmation by an officer of the corporation. Any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of Orlando Regional Healthcare.
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Hi !
I've got the same problem and i think the tar-files are the problem, if you download the single files everything is ok ...
.. tested with hobbit_admintools_0.1.1.tar ....
simple make to a diff between the files ...
cheers, Martin
Martin Flemming DESY / IT office : Building 2b / 008a Notkestr. 85 phone : 040 - 8998 - 4667 22603 Hamburg mail : martin.flemming at desy.de
On Fri, 5 Jan 2007, stefan.freisler at aspect-online.de wrote:
Hi,
OK - I had this issue. Basically, these scripts seem to have been edited on a windows box, as so have the DOS style ^M at the end of each line. This will need to be removed for the scripts to run on a UNIX box. You can use a utility called "dos2unix" to convert all the scripts.
are you shure? before i mad my packets i hade used dos2unix, because there was a problem too in the past and since than i made this everytime.
Can it be that my ftp-client made this fault?
mfg Stefan
Cheers
Iain
On Thu, 2007-01-04 at 20:07 -0500, Jeffcoat, Al wrote:
Hi Stefan,
I've downloaded 0.1.1, and am getting the Server 500 error on Apache, "The server encountered an internal error and was unable to complete your request.
Error message:
Premature end of script headers: testalarm.sh"
I looked on the apache web site regarding this error, and it says to try to run this from the command line. When I do, I get ": bad interpreter: No such file or directory".
I'm not sure what info you need from me to help me to help you figure this out J
I'm running OpenSuSE 10.0.
Thanks,
Al
From:stefan.freisler at aspect-online.de [mailto:stefan.freisler at aspect-online.de] Sent: Thursday, January 04, 2007 8:45 AM To: hobbit at hswn.dk Subject: [hobbit] New Version of Admin Scripts (v.0.1.0)
Hi, i have added a new version of my admin scripts, with some more features and lesser bugs (i hope ;-) )
You can Download it here: http://www.fh-augsburg.de/~henk/hobbit/
Have fun to test it and to report Bugs and Wishes.
Changelog: 2007-01-04 v0.1.0 +use DHTML-Calendar instead of Plain HTML (http://www.dynarch.com/projects/calendar/) +use an better files-structur +use bb to get Hosts and Services (hobbitdxboard) (with to ways (enable it in cfg)) 1. Get all services and hosts 2. Get all hosts and only the services of this Host (Use Javascript to select)(it can be slow because bash programms are not c) +Show time it needed the Script +Header and Footer lidle overworked +New Option in viewlogs.sh to set Tail because it don't work on Solaris +View Log should show now an list, if it has not until yet. +Some more Bugs fixed
This e-mail message and any attached files are confidential and are intended solely for the use of the addressee(s) named above. If you are not the intended recipient, any review, use, or distribution of this e-mail message and any attached files is strictly prohibited. This communication may contain material protected by Federal privacy regulations, attorney-client work product, or other privileges. If you have received this confidential communication in error, please notify the sender immediately by reply e-mail message and permanently delete the original message. To reply to our email administrator directly, send an email to: postmaster at orlandoregional.org . If this e-mail message concerns a contract matter, be advised that no employee or agent is authorized to conclude any binding agreement on behalf of Orlando Regional Healthcare by e-mail without express written confirmation by an officer of the corporation. Any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of Orlando Regional Healthcare.
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
<my-opinion>
Ftp is a horrible protocol for doing this kind of thing :(
</my-opinion>
As far as i can tell, this is actually a function of the FTP server. I have even seen this issue on installation CD's for UNIX type software.
Since I have seen this in the past, I had a quick check and found a way to fix. NOt really sure how you can stop this from happening though.
Cheers
Iain
On Fri, 2007-01-05 at 14:20 +0100, stefan.freisler at aspect-online.de wrote:
Hi,
OK - I had this issue. Basically, these scripts seem to have been edited on a windows box, as so have the DOS style ^M at the end of each line. This will need to be removed for the scripts to run on a UNIX box. You can use a utility called "dos2unix" to convert all the scripts.
are you shure? before i mad my packets i hade used dos2unix, because there was a problem too in the past and since than i made this everytime.
Can it be that my ftp-client made this fault?
mfg Stefan
Cheers
Iain
On Thu, 2007-01-04 at 20:07 -0500, Jeffcoat, Al wrote:
Hi Stefan,
I’ve downloaded 0.1.1, and am getting the Server 500 error on Apache, “The server encountered an internal error and was unable to complete your request.
Error message:
Premature end of script headers: testalarm.sh”
I looked on the apache web site regarding this error, and it says to try to run this from the command line. When I do, I get “: bad interpreter: No such file or directory”.
I’m not sure what info you need from me to help me to help you figure this out J
I’m running OpenSuSE 10.0.
Thanks,
Al
From:stefan.freisler at aspect-online.de [mailto:stefan.freisler at aspect-online.de] Sent: Thursday, January 04, 2007 8:45 AM To: hobbit at hswn.dk Subject: [hobbit] New Version of Admin Scripts (v.0.1.0)
Hi, i have added a new version of my admin scripts, with some more features and lesser bugs (i hope ;-) )
You can Download it here: http://www.fh-augsburg.de/~henk/hobbit/
Have fun to test it and to report Bugs and Wishes.
Changelog: 2007-01-04 v0.1.0 +use DHTML-Calendar instead of Plain HTML (http://www.dynarch.com/projects/calendar/) +use an better files-structur +use bb to get Hosts and Services (hobbitdxboard) (with to ways (enable it in cfg)) 1. Get all services and hosts 2. Get all hosts and only the services of this Host (Use Javascript to select)(it can be slow because bash programms are not c) +Show time it needed the Script +Header and Footer lidle overworked +New Option in viewlogs.sh to set Tail because it don't work on Solaris +View Log should show now an list, if it has not until yet. +Some more Bugs fixed
This e-mail message and any attached files are confidential and are intended solely for the use of the addressee(s) named above. If you are not the intended recipient, any review, use, or distribution of this e-mail message and any attached files is strictly prohibited. This communication may contain material protected by Federal privacy regulations, attorney-client work product, or other privileges. If you have received this confidential communication in error, please notify the sender immediately by reply e-mail message and permanently delete the original message. To reply to our email administrator directly, send an email to: postmaster at orlandoregional.org . If this e-mail message concerns a contract matter, be advised that no employee or agent is authorized to conclude any binding agreement on behalf of Orlando Regional Healthcare by e-mail without express written confirmation by an officer of the corporation. Any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of Orlando Regional Healthcare.
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Hi !
and Happy New Year to everybody !
This afternoon we've seen an abnormal size for the msg.txt file in client directory. Here is output :
PSP100 /opt/hobbit/client/tmp>ll total 934872 -rw-r--r-- 1 root hobbit 0 Jan 11 10:43 hobbit_vmstat.PSP100.50948 -rw-r--r-- 1 root hobbit 38 Jan 11 09:18 logfetch.PSP100.cfg -rw-r--r-- 1 hobbit hobbit 41 Jan 11 10:43 logfetch.PSP100.status -rw-r--r-- 1 root hobbit 16384 Jan 11 10:43 msg.PSP100.txt -rw-r--r-- 1 hobbit hobbit 478629888 Jan 11 08:52 msg.PSP100.txt.86546 -rw-r--r-- 1 hobbit hobbit 0 Jan 11 08:49 sar.12108 -rw-r--r-- 1 root hobbit 0 Jan 11 10:43 sar.40790 PSP100 /opt/hobbit/client/tmp>> msg.PSP100.txt.86546
As you can see a file reached 500M in size !! You could notice that some files were created by 'root'. Well... it's not good 'cause that meaned someone in my team launched Hobbit with this account ! Anyway, it's not the first time I see such size for this file on the machine. How may I prevent that ?
Sincerly,
Thomas
Ce message (et toutes ses pieces jointes eventuelles) est confidentiel et etabli a l'intention exclusive de ses destinataires. Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. L'internet ne permettant pas d'assurer l'integrite de ce message, CNP Assurances et ses filiales declinent toute responsabilite au titre de ce message, s'il a ete altere, deforme ou falsifie.
This message and any attachments (the "message") are confidential and intended solely for the addressees. Any unauthorised use or dissemination is prohibited. E-mails are susceptible to alteration. Neither CNP Assurances nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified.
participants (11)
-
Al.Jeffcoat@orhs.org
-
gjohnson@trantor.org
-
henrik@hswn.dk
-
iain@shihad.org
-
longina@imada.sdu.dk
-
martin.flemming@desy.de
-
neil.camp@deca.mil
-
ralphmitchell@gmail.com
-
stefan.freisler@aspect-online.de
-
thomas.seglard.enata@cnp.fr
-
tlarco@polr.org