Xymon Mailing List Archive search

Critical system editor doesn't save data when hitting 'Update'

list Dave Haertig
Wed, 22 Oct 2008 11:51:32 -0600
Message-Id: <user-a560ccf6eebc@xymon.invalid>

Oops!

-r--r--r--  1 hobbit www        0 Apr 21  2007 hobbit-nkview.cfg

I have all files in this directory under RCS source code control, and
unless I've checked them out and have them open for editing, they are
read-only.  This is the first time I've tried to use critical systems,
so it obviously tripped up on that 444 file permission.  All appears
good with file mode 664.  The file was updated by the config editor at
least, now I have to similate a red condition to see if it actually
shows up on the critical systems view.

Thanks!

-----Original Message-----
From: Buchan Milne [mailto:user-9b139aff4dec@xymon.invalid] 
Sent: Wednesday, October 22, 2008 11:26 AM
To: user-ae9b8668bcde@xymon.invalid
Cc: Haertig, David F (Dave)
Subject: Re: [hobbit] Critical system editor doesn't save data when
hitting 'Update'

On Wednesday 22 October 2008 19:15:19 Haertig, David F (Dave) wrote:
If I define some critical system criteria against a host (or create a
template) and hit "Update", the form clears except for the hostname 
and testname fields.  If I then do a "Search" on the hostname/textname
data I just entered, it says there are no records.  The 
hostname/testname I entered is not displayed on the Critical Systems
View either.
Where are these critical systems records saved?  In a file somewhere 
that I could check manually?
~/hobbit/server/etc/hobbit-nkview.cfg, and that obviously has to be
writable by the user running the web server (e.g. apache).

A quick test would be:
# su - apache -s /bin/sh -c '/bin/touch
~hobbit/server/etc/hobbit-nkview.cfg'

Regards,
Buchan