Hi Guys/Gals
I am busy setting up the critical systems and I am running into a brick wall. For example I add a server called TUW-x and the svcs to a level one priority and click search it tell me that there is no record for this host/service. I then fill out the other details and click the update record button. When I then search for this record I get the same error message. How do I know that this record was saved? I am pretty sure it was not as I check the Config Report(Critical) and get very empty report with zero hosts.
Any ideas where I can look for errors regarding the critical setup.
Regards Neil
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.
Regards Neil
-----Original Message----- From: Neil Franken [mailto:nfranken at theunlimitedworld.co.za] Sent: 09 June 2010 09:22 AM To: hobbit at hswn.dk Subject: [hobbit] Critical System Editor Tips.
Hi Guys/Gals
I am busy setting up the critical systems and I am running into a brick wall. For example I add a server called TUW-x and the svcs to a level one priority and click search it tell me that there is no record for this host/service. I then fill out the other details and click the update record button. When I then search for this record I get the same error message. How do I know that this record was saved? I am pretty sure it was not as I check the Config Report(Critical) and get very empty report with zero hosts.
Any ideas where I can look for errors regarding the critical setup.
Regards Neil
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
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.
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. Also check your error_log file from apache and possibly /var/log/hobbit/cgierror.log
David.
Regards Neil
-----Original Message----- From: Neil Franken [mailto:nfranken at theunlimitedworld.co.za] Sent: 09 June 2010 09:22 AM To: hobbit at hswn.dk Subject: [hobbit] Critical System Editor Tips.
Hi Guys/Gals
I am busy setting up the critical systems and I am running into a brick wall. For example I add a server called TUW-x and the svcs to a level one priority and click search it tell me that there is no record for this host/service. I then fill out the other details and click the update record button. When I then search for this record I get the same error message. How do I know that this record was saved? I am pretty sure it was not as I check the Config Report(Critical) and get very empty report with zero hosts.
Any ideas where I can look for errors regarding the critical setup.
Regards Neil
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
-- David Baldwin - IT Unit Australian Sports Commission www.ausport.gov.au Tel 02 62147830 Fax 02 62141830 PO Box 176 Belconnen ACT 2616 david.baldwin at ausport.gov.au Leverrier Street Bruce ACT 2617
Keep up to date with what's happening in Australian sport visit http://www.ausport.gov.au
This message is intended for the addressee named and may contain confidential and privileged information. If you are not the intended recipient please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you receive this message in error, please delete it and notify the sender.
Thanks David.
The 777 permissions worked. I am going to change the ownership as well and check that out.
Regards Neil
-----Original Message----- From: David Baldwin [mailto:david.baldwin at ausport.gov.au] Sent: 09 June 2010 11:01 AM To: hobbit at hswn.dk Subject: Re: [hobbit] Critical System Editor Tips.
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.
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. Also check your error_log file from apache and possibly /var/log/hobbit/cgierror.log
David.
Regards Neil
-----Original Message----- From: Neil Franken [mailto:nfranken at theunlimitedworld.co.za] Sent: 09 June 2010 09:22 AM To: hobbit at hswn.dk Subject: [hobbit] Critical System Editor Tips.
Hi Guys/Gals
I am busy setting up the critical systems and I am running into a brick wall. For example I add a server called TUW-x and the svcs to a level one priority and click search it tell me that there is no record for this host/service. I then fill out the other details and click the update record button. When I then search for this record I get the same error message. How do I know that this record was saved? I am pretty sure it was not as I check the Config Report(Critical) and get very empty report with zero hosts.
Any ideas where I can look for errors regarding the critical setup.
Regards Neil
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
-- David Baldwin - IT Unit Australian Sports Commission www.ausport.gov.au Tel 02 62147830 Fax 02 62141830 PO Box 176 Belconnen ACT 2616 david.baldwin at ausport.gov.au Leverrier Street Bruce ACT 2617
Keep up to date with what's happening in Australian sport visit http://www.ausport.gov.au
This message is intended for the addressee named and may contain confidential and privileged information. If you are not the intended recipient please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you receive this message in error, please delete it and notify the sender.
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
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
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:bgmilne at staff.telkomsa.net] Sent: 09 June 2010 12:05 PM To: hobbit at hswn.dk 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
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
OK, I am a bit confused, I've gotten almost everything working in my Xymon environment, *except* for the "Critical Systems Editor".
I *do* get a beautiful editor window, but am not able to see where in that window I can actually add a host.
What make this worst for me is that I am not able to see any errors neither in any of my logs that look like they are related to CGI, nkview anything, etc.
Any help on getting critical systems working would be greatly appreciated.
.vp
apache:xymon 640 xymon:apache 660 root:apache 664
From the perspective of the Apache engine, it prefers:
0755 on directories 0644 on files
owned by apache:apache (or www:www, or www-data:www-data, or nobody:nobody). Whatever your distro uses.
That's more of a protection mechanism than anything.
Hi
Did you read the critical system section in the help file? What problems are you experiencing/
Regards Neil
-----Original Message----- From: wiskbroom at hotmail.com [mailto:wiskbroom at hotmail.com] Sent: 09 June 2010 02:22 PM To: hobbit at hswn.dk Cc: david.baldwin at ausport.gov.au Subject: RE: [hobbit] Critical System Editor Tips.
OK, I am a bit confused, I've gotten almost everything working in my Xymon environment, *except* for the "Critical Systems Editor".
I *do* get a beautiful editor window, but am not able to see where in that window I can actually add a host.
What make this worst for me is that I am not able to see any errors neither in any of my logs that look like they are related to CGI, nkview anything, etc.
Any help on getting critical systems working would be greatly appreciated.
.vp
apache:xymon 640 xymon:apache 660 root:apache 664
From the perspective of the Apache engine, it prefers:
0755 on directories 0644 on files
owned by apache:apache (or www:www, or www-data:www-data, or nobody:nobody). Whatever your distro uses.
That's more of a protection mechanism than anything.
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
participants (5)
-
bgmilne@staff.telkomsa.net
-
david.baldwin@ausport.gov.au
-
nfranken@theunlimitedworld.co.za
-
questy@gmail.com
-
wiskbroom@hotmail.com