V0.2.0 of adminscripts
list Stefan Freisler
Hi, Version 0.2.0 of admin script is out. you can download it from: http://www.fh-augsburg.de/~henk/hobbit/ I hope problems with ^M are history. I have renamed the name of footer, header and my scripts. Please delete them because they will not automatically overwritten! Please change your menu too if you have changed it. (New one is in readmy) I hope i have all wishes included, but if you have some more please give me an hint. (Same for any trouble) Changelog 2007-01-08 v0.2.0 +header and footer renamed (please delete the old one) +new method to get http query +functions excluded in an separate file +use faster method to get Services by Host +renamted all files for better deleteing. (not calendar eventually henrik will include it too ;-) ) +Script Time now ok $DATE was not known at this time it used (Solaris Users should change var to DATE="/usr/xpg4/bin/date") +Logs show if file exist or not writeabel +Change Configs try to make an backup (if it has permissions) +Logs if you rename an Host or delete Host/Services
list Michael Nemeth
DATE="/usr/xpg4/bin/date" does not work on solaris . The %s format is NOT supported. As I thought I said before, gnu date must be used . -- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | _p_ Mike Nemeth | ___| |_____ email(w) user-609d3fab5b2d@xymon.invalid Work: XXX XXX-XXXX |><___________) | Home Page:http://www.geocities.com/mjnemeth/ | Work Page:http://scorpion/~nemethm/ | Work Page:http://ortfsb/~mnemeth/ |++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
list Geoff Hallford
Hi Stefan, Most appears to be working now but the calendar on the graphs does not show up with the following errors showing in IE7 (also tested in Firefox with the same errors): Line: 403 Char: 5 Error: 'Calendar' is undefined Code: 0 URL: http://bigbrother/hobbit-seccgi/adminscripts_view_graph.sh Line: 417 Char: 5 Error: 'Calendar' is undefined Code: 0 URL: http://bigbrother/hobbit-seccgi/adminscripts_view_graph.sh On 1/8/07, user-75055581652a@xymon.invalid <
▸
user-75055581652a@xymon.invalid> wrote:Hi, Version 0.2.0 of admin script is out. you can download it from: http://www.fh-augsburg.de/~henk/hobbit/ I hope problems with ^M are history. I have renamed the name of footer, header and my scripts. Please delete them because they will not automatically overwritten! Please change your menu too if you have changed it. (New one is in readmy) I hope i have all wishes included, but if you have some more please give me an hint. (Same for any trouble) Changelog 2007-01-08 v0.2.0 +header and footer renamed (please delete the old one) +new method to get http query +functions excluded in an separate file +use faster method to get Services by Host +renamted all files for better deleteing. (not calendar eventually henrik will include it too ;-) ) +Script Time now ok $DATE was not known at this time it used (Solaris Users should change var to DATE="/usr/xpg4/bin/date") +Logs show if file exist or not writeabel +Change Configs try to make an backup (if it has permissions) +Logs if you rename an Host or delete Host/Services
--
'If my answers frighten you then you should cease asking scary questions.'
--Sam Jackson from Pulp Fiction
list Wolfgang Wutz
Hi Geoff, there seems to be a small path bug in "cgi-secure/adminscripts_view_graph.sh". I had to alter the lines 72-75 by adding "/hobbit/" to make the path look like: "../hobbit/calendar/calendar_stripped.js". The same thing in lines 121 and 137 to enable the script to find "img.gif". Now everything seems to work just fine. Thanks Stefan for your nice set of scripts!
▸
From: Geoff Hallford [mailto:user-dc9e7f30b1e2@xymon.invalid] Sent: Monday, January 08, 2007 2:36 PM To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] V0.2.0 of adminscripts Hi Stefan, Most appears to be working now but the calendar on the graphs does not show up with the following errors showing in IE7 (also tested in Firefox with the same errors): Line: 403 Char: 5 Error: 'Calendar' is undefined Code: 0 URL: http://bigbrother/hobbit-seccgi/adminscripts_view_graph.sh Line: 417 Char: 5 Error: 'Calendar' is undefined Code: 0 URL: http://bigbrother/hobbit-seccgi/adminscripts_view_graph.sh
list Stefan Freisler
Hi, sorry i love solaris ;-). is there no possibility to get an timestamp? By Stefan
list Stefan Freisler
Hi, yes thx for hint in next version it will work. I upload it tomorrow (v0.2.1) thx Stefan
list Martin Flemming
Hi, Stefan !
Great work !
Unfortunatley the adminscripts_edit_files.sh doesn't work for me ... :-(
My Hobbit-Server is 4.2 and
runs under Scientific Linux SL release 4.3 (RHEL4)
I can look at the config-files,
but if i changed something and want to submit it ...
it needs a long time and nothing was changed ...
No question for "Are you shure you wan't edit" or something else ...
Does anybody else has this failure or is my own pain ?
I insert a "set -x" into the script,
but the messages in httpd-log-file are very big and i don't want send them
here...
Any Hints are welcome !
Cheers,
Martin
Martin Flemming
DESY / IT office : Building 2b / 008a
Notkestr. 85 phone : XXX - XXXX - XXXX
22603 Hamburg mail : user-f286aaa49a76@xymon.invalid
▸
On Mon, 8 Jan 2007, user-75055581652a@xymon.invalid wrote:
Hi, Version 0.2.0 of admin script is out. you can download it from: http://www.fh-augsburg.de/~henk/hobbit/ I hope problems with ^M are history. I have renamed the name of footer, header and my scripts. Please delete them because they will not automatically overwritten! Please change your menu too if you have changed it. (New one is in readmy) I hope i have all wishes included, but if you have some more please give me an hint. (Same for any trouble) Changelog 2007-01-08 v0.2.0 +header and footer renamed (please delete the old one) +new method to get http query +functions excluded in an separate file +use faster method to get Services by Host +renamted all files for better deleteing. (not calendar eventually henrik will include it too ;-) ) +Script Time now ok $DATE was not known at this time it used (Solaris Users should change var to DATE="/usr/xpg4/bin/date") +Logs show if file exist or not writeabel +Change Configs try to make an backup (if it has permissions) +Logs if you rename an Host or delete Host/Services
list Stefan Freisler
Hi, can you try to type this into your browser? (with the right path to the script) ./adminscripts_edit_files.sh?task=ASK Normally he ask than "Are you shure you wan't edit ?" (without an file you don't use some) And can i get some more informations. How many systems do you watch with how many tests? thx Stefan
list Martin Flemming
Hi !
▸
On Tue, 9 Jan 2007, user-75055581652a@xymon.invalid wrote: Hi, can you try to type this into your browser? (with the right path to the script) ./adminscripts_edit_files.sh?task=ASK Normally he ask than "Are you shure you wan't edit ?" (without an file you don't use some)
Yep, that's working ...
▸
And can i get some more informations. How many systems do you watch with how many tests?
My bbtest-net says :
Tue Jan 9 08:26:35 2007
bbtest-net version 4.2.0
SSL library : OpenSSL 0.9.7a Feb 19 2003
LDAP library: OpenLDAP 20213
Statistics:
Hosts total : 342
Hosts with no tests : 0
Total test count : 352
Status messages : 354
Alert status msgs : 0
Transmissions : 5
DNS statistics:
# hostnames resolved : 343
# succesful : 343
# failed : 0
# calls to dnsresolve : 352
TCP test statistics:
# TCP tests total : 8
# HTTP tests : 2
# Simple TCP tests : 6
# Connection attempts : 8
# bytes written : 374
# bytes read : 15074
TIME SPENT
Event Starttime
Duration
bbtest-net startup 1168327595.851674 -
Service definitions loaded 1168327595.853888 0.002214
Tests loaded 1168327595.892970 0.039082
DNS lookups completed 1168327625.925680 30.032710
Test engine setup completed 1168327625.929003 0.003323
TCP tests completed 1168327626.162081 0.233078
PING test completed (342 hosts) 1168327645.906533 19.744452
PING test results sent 1168327645.909458 0.002925
Test result collection completed 1168327645.909473 0.000015
LDAP test engine setup completed 1168327645.909475 0.000002
LDAP tests executed 1168327645.909477 0.000002
LDAP tests result collection completed 1168327645.909479 0.000002
NTP tests executed 1168327648.134415 2.224936
Test results transmitted 1168327648.137568 0.003153
bbtest-net completed 1168327648.140268 0.002700
TIME TOTAL
52.288594
Anything else ?
▸
Cheers,
Martin
Martin Flemming
DESY / IT office : Building 2b / 008a
Notkestr. 85 phone : XXX - XXXX - XXXX
22603 Hamburg mail : user-f286aaa49a76@xymon.invalid
list Michael Nemeth
No not really. Gnu date which is in coreutils but I think can be done in perl maybe as a one liner or if not a short perlscript.
▸
Hi, sorry i love solaris ;-).
is there no possibility to get an timestamp?
By Stefan
-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | _p_ Mike Nemeth | ___| |_____ email(w) user-609d3fab5b2d@xymon.invalid Work: XXX XXX-XXXX |><___________) | Home Page:http://www.geocities.com/mjnemeth/ | Work Page:http://scorpion/~nemethm/ | Work Page:http://ortfsb/~mnemeth/ |++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
list Stefan Freisler
Yes but than must perl available. I think i include an switch in the next version which test what is available and what not. thx Stefan
list Michael Nemeth
True but I believe that solaris comes with perl and old one but one should handle the date stuff. Atlest the one system I found here that does have an update perl reports sun pkg SUNWpl5u, Can any one confirm this? And can anyone supply the code to do a timestamp like the GNU date +%s ? a one liner hopefull (like perl -e '$date=localtime(time); print "$date \n" ;' )
▸
Yes but than must perl available.
I think i include an switch in the next version which test what is available and what not.
-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | _p_ Mike Nemeth | ___| |_____ email(w) user-609d3fab5b2d@xymon.invalid Work: XXX XXX-XXXX |><___________) | Home Page:http://www.geocities.com/mjnemeth/ | Work Page:http://scorpion/~nemethm/ | Work Page:http://ortfsb/~mnemeth/ |++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
list Johann Eggers
-----Original Message----- From: Michael Nemeth [mailto:user-609d3fab5b2d@xymon.invalid] Sent: Dienstag, 9. Januar 2007 14:34 To: hobbit Subject: [hobbit] Antwort: [hobbit] RE: Antwort: [hobbit] RE: V0.2.0 of adminscripts
▸
True but I believe that solaris comes with perl and old one but one
should handle the date stuff.
Atlest the one system I found here that does have an update perl
reports
sun pkg SUNWpl5u,
Can any one confirm this? And can anyone supply the code to do a
timestamp like the GNU date +%s ?
a one liner hopefull (like perl -e '$date=localtime(time); print"$date
\n" ;' )
Instead of using localtime() just use time()... perl -e '$date=time(); print "$date\n";' 1168350264 Johann
▸
Yes but than must perl available.I think i include an switch in the next version which test what is available and what not.--
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
| _p_ Mike Nemeth | ___| |_____ email(w) user-609d3fab5b2d@xymon.invalid Work: XXX XXX-XXXX |><___________) | Home Page:http://www.geocities.com/mjnemeth/ | Work Page:http://scorpion/~nemethm/ | Work Page:http://ortfsb/~mnemeth/
|++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
list Henrik Størner
▸
On Tue, Jan 09, 2007 at 08:33:37AM -0500, Michael Nemeth wrote:
True but I believe that solaris comes with perl and old one but one should handle the date stuff. Atlest the one system I found here that does have an update perl reports sun pkg SUNWpl5u, Can any one confirm this? And can anyone supply the code to do a timestamp like the GNU date +%s ?
If there is no other way, this program (compiled on Solaris 8) will do
it. Save the attachment, then:
$ uudecode tstamp.uue
$ gunzip tstamp.gz
$ ls -l tstamp
-rwxr-xr-x 1 hstoerne other 3772 Jan 9 15:17 tstamp
$ ./tstamp
1168352286
Source code for this utility is a whopping 7 lines:
#include <time.h>
#include <stdio.h>
int main(int argc, char **argv)
{
printf("%d\n", (int) time(NULL));
return 0;
}
Henrik
-------------- next part --------------
begin 755 tstamp.gz
M'XL("(.CHT4 W1S=&%M< "55V]L%%40G[T_]"@M7J^%@A!9*29%8?L/A2*)
MUY:V(+4%2JUHS-ZVMZ4+U[MF=_D737HTQ/C!#Y6 at 48+A%&.,,8U!/D!"0E-,
M] ,Q:/C0-(84(8$829KX14+UG'GO[?7E/&MXS>R;>?.[>?/^S,SK2&M'F^)3
M(-=\^ >@@!+X#OM- ,4WV?@F4"$(U; 25J"TB(THI&<M(R at H9#_2S7FC4";Z
M at .@5Z8NM:#<G_'U.@[*/C9%X%ND* 84>?0R5@ ^)MTN>(?K4'';LFH355Y.(
M:TY*JQ.Z2D&*\,_S99'X70AI,=(2,>[97HKTA+26L+2>"%(Y4 at 72\MP.SK<@
M_+L52WQI ;W<EBV at 4W!_9CTG@*^#-95W3X)O,:TI4,9]JP*%[V<97]NSN'\_
M")G6M!GM'1,RK7D/RE]*]E_+LY_T]K^,[\]1G,^3:;Y5WOQ/<_EM[SS+^+I/
MH3PGV3^#\D5)/H?V?Q=XVH>/43\AZ;_ ]9#?JR-\3[]&>0/V%1%^AA?$'78C
M_%POY_G_$^*C8G_([UN at +'H7^VJ&=ZTA$_27C^A[S0.6XYIV2\)P'-,!W4P>
ML>Q4$AG7/.:"KL>=E#YH).,)_,'NO5TMK=M[]K;J'3L[=S6UM^K[FIH[6G4P
M$&P1VA;V] ';&#)U*SF0 GW[_LZF5W:VD/$XZ.T=7<U-'7I76UMWZS[/P+!M
M)=T!1# S9MQP#<!?DS" '>B.:]C,';/@%!@0^A'3=BQT?<BPDH #_3P^NO=W
MO]K4O%.OTQK$S:(8N0/\7D!P\_5OQ=8]8%]?40(_%8)W<<L]?AC#2/!T]OYR
M,8[WJ&B9X/&,EWH\GF?8XZ^C'8^?0CL>?Q<_'H_W7?%XO#NEC+\25F'&GXE^
MYL]L/UN54=-CH/C2$!@+ at Q*%Z 6%WZ&FL4C5!I3'2<:#?X=ZQ(1/A:'L at PVJ
M[[0O$S@=B!9CDAC],'([='/M!.%>Y_CH>=%_3OV):S.A<?]$Y2=WKH[5X/!(
M-CLW'OPU5(6ZT8I8R71P0IE:$H7T>14B:5 IX8R&8^%)')]&*]-^TL5@;1I*
M29=!7R<Q(XU"+'#N6A0FUP&03%C"1:YF'Y%.V%E']FD<UQD48P'T+7T#QVG^
M*>S/A%5E^CGT]?N9T(G[ .2KS N_?QP/WMXM;*AD=R7P!/E1N1KRYB#[9!OG
M./AS<*)$X"MF<6P5\I.8?=(9A at V=*8^MQG66"CD@]DVG>=G>_8<_B-D_AF?Y
M#1*>28C.#,=Z\=QV>+C"^SXS)OQ90?Y/^D?FTIF1+/F20?[<1!0R at 9?F:#]I
M'/=R;@$_$)&]3'KL[^7A2'=2'@-1Q9Z)B[3N8W5I!FF6Y2]?Z#[2722Y'CYV
MP_75UE[-_B&*US;D9P6_ _D'@M^'_&^"CR%_3_ )Y.\*_ACRMP5_$OE;"N1*
ML1?W)2*WEHJ<&D -K1;KLY_J/RWV(5#-412J$91OPZGL7W\"O/%B*IO]&W-O
M!?9989-J8 at QXG:1:6XGZ...5 +TAJ$Z, <_3E(M97*.].?'[I[B<?93;#E&K
M\EN6SYGK<\T7^@4,9ZO:?3BI]J;L0]V#J6'U!;6QL:9V2TW=%ES0PMIH==5Z
MU'9UJ\]K6]1V,VG:5K_:9O;9APW[N%I?6UO[/R;:6UJVJM7MG3WKU0:M0:N'
M B./:6!!>"*.RM2 >]2P3>ZPX6+R5WM<*V&YENFH&U&?,&S+43NLY"&U-6ZY
M*1M-X at HWUFGUC8T &A8=TQX&;=!P!D&+'T\ZQX=X[]J@=?=T]N:JBF:;"4,[
MD'(%U^<X at AM.X!BKEAJK6!JK6)J=8E6,K!E#5C\R3.PG+U#@G3G(RQAH!_MM
M#B&C6B+5;R00G!H:,I-HTAE$CURC[['"RKOZ/OQ2?!*5Y>E!W,N at P%$<$$T
M3Y/4 H+H';2$XR at N& T+G2)ZBJM*\=NU/)Y83#TL,.\:%DO,7@!CAX@]7V1[
MU#8*OIG'$XNI=6*.4J&CN-HLX? ]1\3&";=<PC5).(Q3%JLQ at 5LJX78)/Q;Q
MMQ:1KT-:A^??GGD<Y17^;BN ZY5PF'?X>ZX [DW(G1N]X=@[+BSA0J*O!^^]
M[\O]CU&=9X^H3>"*>%YAN>5T'H[6:P)_9_OYVY>]?R])?@7$W,GY>4.X)T2Y
M_R?D=;@2[@;B;DB^R[BW)!R]C:;^ S<JX680,B/I9-Q[$@[?5T0%<>]+.+SS
M1 5QVX0_?OYF9^]VM0#N4Y#^Z^,XI4'">;JO at -\U8:-X#7XNYN/^ 56Y2(&\
##@
end
list Stefan Freisler
Hi,
its is not difficult to create an timestamp but to create an timestamp like date it does is difficult:
perl -e 'use Date::Manip qw(ParseDate UnixDate);$date=&ParseDate("2007/01/08 15:45");print(UnixDate( $date , "%s" ));'
is one thing i have found but my solaris 9 don't Support it. Does anyone know an other solution to transform
2007/01/08 15:45
to
1168267500
Can someone test my solution on Solaris 10 or other Unixes?
thx
Stefan
list Stefan Freisler
Hi, stupid question (i can't test this script today), run this precompiled Script on all solaris systems? thx Stefan
list Michael Nemeth
perl -e '$date=time(); print "$date\n";' even work with perl 4 on my hp-ux 11 system!!!!!
Works on the windoze system with perl too. I though it was a basic perl fuction!
▸
-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | _p_ Mike Nemeth | ___| |_____ email(w) user-609d3fab5b2d@xymon.invalid Work: XXX XXX-XXXX |><___________) | Home Page:http://www.geocities.com/mjnemeth/ | Work Page:http://scorpion/~nemethm/ | Work Page:http://ortfsb/~mnemeth/ |++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
list Thomas Pedersen
Saving a configfile with a COMMENT:"This is a very big server" truncates the file at the first " sign.
▸
user-75055581652a@xymon.invalid wrote:Hi, Version 0.2.0 of admin script is out. you can download it from: http://www.fh-augsburg.de/~henk/hobbit/ I hope problems with ^M are history. I have renamed the name of footer, header and my scripts. Please delete them because they will not automatically overwritten! Please change your menu too if you have changed it. (New one is in readmy) I hope i have all wishes included, but if you have some more please give me an hint. (Same for any trouble) Changelog 2007-01-08 v0.2.0 +header and footer renamed (please delete the old one) +new method to get http query +functions excluded in an separate file +use faster method to get Services by Host +renamted all files for better deleteing. (not calendar eventually henrik will include it too ;-) ) +Script Time now ok $DATE was not known at this time it used (Solaris Users should change var to DATE="/usr/xpg4/bin/date") +Logs show if file exist or not writeabel +Change Configs try to make an backup (if it has permissions) +Logs if you rename an Host or delete Host/Services
list Maik Heinelt
Hello, I`ve a running Hobbit Server 4.2.0 on Fedora Core 5. First I used the Hobbit to check Windows and Linux machines, but now I installed the client on OS-X machines,too. Since then, I got problems to get the logs of the OS-X machines. So I found the patches witch include some errors about OS-X clients. How do I have to use this patches? Can I patch my running Hobbit server, or do I have to reinstall or update? The manual I have just say to patch the hobbit-4.2.0 folder, but that`s not my installation folder like /usr/lib/hobbit/ !? Maik -- 愛知県一宮市富士2-2-22 株式会社 ベガシステムズ TEL 0586-71-3903 FAX 0586-71-4071
list Thomas Pedersen
You have to patch your hobbit in the install directory, and the reinstall the binaries to the running directory.
▸
Maik Heinelt wrote:Hello, I`ve a running Hobbit Server 4.2.0 on Fedora Core 5. First I used the Hobbit to check Windows and Linux machines, but now I installed the client on OS-X machines,too. Since then, I got problems to get the logs of the OS-X machines. So I found the patches witch include some errors about OS-X clients. How do I have to use this patches? Can I patch my running Hobbit server, or do I have to reinstall or update? The manual I have just say to patch the hobbit-4.2.0 folder, but that`s not my installation folder like /usr/lib/hobbit/ !? Maik
list Stefan Freisler
Hi, thx for reporting this. Download here: http://www.fh-augsburg.de/~henk/hobbit/ 2007-01-22 v0.2.3 +adminscripts_edit_files.sh buckfix when you use " in your Files(+2 New Functions in adminscripts_functions.sh) 2007-01-10 v0.2.2 +Solaris (and other) can use Perl instead of normal GNU Time 2007-01-09 v0.2.1 +Fixed bug that cut files when you edit configs if they have & in it +Fixed calendar and img bug +small style improvements +no exit 0 within a script solved with if by Stefan Thomas <user-97316fb2dd2a@xymon.invalid> schrieb am 19.01.2007 09:18:33:
▸
Saving a configfile with a COMMENT:"This is a very big server" truncates
the file at the first " sign. user-75055581652a@xymon.invalid wrote:Hi, Version 0.2.0 of admin script is out. you can download it from: http://www.fh-augsburg.de/~henk/hobbit/ I hope problems with ^M are history. I have renamed the name of footer, header and my scripts. Please delete them because they will not automatically overwritten! Please change your menu too if you have changed it. (New one is in > readmy) I hope i have all wishes included, but if you have some more please > give me an hint. (Same for any trouble) Changelog 2007-01-08 v0.2.0 +header and footer renamed (please delete the old one) +new method to get http query +functions excluded in an separate file +use faster method to get Services by Host +renamted all files for better deleteing. (not calendar eventually > henrik will include it too ;-) ) +Script Time now ok $DATE was not known at this time it used (Solaris > Users should change var to DATE="/usr/xpg4/bin/date") +Logs show if file exist or not writeabel +Change Configs try to make an backup (if it has permissions) +Logs if you rename an Host or delete Host/Services
list Thomas Pedersen
This release saves the files with ASK as the only content.
▸
user-75055581652a@xymon.invalid wrote:Hi, thx for reporting this. Download here: http://www.fh-augsburg.de/~henk/hobbit/ 2007-01-22 v0.2.3 +adminscripts_edit_files.sh buckfix when you use " in your Files(+2 New Functions in adminscripts_functions.sh) 2007-01-10 v0.2.2 +Solaris (and other) can use Perl instead of normal GNU Time 2007-01-09 v0.2.1 +Fixed bug that cut files when you edit configs if they have & in it +Fixed calendar and img bug +small style improvements +no exit 0 within a script solved with if by Stefan Thomas <user-97316fb2dd2a@xymon.invalid> schrieb am 19.01.2007 09:18:33:Saving a configfile with a COMMENT:"This is a very big server" truncates the file at the first " sign. user-75055581652a@xymon.invalid wrote:Hi, Version 0.2.0 of admin script is out. you can download it from: http://www.fh-augsburg.de/~henk/hobbit/ I hope problems with ^M are history. I have renamed the name of footer, header and my scripts. Please delete them because they will not automatically overwritten! Please change your menu too if you have changed it. (New one is in readmy) I hope i have all wishes included, but if you have some more please give me an hint. (Same for any trouble) Changelog 2007-01-08 v0.2.0 +header and footer renamed (please delete the old one) +new method to get http query +functions excluded in an separate file +use faster method to get Services by Host +renamted all files for better deleteing. (not calendar eventually henrik will include it too ;-) ) +Script Time now ok $DATE was not known at this time it used (Solaris Users should change var to DATE="/usr/xpg4/bin/date") +Logs show if file exist or not writeabel +Change Configs try to make an backup (if it has permissions) +Logs if you rename an Host or delete Host/Services
list Stefan Freisler
Hi, thx for testing and sorry for your trouble i will fix it, but at the moment i don't know why you get this error. Because on my systems it works fine. Some Questens: Which system do you use? which files do you changed? Have you reloaded the page after you uploaded it and befor you tested it? @all: Can someone test it and confirm this bug? thx for help mfg Stefan Thomas <user-97316fb2dd2a@xymon.invalid> schrieb am 22.01.2007 13:00:41:
▸
This release saves the files with ASK as the only content. user-75055581652a@xymon.invalid wrote:Hi, thx for reporting this. Download here: http://www.fh-augsburg.de/~henk/hobbit/ 2007-01-22 v0.2.3 +adminscripts_edit_files.sh buckfix when you use " in your Files(+2 > New Functions in adminscripts_functions.sh) 2007-01-10 v0.2.2 +Solaris (and other) can use Perl instead of normal GNU Time 2007-01-09 v0.2.1 +Fixed bug that cut files when you edit configs if they have & in it +Fixed calendar and img bug +small style improvements +no exit 0 within a script solved with if by Stefan Thomas <user-97316fb2dd2a@xymon.invalid> schrieb am 19.01.2007 09:18:33:Saving a configfile with a COMMENT:"This is a very big server" > truncates the file at the first " sign. user-75055581652a@xymon.invalid wrote:Hi, Version 0.2.0 of admin script is out. you can download it from: http://www.fh-augsburg.de/~henk/hobbit/ I hope problems with ^M are history. I have renamed the name of footer, header and my scripts. Please delete them because they will not automatically overwritten! Please change your menu too if you have changed it. (New one is in readmy) I hope i have all wishes included, but if you have some more please give me an hint. (Same for any trouble) Changelog 2007-01-08 v0.2.0 +header and footer renamed (please delete the old one) +new method to get http query +functions excluded in an separate file +use faster method to get Services by Host +renamted all files for better deleteing. (not calendar eventually henrik will include it too ;-) ) +Script Time now ok $DATE was not known at this time it used
(Solaris
Users should change var to DATE="/usr/xpg4/bin/date") +Logs show if file exist or not writeabel +Change Configs try to make an backup (if it has permissions) +Logs if you rename an Host or delete Host/Services
list Martin Flemming
Hi, Stefan !
my hobbit-server is running with RHEL4 ...
I've tested it for
/etc/bb-hosts /etc/hobbit-alerts.cfg /etc/hobbit-clients.cfg
/etc/hobbitgraph.cfg /etc/hobbitlaunch.cfg /etc/hobbitserver.cfg
And everything seems to be ok for me ...
Cheers,
Martin
▸
On Mon, 22 Jan 2007, user-75055581652a@xymon.invalid wrote:
Hi, thx for testing and sorry for your trouble i will fix it, but at the moment i don't know why you get this error. Because on my systems it works fine. Some Questens: Which system do you use? which files do you changed? Have you reloaded the page after you uploaded it and befor you tested it? @all: Can someone test it and confirm this bug? thx for help mfg Stefan Thomas <user-97316fb2dd2a@xymon.invalid> schrieb am 22.01.2007 13:00:41:This release saves the files with ASK as the only content. user-75055581652a@xymon.invalid wrote:Hi, thx for reporting this. Download here: http://www.fh-augsburg.de/~henk/hobbit/ 2007-01-22 v0.2.3 +adminscripts_edit_files.sh buckfix when you use " in your Files(+2 New Functions in adminscripts_functions.sh) 2007-01-10 v0.2.2 +Solaris (and other) can use Perl instead of normal GNU Time 2007-01-09 v0.2.1 +Fixed bug that cut files when you edit configs if they have & in it +Fixed calendar and img bug +small style improvements +no exit 0 within a script solved with if by Stefan Thomas <user-97316fb2dd2a@xymon.invalid> schrieb am 19.01.2007 09:18:33:Saving a configfile with a COMMENT:"This is a very big server" truncates the file at the first " sign. user-75055581652a@xymon.invalid wrote:Hi, Version 0.2.0 of admin script is out. you can download it from: http://www.fh-augsburg.de/~henk/hobbit/ I hope problems with ^M are history. I have renamed the name of footer, header and my scripts. Please delete them because they will not automatically overwritten! Please change your menu too if you have changed it. (New one is in readmy) I hope i have all wishes included, but if you have some more please give me an hint. (Same for any trouble) Changelog 2007-01-08 v0.2.0 +header and footer renamed (please delete the old one) +new method to get http query +functions excluded in an separate file +use faster method to get Services by Host +renamted all files for better deleteing. (not calendar eventually henrik will include it too ;-) ) +Script Time now ok $DATE was not known at this time it used(SolarisUsers should change var to DATE="/usr/xpg4/bin/date") +Logs show if file exist or not writeabel +Change Configs try to make an backup (if it has permissions) +Logs if you rename an Host or delete Host/Services
list Thomas Pedersen
Hi Did a clean copy again and reloaded all the pages, and the thing works now. Sorry for the inconvenience. /thomas
▸
user-75055581652a@xymon.invalid wrote:Hi, thx for testing and sorry for your trouble i will fix it, but at the moment i don't know why you get this error. Because on my systems it works fine. Some Questens: Which system do you use? which files do you changed? Have you reloaded the page after you uploaded it and befor you tested it? @all: Can someone test it and confirm this bug? thx for help mfg Stefan Thomas <user-97316fb2dd2a@xymon.invalid> schrieb am 22.01.2007 13:00:41:This release saves the files with ASK as the only content. user-75055581652a@xymon.invalid wrote:Hi, thx for reporting this. Download here: http://www.fh-augsburg.de/~henk/hobbit/ 2007-01-22 v0.2.3 +adminscripts_edit_files.sh buckfix when you use " in your Files(+2 New Functions in adminscripts_functions.sh) 2007-01-10 v0.2.2 +Solaris (and other) can use Perl instead of normal GNU Time 2007-01-09 v0.2.1 +Fixed bug that cut files when you edit configs if they have & in it +Fixed calendar and img bug +small style improvements +no exit 0 within a script solved with if by Stefan Thomas <user-97316fb2dd2a@xymon.invalid> schrieb am 19.01.2007 09:18:33:Saving a configfile with a COMMENT:"This is a very big server" truncates the file at the first " sign. user-75055581652a@xymon.invalid wrote:Hi, Version 0.2.0 of admin script is out. you can download it from: http://www.fh-augsburg.de/~henk/hobbit/ I hope problems with ^M are history. I have renamed the name of footer, header and my scripts. Please delete them because they will not automatically overwritten! Please change your menu too if you have changed it. (New one is in readmy) I hope i have all wishes included, but if you have some more please give me an hint. (Same for any trouble) Changelog 2007-01-08 v0.2.0 +header and footer renamed (please delete the old one) +new method to get http query +functions excluded in an separate file +use faster method to get Services by Host +renamted all files for better deleteing. (not calendar eventually henrik will include it too ;-) ) +Script Time now ok $DATE was not known at this time it used(SolarisUsers should change var to DATE="/usr/xpg4/bin/date") +Logs show if file exist or not writeabel +Change Configs try to make an backup (if it has permissions) +Logs if you rename an Host or delete Host/Services
list Maik Heinelt
I installed Hobbit server with the rpm files and if I want to use the source, it cannot find the rrdTool. Or are there some rpm include the patches? I know how to use the source files, but I`m afraid to see an error in the end. Maik
▸
Thomas wrote:You have to patch your hobbit in the install directory, and the reinstall the binaries to the running directory. Maik Heinelt wrote:Hello, I`ve a running Hobbit Server 4.2.0 on Fedora Core 5. First I used the Hobbit to check Windows and Linux machines, but now I installed the client on OS-X machines,too. Since then, I got problems to get the logs of the OS-X machines. So I found the patches witch include some errors about OS-X clients. How do I have to use this patches? Can I patch my running Hobbit server, or do I have to reinstall or update? The manual I have just say to patch the hobbit-4.2.0 folder, but that`s not my installation folder like /usr/lib/hobbit/ !? Maik
-- 愛知県一宮市富士2-2-22 株式会社 ベガシステムズ TEL 0586-71-3903 FAX 0586-71-4071
list Stef Coene
▸
On Tuesday 23 January 2007 05:32, Maik Heinelt wrote:
I installed Hobbit server with the rpm files and if I want to use the source, it cannot find the rrdTool.
Search for a package with rrd in the name and -dev on the end. On my ubuntu system, this is apt-cache search rrd | grep dev librrd2-dev If this is installed, the c compiler will find the rrd headers and hobbit should compile. Idem for ssl or other support you want to enable. Stef
list Maik Heinelt
I searched in my system for rrd librrd2-dev, but I got no results. In /usr/share/rrdtool, I found just a font. That`s all Any ideas? Maik
▸
Stef Coene wrote:On Tuesday 23 January 2007 05:32, Maik Heinelt wrote:I installed Hobbit server with the rpm files and if I want to use the source, it cannot find the rrdTool.Search for a package with rrd in the name and -dev on the end. On my ubuntu system, this is apt-cache search rrd | grep dev librrd2-dev If this is installed, the c compiler will find the rrd headers and hobbit should compile. Idem for ssl or other support you want to enable. Stef
-- 愛知県一宮市富士2-2-22 株式会社 ベガシステムズ TEL 0586-71-3903 FAX 0586-71-4071
list Maik Heinelt
Okay, I checked the rrdtool rpm, I installed. All the rrd libarys was installed in /usr/lib/ . And the binarys are also installed in /usr/bin/ . So it is correct, but if I add the path of rrd, it says,there it isn`t ?!
▸
Maik
Stef Coene wrote:On Tuesday 23 January 2007 05:32, Maik Heinelt wrote:I installed Hobbit server with the rpm files and if I want to use the source, it cannot find the rrdTool.Search for a package with rrd in the name and -dev on the end. On my ubuntu system, this is apt-cache search rrd | grep dev librrd2-dev If this is installed, the c compiler will find the rrd headers and hobbit should compile. Idem for ssl or other support you want to enable. Stef
-- 愛知県一宮市富士2-2-22 株式会社 ベガシステムズ TEL 0586-71-3903 FAX 0586-71-4071
list Stef Coene
▸
On Wednesday 24 January 2007 09:03, Maik Heinelt wrote:
I searched in my system for rrd librrd2-dev, but I got no results. In /usr/share/rrdtool, I found just a font. That`s all
I never use fedora core, but you need to search for the rpm file that provides librrd2-dev. I think you can go to http://rpm.pbone.net/index.php3/stat/3/srodzaj/1/search/ and search for rrdtool-dev Stef
list Buchan Milne
▸
On Tuesday 23 January 2007 06:32, Maik Heinelt wrote:
I installed Hobbit server with the rpm files and if I want to use the source, it cannot find the rrdTool. Or are there some rpm include the patches?
It might help to tell us what distro you are running. E.g., I have RPMS for rhel2.1 -> rhel4 -- Buchan Milne ISP Systems Specialist - Monitoring/Authentication Team Leader B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)
list Maik Heinelt
▸
Buchan Milne wrote:
On Tuesday 23 January 2007 06:32, Maik Heinelt wrote:I installed Hobbit server with the rpm files and if I want to use the source, it cannot find the rrdTool. Or are there some rpm include the patches?It might help to tell us what distro you are running. E.g., I have RPMS for rhel2.1 -> rhel4
Good morning, In my first email I wrote it. I`m using Fedora Core 5. Yesterday I checked almost of all rrdtool rpm I found in the rpm mirrors. But nowhere I found one include the libary librrd2-dev. May the name of this libary is used only in debian linux?! Maik -- ????????2-2-22 ???? ??????? TEL 0586-71-3903 FAX 0586-71-4071
list Stef Coene
▸
On Thursday 25 January 2007 00:59, Maik Heinelt wrote:
Buchan Milne wrote:On Tuesday 23 January 2007 06:32, Maik Heinelt wrote:I installed Hobbit server with the rpm files and if I want to use the source, it cannot find the rrdTool. Or are there some rpm include the patches?It might help to tell us what distro you are running. E.g., I have RPMS for rhel2.1 -> rhel4Good morning, In my first email I wrote it. I`m using Fedora Core 5. Yesterday I checked almost of all rrdtool rpm I found in the rpm mirrors. But nowhere I found one include the libary librrd2-dev. May the name of this libary is used only in debian linux?!
Yes, I only know the name in debian based distributions. Stef
list David Gore
▸
Stef Coene wrote:
On Thursday 25 January 2007 00:59, Maik Heinelt wrote:Buchan Milne wrote:On Tuesday 23 January 2007 06:32, Maik Heinelt wrote:I installed Hobbit server with the rpm files and if I want to use the source, it cannot find the rrdTool. Or are there some rpm include the patches?It might help to tell us what distro you are running. E.g., I have RPMS for rhel2.1 -> rhel4Good morning, In my first email I wrote it. I`m using Fedora Core 5. Yesterday I checked almost of all rrdtool rpm I found in the rpm mirrors. But nowhere I found one include the libary librrd2-dev. May the name of this libary is used only in debian linux?!Yes, I only know the name in debian based distributions. Stef
I have 3 hobbit servers each on it's own Fedora Core 5 host. These may have been the only packages I installed on top of my OS install. Your OS install may be different depending on what you chose to install or not install. Regardless perhaps you just need the rrdtool-devel package? Yum install it? # yum install rrdtool # yum install rrdtool-devel # yum install pcre-devel # yum install pcre
list Maik Heinelt
▸
David Gore wrote:
Stef Coene wrote:On Thursday 25 January 2007 00:59, Maik Heinelt wrote:Buchan Milne wrote:On Tuesday 23 January 2007 06:32, Maik Heinelt wrote:I installed Hobbit server with the rpm files and if I want to use the source, it cannot find the rrdTool. Or are there some rpm include the patches?It might help to tell us what distro you are running. E.g., I have RPMS for rhel2.1 -> rhel4Good morning, In my first email I wrote it. I`m using Fedora Core 5. Yesterday I checked almost of all rrdtool rpm I found in the rpm mirrors. But nowhere I found one include the libary librrd2-dev. May the name of this libary is used only in debian linux?!Yes, I only know the name in debian based distributions. StefI have 3 hobbit servers each on it's own Fedora Core 5 host. These may have been the only packages I installed on top of my OS install. Your OS install may be different depending on what you chose to install or not install. Regardless perhaps you just need the rrdtool-devel package? Yum install it? # yum install rrdtool # yum install rrdtool-devel # yum install pcre-devel # yum install pcre
When would like to install hobbit with rpm files, before, I also have to install rrdtool. So I did this. At the moment my hobbit server is working well, but without any apple OS-X machines. I have checked yum update and there were a rrdtool update. May it will working now?! -- 愛知県一宮市富士2-2-22 株式会社 ベガシステムズ TEL 0586-71-3903 FAX 0586-71-4071
list Maik Heinelt
▸
Maik Heinelt wrote:
David Gore wrote:Stef Coene wrote:On Thursday 25 January 2007 00:59, Maik Heinelt wrote:Buchan Milne wrote:On Tuesday 23 January 2007 06:32, Maik Heinelt wrote:I installed Hobbit server with the rpm files and if I want to use the source, it cannot find the rrdTool. Or are there some rpm include the patches?It might help to tell us what distro you are running. E.g., I have RPMS for rhel2.1 -> rhel4Good morning, In my first email I wrote it. I`m using Fedora Core 5. Yesterday I checked almost of all rrdtool rpm I found in the rpm mirrors. But nowhere I found one include the libary librrd2-dev. May the name of this libary is used only in debian linux?!Yes, I only know the name in debian based distributions. StefI have 3 hobbit servers each on it's own Fedora Core 5 host. These may have been the only packages I installed on top of my OS install. Your OS install may be different depending on what you chose to install or not install. Regardless perhaps you just need the rrdtool-devel package? Yum install it? # yum install rrdtool # yum install rrdtool-devel # yum install pcre-devel # yum install pcreWhen would like to install hobbit with rpm files, before, I also have to install rrdtool. So I did this. At the moment my hobbit server is working well, but without any apple OS-X machines. I have checked yum update and there were a rrdtool update. May it will working now?!
Hello again, okay, I tryed to update my hobbit server with the yum updated rrdtool. Now the update found the rrdtool path. But I don`t know, why the older rrdtool was so different?! I`m using now rrdtool 1.2.15.9. Thanks for your help! Maik -- 愛知県一宮市富士2-2-22 株式会社 ベガシステムズ TEL 0586-71-3903 FAX 0586-71-4071