[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] Editing thresholds from a web page.



Hi David,
Ok, so I downloaded the scripts from sourceforge. I couldn't find them on
xymonton. What I have might not be your latest. So, the fixes I had to make
might be unneeded on a later version, but:

The first thing was that the first edit-thresholds page had no hosts loaded.
I fixed that. The next problem is that it isn't actually making the changes
I've entered. An error from the web server (which might not have anything to
do with this behavior) is:

File does not exist: /opt/www2/htdocs/menu, referer:
> https://my-server/hobbit-seccgi/edit-thresholds/trunk/edit-threshold.pl


It's true that my apache home
dir is /opt/www2 and the htdocs dir is htdocs, but where is it getting
the path to menu there, which doesn't exist. I've searched through
everything I can think of. I've obviously overlooked something.

If I fix this error and it still doesn't make the changes I'll look
further.

Any ideas? I'm excited to get this working. It should save me a significant
amount of time if my co-admins could make these changes without asking me to
edit the files!

Thanks,
Steve

On Wed, Jul 8, 2009 at 4:54 AM, David Peters <davidp (at) electronf.com> wrote:

> Yes I think that might be a good idea. Just beware of the two bugs that
> currently exist.
>
>
> -----Original Message-----
> From: Martin Flemming [mailto:martin.flemming (at) desy.de]
> Sent: Wednesday, 8 July 2009 4:05 PM
> To: hobbit (at) hswn.dk
> Subject: Re: [hobbit] Editing thresholds from a web page.
>
>
> Hi, David !
>
> thanks, for the scripts !
>
> I recognize, that the scripts didn't make a backup of hobbit-clients.cfg
> ...
>
> Maybe, we could added a backupfunction with timestamp  ?
>
> thanks & cheeers
>
>        martin
>
> On Tue, 7 Jul 2009, Steve Holmes wrote:
>
> > The link seems to work now. From the OP:
> >
> >> Anyway, I have put it up on sourceforge: http://xymon-addons.svn.
> >> sourceforge.net/viewvc/xymon-addons/edit-thresholds/
> >
> > Download the tarball from the bottom of the page.
> >
> >
> > Steve.
> >
> > On Tue, Jul 7, 2009 at 6:28 AM, Shaun Phillips <
> > tainted.soul69 (at) googlemail.com> wrote:
> >
> >> Where can I get  edit-thresholds.tar ?
> >>
> >>
> >> On Tue, Jul 7, 2009 at 8:51 AM, Cayo de Moraes
> <camorae (at) googlemail.com>wrote:
> >>
> >>> Hi David,
> >>>
> >>> infortunately i couldnt download it...
> >>> The "edit-thresholds.tar" file could not be found. Please select
> another
> >>> file
>
>