Xymon Mailing List Archive search

Critical System Editor Tips.

list Neil Franken
Wed, 9 Jun 2010 13:38:17 +0200
Message-Id: <user-c674e688d7ee@xymon.invalid>

Hi All

Yeah I sorted out the membership of the files. I was just wondering when I create a template for the critical systems do I have to add the hosts 1 by 1? Or can I use a wildcard. My client wants all connection problems to be a priority one alert. So now I have to add these servers one by one which is not bad but is it possible to use wildcards there?

Regards
Neil

-----Original Message-----
From: Buchan Milne [mailto:user-9b139aff4dec@xymon.invalid] 
Sent: 09 June 2010 12:05 PM
To: user-ae9b8668bcde@xymon.invalid
Cc: David Baldwin
Subject: Re: [hobbit] Critical System Editor Tips.

On Wednesday, 9 June 2010 10:01:04 David Baldwin wrote:
Neil Franken wrote:
Hi Quick Follow up.

I checked the hobbit-nkview.cfg, hobbit-nkview.cfg.bak files and I found
a  xymon-nkview.cfg.bak. All remain empty and according to the man pages
this is where the critical systems should be written to. SO I think I
have a permissions issue. I checked the permissions of the files and the
hobbit-nkview files belong to root and the group is also root they have
the 664 permissions applied. The xymon-nkview.cfg.bak belongs to root
and the group is apache. I am getting a little confused now and not sure
how to solve this problem.

Hope someone out there has a idea.
Quite obviously, the user running the CGI needs to be able to write to the 
file. The appropriate permissions fix is one of:

apache:xymon 640
xymon:apache 660
root:apache 664
On my system those files are writeable by the hobbit user and group. Not
sure if suexec is required in apache to make this work. First pass you
could make permissions 777.
IMHO, no one should *ever* suggest 777 as a fix ...

Regards,
Buchan