[hobbit] bb-hostedit v1.1 beta released

Schwimmer, Eric E *HS EES2Y at hscmail.mcc.virginia.edu
Fri May 13 16:21:29 CEST 2005


I added quite a bit of user input checking in this version (as well as turning all reused code blocks into their own subroutines; that should make the script more extensible for future mods).  I'm mainly trying to make sure that people dont do anything 'tricky', like feeding the script custom form data that could potentionally destroy your bb-host files.

That's what you are running into here; I had used an 'if' statement to see if a group/page was defined, based on its file position.  Of course, the first line is position 0, so it returned false.  D'oh!  People keep doing this that I dont expect ;) 

The attached patch should fix it.

Regards,
-Eric

-----Original Message-----
From:	cits.bogajewski at daimlerchrysler.com [mailto:cits.bogajewski at daimlerchrysler.com]
Sent:	Fri 5/13/2005 6:15 AM
To:	hobbit at hswn.dk
Cc:	
Subject:	Re: [hobbit] bb-hostedit v1.1 beta released
Hi Eric,

short question.

i get following message on 'edit mainpage\add host': Undefined position 
pointer, can't add host

and on 'edit mainpage\edit group': Can't edit a root group (2)

edit any subpage works fine on the other hand...

my bb-hosts looks like this atm:

~~~
group-compress hobbit_test_system
127.0.0.1   myhobbit      # BBDISPLAY BBPAGER BBNET bbd http://myhobbit/

page test_systems our test systems
xx.yy.9.59  myhost1
xx.yy.88.73     myhost2 #
~~~

bb-hostedit v1 had been worked fine.. why not 1.1? :\

thank you in advance!

Mit freundlichen Grüßen / Yours sincerely
 
Anatoli Bogajewski



EES2Y at hscmail.mcc.virginia.edu 
11.05.2005 23:24
Bitte antworten an
hobbit at hswn.dk


An
hobbit at hswn.dk
Kopie

Thema
[hobbit] bb-hostedit v1.1 beta released







Get it here:
http://www.nerdvana.org/eric/files/bb-hostedit-1.1b.tar.gz

Once you guys have beaten on it for a little bit, I'll
put it up on deadcat (although I'll make all the options
set to the bigbrother defaults when I do that).

Regards,
-Eric Schwimmer
Network Engineer
UVA HSCS Network Engineering 

To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk





To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk








More information about the Xymon mailing list