Xymon Setup
list Andre Beyleveldt
Hi Guys I need some assistance with regards to setting up Xymon, I have seen it once or twice but the actual config itself I have never done. I used the man pages etc. but I can't get my Xymon url to show the page, checked the log and I am getting the following. [cid:image003.png at 01CFD37C.E3AA2DA0] [cid:image004.png at 01CFD37C.E3AA2DA0] Then the error just repeats over and over. Does anyone perhaps have an example of what needs to be setup that I can use to reference to mine to see what I did wrong. Kind regards, [Description: singature picture 1]<http://www.paym8.co.za/> Andre Beyleveldt System Engineer Phone: +XX XX XXX XXXX Mobile: +XX XX XXX XXXX Email: user-272f9b3e5f28@xymon.invalid<mailto:user-272f9b3e5f28@xymon.invalid> Website: www.paym8.co.za<http://www.paym8.co.za/> Postal: Private Bag X83, Halfway House 1685 [Description: image003]<https://sealserver.trustwave.com/cert.php?customerId=w6oj3BfC7hnnGnD5amTROytnX2IWgo&size=105x54&style=normal> ATTENTION: PAYM8 continues its commitment to data security and is now in its fourth straight year of successful re-certification for PCI DSS (Payment Card Industry Data Security Standard) compliance. PAYM8 operates in the Payment Card Industry environment. In order to align with the Payment Card Industry Data Security Standard best practices, we do not send or accept any unencrypted or unmasked PANs (Primary Account Numbers as displayed on credit and debit cards) via end user messaging technologies (such as email, instant messaging and chat). If there is a business need to send unencrypted or unmasked PANs to PAYM8 please contact the recipient to facilitate an appropriate mechanism. The information transmitted in this e-mail is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Should you have received this e-mail in error please notify the sender and delete all copies of the e-mail. Unauthorized use, disclosure or copying of any part of this e-mail, or any similar action, is prohibited. No opinion expressed or implied by the sender necessarily constitutes the opinion of PAYM8. This e-mail does not constitute a guarantee or proof of the facts mentioned herein. No employee or intermediary is authorized to conclude a binding agreement on behalf of PAYM8 by e-mail without the express written confirmation by a duly authorized representative of PAYM8.
list Kris Springer
What OS are you using? Signature - Kris Thank you. Kris Springer
▸
On 9/18/2014 11:12 AM, Andre Beyleveldt wrote:Hi Guys I need some assistance with regards to setting up Xymon, I have seen it once or twice but the actual config itself I have never done. I used the man pages etc. but I can’t get my Xymon url to show the page, checked the log and I am getting the following. Then the error just repeats over and over. Does anyone perhaps have an example of what needs to be setup that I can use to reference to mine to see what I did wrong. Kind regards,
Description: singature picture 1 <http://www.paym8.co.za/>; *Andre Beyleveldt*** *System Engineer* *Phone:*+27 11 564 2480 *Mobile*: +27 82 686 5828 *Email:*user-272f9b3e5f28@xymon.invalid <mailto:user-272f9b3e5f28@xymon.invalid> *Website*: www.paym8.co.za <http://www.paym8.co.za/>; *Postal:*Private Bag X83, Halfway House 1685 Description: image003 <https://sealserver.trustwave.com/cert.php?customerId=w6oj3BfC7hnnGnD5amTROytnX2IWgo&size=105x54&style=normal>;
▸
**
*ATTENTION:*
*PAYM8 continues its commitment to data security and is now in its fourth straight year of successful re-certification for PCI DSS (Payment Card Industry Data Security Standard) compliance.*
PAYM8 operates in the Payment Card Industry environment. In order to align with the Payment Card Industry Data Security Standard best practices, we do not send or accept any unencrypted or unmasked PANs (Primary Account Numbers as displayed on credit and debit cards) via end user messaging technologies (such as email, instant messaging and chat). If there is a business need to send unencrypted or unmasked PANs to PAYM8 please contact the recipient to facilitate an appropriate mechanism.
The information transmitted in this e-mail is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Should you have received this e-mail in error please notify the sender and delete all copies of the e-mail. Unauthorized use, disclosure or copying of any part of this e-mail, or any similar action, is prohibited. No opinion expressed or implied by the sender necessarily constitutes the opinion of PAYM8. This e-mail does not constitute a guarantee or proof of the facts mentioned herein. No employee or intermediary is authorized to conclude a binding agreement on behalf of PAYM8 by e-mail without the express written confirmation by a duly authorized representative of PAYM8.
list Jeremy Laidman
That's weird. The error message says that it's trying to load the task defined in tasks.cfg section [xymon]. My tasks.cfg has no [xymon]. The nearest match is [xymond]. Similarly, the command 'xymon' would have been defined in a "CMD" line, and my tasks.cfg has no such line. You should check your tasks.cfg (and tasks.d directory contents) for invalid entries. A useful diagnostic is to dump the tasks like so: xymoncmd sh -c '$XYMONHOME/bin/xymonlaunch --config=$XYMONHOME/etc/tasks.cfg --dump' This will show you the tasks configuration after being parsed by xymonlaunch, which includes slurping in include files, stripping comments, de-duplicating entries, and dropping unrecognised keywords. J
▸
On 19 September 2014 04:12, Andre Beyleveldt <user-272f9b3e5f28@xymon.invalid> wrote:
Hi Guys I need some assistance with regards to setting up Xymon, I have seen it once or twice but the actual config itself I have never done. I used the man pages etc. but I can’t get my Xymon url to show the page, checked the log and I am getting the following. Then the error just repeats over and over. Does anyone perhaps have an example of what needs to be setup that I can use to reference to mine to see what I did wrong. Kind regards,
[image: Description: singature picture 1] <http://www.paym8.co.za/>; *Andre Beyleveldt* *System Engineer* *Phone:* +27 11 564 2480 *Mobile*: +27 82 686 5828 *Email:* user-272f9b3e5f28@xymon.invalid *Website*: www.paym8.co.za *Postal:* Private Bag X83, Halfway House 1685 [image: Description: image003]
▸
<https://sealserver.trustwave.com/cert.php?customerId=w6oj3BfC7hnnGnD5amTROytnX2IWgo&size=105x54&style=normal>; *ATTENTION:* *PAYM8 continues its commitment to data security and is now in its fourth straight year of successful re-certification for PCI DSS (Payment Card Industry Data Security Standard) compliance.* PAYM8 operates in the Payment Card Industry environment. In order to align with the Payment Card Industry Data Security Standard best practices, we do not send or accept any unencrypted or unmasked PANs (Primary Account Numbers as displayed on credit and debit cards) via end user messaging technologies (such as email, instant messaging and chat). If there is a business need to send unencrypted or unmasked PANs to PAYM8 please contact the recipient to facilitate an appropriate mechanism. The information transmitted in this e-mail is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Should you have received this e-mail in error please notify the sender and delete all copies of the e-mail. Unauthorized use, disclosure or copying of any part of this e-mail, or any similar action, is prohibited. No opinion expressed or implied by the sender necessarily constitutes the opinion of PAYM8. This e-mail does not constitute a guarantee or proof of the facts mentioned herein. No employee or intermediary is authorized to conclude a binding agreement on behalf of PAYM8 by e-mail without the express written confirmation by a duly authorized representative of PAYM8.
list Steve Coile
Looks to me like (the *xymonserver.cfg* variable) *$XYMON* isn't defined with an absolute path, and (the environment variable) *$PATH* does not include *~xymon/server/bin*. -- *Steve Coile*Senior Network and Systems Engineer, McClatchy Interactive <http://www.mcclatchyinteractive.com/>; Office: XXX-XXX-XXXX | Mobile: XXX-XXX-XXXX | Fax: XXX-XXX-XXXX On Thu, Sep 18, 2014 at 8:21 PM, Jeremy Laidman <user-71895fb2e44c@xymon.invalid>
▸
wrote:
That's weird. The error message says that it's trying to load the task defined in tasks.cfg section [xymon]. My tasks.cfg has no [xymon]. The nearest match is [xymond]. Similarly, the command 'xymon' would have been defined in a "CMD" line, and my tasks.cfg has no such line. You should check your tasks.cfg (and tasks.d directory contents) for invalid entries. A useful diagnostic is to dump the tasks like so: xymoncmd sh -c '$XYMONHOME/bin/xymonlaunch --config=$XYMONHOME/etc/tasks.cfg --dump' This will show you the tasks configuration after being parsed by xymonlaunch, which includes slurping in include files, stripping comments, de-duplicating entries, and dropping unrecognised keywords. J On 19 September 2014 04:12, Andre Beyleveldt <user-272f9b3e5f28@xymon.invalid> wrote:Hi Guys I need some assistance with regards to setting up Xymon, I have seen it once or twice but the actual config itself I have never done. I used the man pages etc. but I can’t get my Xymon url to show the page, checked the log and I am getting the following. Then the error just repeats over and over. Does anyone perhaps have an example of what needs to be setup that I can use to reference to mine to see what I did wrong. Kind regards, [image: Description: singature picture 1] <http://www.paym8.co.za/>; *Andre Beyleveldt* *System Engineer* *Phone:* +27 11 564 2480 *Mobile*: +27 82 686 5828 *Email:* user-272f9b3e5f28@xymon.invalid *Website*: www.paym8.co.za *Postal:* Private Bag X83, Halfway House 1685 [image: Description: image003] <https://sealserver.trustwave.com/cert.php?customerId=w6oj3BfC7hnnGnD5amTROytnX2IWgo&size=105x54&style=normal>; *ATTENTION:* *PAYM8 continues its commitment to data security and is now in its fourth straight year of successful re-certification for PCI DSS (Payment Card Industry Data Security Standard) compliance.* PAYM8 operates in the Payment Card Industry environment. In order to align with the Payment Card Industry Data Security Standard best practices, we do not send or accept any unencrypted or unmasked PANs (Primary Account Numbers as displayed on credit and debit cards) via end user messaging technologies (such as email, instant messaging and chat). If there is a business need to send unencrypted or unmasked PANs to PAYM8 please contact the recipient to facilitate an appropriate mechanism. The information transmitted in this e-mail is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Should you have received this e-mail in error please notify the sender and delete all copies of the e-mail. Unauthorized use, disclosure or copying of any part of this e-mail, or any similar action, is prohibited. No opinion expressed or implied by the sender necessarily constitutes the opinion of PAYM8. This e-mail does not constitute a guarantee or proof of the facts mentioned herein. No employee or intermediary is authorized to conclude a binding agreement on behalf of PAYM8 by e-mail without the express written confirmation by a duly authorized representative of PAYM8.
list Andre Beyleveldt
Hi Steve, Jeremy Thanks for the prompt response, I read your suggestions and will have a look at the config’s during the course of the day. Regards
▸
Andre Beyleveldt System Engineer Phone: +XX XX XXX XXXX Mobile: +XX XX XXX XXXX Email: user-272f9b3e5f28@xymon.invalid<mailto:user-272f9b3e5f28@xymon.invalid> Website: www.paym8.co.za<http://www.paym8.co.za/>; Postal: Private Bag X83, Halfway House 1685
▸
From: Steve Coile [mailto:user-a2e2f9aff0d1@xymon.invalid]
Sent: 19 September 2014 02:54 AM
To: xymon at xymon.com
Cc: Andre Beyleveldt
Subject: Re: [Xymon] Xymon Setup
Looks to me like (the xymonserver.cfg variable) $XYMON isn't defined with an absolute path, and (the environment variable) $PATH does not include ~xymon/server/bin.
--Steve Coile Senior Network and Systems Engineer, McClatchy Interactive<http://www.mcclatchyinteractive.com/>;
▸
Office: XXX-XXX-XXXX | Mobile: XXX-XXX-XXXX | Fax: XXX-XXX-XXXX
On Thu, Sep 18, 2014 at 8:21 PM, Jeremy Laidman <user-71895fb2e44c@xymon.invalid<mailto:user-71895fb2e44c@xymon.invalid>> wrote:
That's weird. The error message says that it's trying to load the task defined in tasks.cfg section [xymon]. My tasks.cfg has no [xymon]. The nearest match is [xymond]. Similarly, the command 'xymon' would have been defined in a "CMD" line, and my tasks.cfg has no such line.
You should check your tasks.cfg (and tasks.d directory contents) for invalid entries. A useful diagnostic is to dump the tasks like so:
xymoncmd sh -c '$XYMONHOME/bin/xymonlaunch --config=$XYMONHOME/etc/tasks.cfg --dump'
This will show you the tasks configuration after being parsed by xymonlaunch, which includes slurping in include files, stripping comments, de-duplicating entries, and dropping unrecognised keywords.
J
On 19 September 2014 04:12, Andre Beyleveldt <user-272f9b3e5f28@xymon.invalid<mailto:user-272f9b3e5f28@xymon.invalid>> wrote:
Hi Guys
I need some assistance with regards to setting up Xymon, I have seen it once or twice but the actual config itself I have never done.
I used the man pages etc. but I can’t get my Xymon url to show the page, checked the log and I am getting the following.
[cid:image003.png at 01CFD3DA.40E2A440]
[cid:image004.png at 01CFD3DA.40E2A440]
▸
Then the error just repeats over and over. Does anyone perhaps have an example of what needs to be setup that I can use to reference to mine to see what I did wrong. Kind regards, [Description: singature picture 1]<http://www.paym8.co.za/>; Andre Beyleveldt System Engineer
Phone: +XX XX XXX XXXX<tel:%2B27%2011%20564%202480>
Mobile: +XX XX XXX XXXX<tel:%2B27%2082%C2%A0686%205828>
▸
Email: user-272f9b3e5f28@xymon.invalid<mailto:user-272f9b3e5f28@xymon.invalid> Website: www.paym8.co.za<http://www.paym8.co.za/>; Postal: Private Bag X83, Halfway House 1685 [Description: image003]<https://sealserver.trustwave.com/cert.php?customerId=w6oj3BfC7hnnGnD5amTROytnX2IWgo&size=105x54&style=normal>; ATTENTION: PAYM8 continues its commitment to data security and is now in its fourth straight year of successful re-certification for PCI DSS (Payment Card Industry Data Security Standard) compliance. PAYM8 operates in the Payment Card Industry environment. In order to align with the Payment Card Industry Data Security Standard best practices, we do not send or accept any unencrypted or unmasked PANs (Primary Account Numbers as displayed on credit and debit cards) via end user messaging technologies (such as email, instant messaging and chat). If there is a business need to send unencrypted or unmasked PANs to PAYM8 please contact the recipient to facilitate an appropriate mechanism. The information transmitted in this e-mail is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Should you have received this e-mail in error please notify the sender and delete all copies of the e-mail. Unauthorized use, disclosure or copying of any part of this e-mail, or any similar action, is prohibited. No opinion expressed or implied by the sender necessarily constitutes the opinion of PAYM8. This e-mail does not constitute a guarantee or proof of the facts mentioned herein. No employee or intermediary is authorized to conclude a binding agreement on behalf of PAYM8 by e-mail without the express written confirmation by a duly authorized representative of PAYM8.
list Andre Beyleveldt
Hi Guys I’m down to having this error. I know it’s due to a permission either on a folder or config file. You don't have permission to access /xymon/xymon.html on this server. Am I correct in saying that Apache wants to hit the xymon web page but it has not access hence the error.?
▸
Regards Andre Beyleveldt System Engineer Phone: +XX XX XXX XXXX Mobile: +XX XX XXX XXXX Email: user-272f9b3e5f28@xymon.invalid<mailto:user-272f9b3e5f28@xymon.invalid> Website: www.paym8.co.za<http://www.paym8.co.za/>; Postal: Private Bag X83, Halfway House 1685
▸
From: Steve Coile [mailto:user-a2e2f9aff0d1@xymon.invalid] Sent: 19 September 2014 02:54 AM To: xymon at xymon.com Cc: Andre Beyleveldt Subject: Re: [Xymon] Xymon Setup Looks to me like (the xymonserver.cfg variable) $XYMON isn't defined with an absolute path, and (the environment variable) $PATH does not include ~xymon/server/bin. -- Steve Coile Senior Network and Systems Engineer, McClatchy Interactive<http://www.mcclatchyinteractive.com/>; Office: XXX-XXX-XXXX | Mobile: XXX-XXX-XXXX | Fax: XXX-XXX-XXXX On Thu, Sep 18, 2014 at 8:21 PM, Jeremy Laidman <user-71895fb2e44c@xymon.invalid<mailto:user-71895fb2e44c@xymon.invalid>> wrote: That's weird. The error message says that it's trying to load the task defined in tasks.cfg section [xymon]. My tasks.cfg has no [xymon]. The nearest match is [xymond]. Similarly, the command 'xymon' would have been defined in a "CMD" line, and my tasks.cfg has no such line. You should check your tasks.cfg (and tasks.d directory contents) for invalid entries. A useful diagnostic is to dump the tasks like so: xymoncmd sh -c '$XYMONHOME/bin/xymonlaunch --config=$XYMONHOME/etc/tasks.cfg --dump' This will show you the tasks configuration after being parsed by xymonlaunch, which includes slurping in include files, stripping comments, de-duplicating entries, and dropping unrecognised keywords. J On 19 September 2014 04:12, Andre Beyleveldt <user-272f9b3e5f28@xymon.invalid<mailto:user-272f9b3e5f28@xymon.invalid>> wrote: Hi Guys I need some assistance with regards to setting up Xymon, I have seen it once or twice but the actual config itself I have never done. I used the man pages etc. but I can’t get my Xymon url to show the page, checked the log and I am getting the following.
[cid:image003.png at 01CFD44B.F8CA31B0]
[cid:image004.png at 01CFD44B.F8CA31B0]
▸
Then the error just repeats over and over. Does anyone perhaps have an example of what needs to be setup that I can use to reference to mine to see what I did wrong. Kind regards, [Description: singature picture 1]<http://www.paym8.co.za/>; Andre Beyleveldt System Engineer Phone: +XX XX XXX XXXX<tel:%2B27%2011%20564%202480> Mobile: +XX XX XXX XXXX<tel:%2B27%2082%C2%A0686%205828> Email: user-272f9b3e5f28@xymon.invalid<mailto:user-272f9b3e5f28@xymon.invalid> Website: www.paym8.co.za<http://www.paym8.co.za/>; Postal: Private Bag X83, Halfway House 1685 [Description: image003]<https://sealserver.trustwave.com/cert.php?customerId=w6oj3BfC7hnnGnD5amTROytnX2IWgo&size=105x54&style=normal>; ATTENTION: PAYM8 continues its commitment to data security and is now in its fourth straight year of successful re-certification for PCI DSS (Payment Card Industry Data Security Standard) compliance. PAYM8 operates in the Payment Card Industry environment. In order to align with the Payment Card Industry Data Security Standard best practices, we do not send or accept any unencrypted or unmasked PANs (Primary Account Numbers as displayed on credit and debit cards) via end user messaging technologies (such as email, instant messaging and chat). If there is a business need to send unencrypted or unmasked PANs to PAYM8 please contact the recipient to facilitate an appropriate mechanism. The information transmitted in this e-mail is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Should you have received this e-mail in error please notify the sender and delete all copies of the e-mail. Unauthorized use, disclosure or copying of any part of this e-mail, or any similar action, is prohibited. No opinion expressed or implied by the sender necessarily constitutes the opinion of PAYM8. This e-mail does not constitute a guarantee or proof of the facts mentioned herein. No employee or intermediary is authorized to conclude a binding agreement on behalf of PAYM8 by e-mail without the express written confirmation by a duly authorized representative of PAYM8.
list Steve Coile
I'd guess an Apache configuration issue, yes. Of course, you should also check the permission on the *xymon.html* file to ensure it's readable by whatever user your Apache *httpd* process is running as.
▸
-- *Steve Coile*Senior Network and Systems Engineer, McClatchy Interactive <http://www.mcclatchyinteractive.com/>; Office: XXX-XXX-XXXX | Mobile: XXX-XXX-XXXX | Fax: XXX-XXX-XXXX
On Fri, Sep 19, 2014 at 2:56 PM, Andre Beyleveldt <user-272f9b3e5f28@xymon.invalid>
▸
wrote:
Hi Guys I’m down to having this error. I know it’s due to a permission either on a folder or config file. You don't have permission to access /xymon/xymon.html on this server. Am I correct in saying that Apache wants to hit the xymon web page but it has not access hence the error.? *Regards* *Andre Beyleveldt* *System Engineer* *Phone:* +27 11 564 2480 *Mobile*: +27 82 686 5828 *Email:* user-272f9b3e5f28@xymon.invalid *Website*: www.paym8.co.za *Postal:* Private Bag X83, Halfway House 1685 *From:* Steve Coile [mailto:user-a2e2f9aff0d1@xymon.invalid] *Sent:* 19 September 2014 02:54 AM *To:* xymon at xymon.com *Cc:* Andre Beyleveldt *Subject:* Re: [Xymon] Xymon Setup Looks to me like (the *xymonserver.cfg* variable) *$XYMON* isn't defined with an absolute path, and (the environment variable) *$PATH* does not include *~xymon/server/bin*. -- *Steve Coile *Senior Network and Systems Engineer, McClatchy Interactive <http://www.mcclatchyinteractive.com/>; Office: XXX-XXX-XXXX | Mobile: XXX-XXX-XXXX | Fax: XXX-XXX-XXXX On Thu, Sep 18, 2014 at 8:21 PM, Jeremy Laidman <user-71895fb2e44c@xymon.invalid> wrote: That's weird. The error message says that it's trying to load the task defined in tasks.cfg section [xymon]. My tasks.cfg has no [xymon]. The nearest match is [xymond]. Similarly, the command 'xymon' would have been defined in a "CMD" line, and my tasks.cfg has no such line. You should check your tasks.cfg (and tasks.d directory contents) for invalid entries. A useful diagnostic is to dump the tasks like so: xymoncmd sh -c '$XYMONHOME/bin/xymonlaunch --config=$XYMONHOME/etc/tasks.cfg --dump' This will show you the tasks configuration after being parsed by xymonlaunch, which includes slurping in include files, stripping comments, de-duplicating entries, and dropping unrecognised keywords. J On 19 September 2014 04:12, Andre Beyleveldt <user-272f9b3e5f28@xymon.invalid> wrote: Hi Guys I need some assistance with regards to setting up Xymon, I have seen it once or twice but the actual config itself I have never done. I used the man pages etc. but I can’t get my Xymon url to show the page, checked the log and I am getting the following. Then the error just repeats over and over. Does anyone perhaps have an example of what needs to be setup that I can use to reference to mine to see what I did wrong. Kind regards, [image: Description: singature picture 1] <http://www.paym8.co.za/>; *Andre Beyleveldt* *System Engineer* *Phone:* +27 11 564 2480 *Mobile*: +27 82 686 5828 *Email:* user-272f9b3e5f28@xymon.invalid *Website*: www.paym8.co.za *Postal:* Private Bag X83, Halfway House 1685 [image: Description: image003] <https://sealserver.trustwave.com/cert.php?customerId=w6oj3BfC7hnnGnD5amTROytnX2IWgo&size=105x54&style=normal>; *ATTENTION:* *PAYM8 continues its commitment to data security and is now in its fourth straight year of successful re-certification for PCI DSS (Payment Card Industry Data Security Standard) compliance.* PAYM8 operates in the Payment Card Industry environment. In order to align with the Payment Card Industry Data Security Standard best practices, we do not send or accept any unencrypted or unmasked PANs (Primary Account Numbers as displayed on credit and debit cards) via end user messaging technologies (such as email, instant messaging and chat). If there is a business need to send unencrypted or unmasked PANs to PAYM8 please contact the recipient to facilitate an appropriate mechanism. The information transmitted in this e-mail is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Should you have received this e-mail in error please notify the sender and delete all copies of the e-mail. Unauthorized use, disclosure or copying of any part of this e-mail, or any similar action, is prohibited. No opinion expressed or implied by the sender necessarily constitutes the opinion of PAYM8. This e-mail does not constitute a guarantee or proof of the facts mentioned herein. No employee or intermediary is authorized to conclude a binding agreement on behalf of PAYM8 by e-mail without the express written confirmation by a duly authorized representative of PAYM8.
list Tres Finocchiaro
We spent quite a while getting apache configured properly because
documentation had changed over the years. Here were my steps (Ubuntu 14.04)
1. Install latest from source using makdeb instructions and dpkg
2. Enable CGI
$ sudo a2enmod cgid
3. $ sudo nano /etc/apache2/mods-enabled/alias.conf
4. Fix Apache Startup error
$ sudo nano /etc/apache2/apache2.conf
Place this somewhere in the file:
ServerName x <--- Where "x" is the hostname of your server
5. Setup apache Alias
$ sudo nano /etc/apache2/mods-enabled/alias.conf
Paste the text below between </Directory> and </IfModules>
Alias /xymon/ "/usr/lib/xymon/server/www/"
<Directory "/usr/lib/xymon/server/www/">
Options Indexes FollowSymLinks Includes MultiViews
Require all granted
</Directory>
ScriptAlias /xymon-cgi/ "/usr/lib/xymon/cgi-bin/"
<Directory "/usr/lib/xymon/cgi-bin">
AllowOverride None
Options ExecCGI Includes
Require all granted
</Directory>
ScriptAlias /xymon-seccgi/ "/usr/lib/xymon/cgi-secure/"
<Directory "/usr/lib/xymon/cgi-secure">
AllowOverride None
Options ExecCGI Includes
Require all granted
# Password file where users with access to these scripts
are kept.
# Create it with "htpasswd -c
/usr/lib/xymon/server/etc/xymonpasswd USERNAME"
# Add more users / change passwords with "htpasswd
/usr/lib/xymon/server/etc/xymonpasswd USERNAME"
AuthUserFile /usr/lib/xymon/server/etc/xymonpasswd
AuthType Basic
AuthName "Xymon Administration"
Require valid-user
</Directory>
1. Fix a memory leak wih Apache/Ubuntu 14.04
$ sudo apt-get install libpam-smbpass
2. Restart the Apache Server
$ sudo /etc/init.d/apache2 restart
3. Finally, configure hosts, mail settings, alerts, etc
I can provide more detailed instructions for any of these steps if you
think they apply.
-Tres
- user-88678e65ced1@xymon.invalid
On Fri, Sep 19, 2014 at 3:16 PM, Steve Coile <
▸
user-a2e2f9aff0d1@xymon.invalid> wrote:
I'd guess an Apache configuration issue, yes. Of course, you should also check the permission on the *xymon.html* file to ensure it's readable by whatever user your Apache *httpd* process is running as. -- *Steve Coile*Senior Network and Systems Engineer, McClatchy Interactive <http://www.mcclatchyinteractive.com/>; Office: XXX-XXX-XXXX | Mobile: XXX-XXX-XXXX | Fax: XXX-XXX-XXXX On Fri, Sep 19, 2014 at 2:56 PM, Andre Beyleveldt <user-272f9b3e5f28@xymon.invalid> wrote:Hi Guys I’m down to having this error. I know it’s due to a permission either on a folder or config file. You don't have permission to access /xymon/xymon.html on this server. Am I correct in saying that Apache wants to hit the xymon web page but it has not access hence the error.? *Regards* *Andre Beyleveldt* *System Engineer* *Phone:* +27 11 564 2480 *Mobile*: +27 82 686 5828 *Email:* user-272f9b3e5f28@xymon.invalid *Website*: www.paym8.co.za *Postal:* Private Bag X83, Halfway House 1685 *From:* Steve Coile [mailto:user-a2e2f9aff0d1@xymon.invalid] *Sent:* 19 September 2014 02:54 AM *To:* xymon at xymon.com *Cc:* Andre Beyleveldt *Subject:* Re: [Xymon] Xymon Setup Looks to me like (the *xymonserver.cfg* variable) *$XYMON* isn't defined with an absolute path, and (the environment variable) *$PATH* does not include *~xymon/server/bin*. -- *Steve Coile *Senior Network and Systems Engineer, McClatchy Interactive <http://www.mcclatchyinteractive.com/>; Office: XXX-XXX-XXXX | Mobile: XXX-XXX-XXXX | Fax: XXX-XXX-XXXX On Thu, Sep 18, 2014 at 8:21 PM, Jeremy Laidman <user-71895fb2e44c@xymon.invalid> wrote: That's weird. The error message says that it's trying to load the task defined in tasks.cfg section [xymon]. My tasks.cfg has no [xymon]. The nearest match is [xymond]. Similarly, the command 'xymon' would have been defined in a "CMD" line, and my tasks.cfg has no such line. You should check your tasks.cfg (and tasks.d directory contents) for invalid entries. A useful diagnostic is to dump the tasks like so: xymoncmd sh -c '$XYMONHOME/bin/xymonlaunch --config=$XYMONHOME/etc/tasks.cfg --dump' This will show you the tasks configuration after being parsed by xymonlaunch, which includes slurping in include files, stripping comments, de-duplicating entries, and dropping unrecognised keywords. J On 19 September 2014 04:12, Andre Beyleveldt <user-272f9b3e5f28@xymon.invalid> wrote: Hi Guys I need some assistance with regards to setting up Xymon, I have seen it once or twice but the actual config itself I have never done. I used the man pages etc. but I can’t get my Xymon url to show the page, checked the log and I am getting the following. Then the error just repeats over and over. Does anyone perhaps have an example of what needs to be setup that I can use to reference to mine to see what I did wrong. Kind regards, [image: Description: singature picture 1] <http://www.paym8.co.za/>; *Andre Beyleveldt* *System Engineer* *Phone:* +27 11 564 2480 *Mobile*: +27 82 686 5828 *Email:* user-272f9b3e5f28@xymon.invalid *Website*: www.paym8.co.za *Postal:* Private Bag X83, Halfway House 1685 [image: Description: image003] <https://sealserver.trustwave.com/cert.php?customerId=w6oj3BfC7hnnGnD5amTROytnX2IWgo&size=105x54&style=normal>; *ATTENTION:* *PAYM8 continues its commitment to data security and is now in its fourth straight year of successful re-certification for PCI DSS (Payment Card Industry Data Security Standard) compliance.* PAYM8 operates in the Payment Card Industry environment. In order to align with the Payment Card Industry Data Security Standard best practices, we do not send or accept any unencrypted or unmasked PANs (Primary Account Numbers as displayed on credit and debit cards) via end user messaging technologies (such as email, instant messaging and chat). If there is a business need to send unencrypted or unmasked PANs to PAYM8 please contact the recipient to facilitate an appropriate mechanism. The information transmitted in this e-mail is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Should you have received this e-mail in error please notify the sender and delete all copies of the e-mail. Unauthorized use, disclosure or copying of any part of this e-mail, or any similar action, is prohibited. No opinion expressed or implied by the sender necessarily constitutes the opinion of PAYM8. This e-mail does not constitute a guarantee or proof of the facts mentioned herein. No employee or intermediary is authorized to conclude a binding agreement on behalf of PAYM8 by e-mail without the express written confirmation by a duly authorized representative of PAYM8.
list Tres Finocchiaro
Sorry, that was sudo apt-get *remove *libpam-smbpass, not install. :) - user-88678e65ced1@xymon.invalid On Fri, Sep 19, 2014 at 3:35 PM, Tres Finocchiaro <
▸
user-88678e65ced1@xymon.invalid> wrote:
We spent quite a while getting apache configured properly because documentation had changed over the years. Here were my steps (Ubuntu 14.04) 1. Install latest from source using makdeb instructions and dpkg 2. Enable CGI $ sudo a2enmod cgid 3. $ sudo nano /etc/apache2/mods-enabled/alias.conf 4. Fix Apache Startup error $ sudo nano /etc/apache2/apache2.conf Place this somewhere in the file: ServerName x <--- Where "x" is the hostname of your server 5. Setup apache Alias $ sudo nano /etc/apache2/mods-enabled/alias.conf Paste the text below between </Directory> and </IfModules>Alias /xymon/ "/usr/lib/xymon/server/www/" <Directory "/usr/lib/xymon/server/www/"> Options Indexes FollowSymLinks Includes MultiViews Require all granted </Directory> ScriptAlias /xymon-cgi/ "/usr/lib/xymon/cgi-bin/" <Directory "/usr/lib/xymon/cgi-bin"> AllowOverride None Options ExecCGI Includes Require all granted </Directory> ScriptAlias /xymon-seccgi/ "/usr/lib/xymon/cgi-secure/" <Directory "/usr/lib/xymon/cgi-secure"> AllowOverride None Options ExecCGI Includes Require all granted # Password file where users with access to these scripts are kept. # Create it with "htpasswd -c /usr/lib/xymon/server/etc/xymonpasswd USERNAME" # Add more users / change passwords with "htpasswd /usr/lib/xymon/server/etc/xymonpasswd USERNAME" AuthUserFile /usr/lib/xymon/server/etc/xymonpasswd AuthType Basic AuthName "Xymon Administration" Require valid-user </Directory>1. Fix a memory leak wih Apache/Ubuntu 14.04 $ sudo apt-get install libpam-smbpass 2. Restart the Apache Server $ sudo /etc/init.d/apache2 restart 3. Finally, configure hosts, mail settings, alerts, etc I can provide more detailed instructions for any of these steps if you think they apply. -Tres - user-88678e65ced1@xymon.invalid On Fri, Sep 19, 2014 at 3:16 PM, Steve Coile < user-a2e2f9aff0d1@xymon.invalid> wrote:I'd guess an Apache configuration issue, yes. Of course, you should also check the permission on the *xymon.html* file to ensure it's readable by whatever user your Apache *httpd* process is running as. -- *Steve Coile*Senior Network and Systems Engineer, McClatchy Interactive <http://www.mcclatchyinteractive.com/>; Office: XXX-XXX-XXXX | Mobile: XXX-XXX-XXXX | Fax: XXX-XXX-XXXX On Fri, Sep 19, 2014 at 2:56 PM, Andre Beyleveldt <user-272f9b3e5f28@xymon.invalid> wrote:Hi Guys I’m down to having this error. I know it’s due to a permission either on a folder or config file. You don't have permission to access /xymon/xymon.html on this server. Am I correct in saying that Apache wants to hit the xymon web page but it has not access hence the error.? *Regards* *Andre Beyleveldt* *System Engineer* *Phone:* +27 11 564 2480 *Mobile*: +27 82 686 5828 *Email:* user-272f9b3e5f28@xymon.invalid *Website*: www.paym8.co.za *Postal:* Private Bag X83, Halfway House 1685 *From:* Steve Coile [mailto:user-a2e2f9aff0d1@xymon.invalid] *Sent:* 19 September 2014 02:54 AM *To:* xymon at xymon.com *Cc:* Andre Beyleveldt *Subject:* Re: [Xymon] Xymon Setup Looks to me like (the *xymonserver.cfg* variable) *$XYMON* isn't defined with an absolute path, and (the environment variable) *$PATH* does not include *~xymon/server/bin*. -- *Steve Coile *Senior Network and Systems Engineer, McClatchy Interactive <http://www.mcclatchyinteractive.com/>; Office: XXX-XXX-XXXX | Mobile: XXX-XXX-XXXX | Fax: XXX-XXX-XXXX On Thu, Sep 18, 2014 at 8:21 PM, Jeremy Laidman < user-71895fb2e44c@xymon.invalid> wrote: That's weird. The error message says that it's trying to load the task defined in tasks.cfg section [xymon]. My tasks.cfg has no [xymon]. The nearest match is [xymond]. Similarly, the command 'xymon' would have been defined in a "CMD" line, and my tasks.cfg has no such line. You should check your tasks.cfg (and tasks.d directory contents) for invalid entries. A useful diagnostic is to dump the tasks like so: xymoncmd sh -c '$XYMONHOME/bin/xymonlaunch --config=$XYMONHOME/etc/tasks.cfg --dump' This will show you the tasks configuration after being parsed by xymonlaunch, which includes slurping in include files, stripping comments, de-duplicating entries, and dropping unrecognised keywords. J On 19 September 2014 04:12, Andre Beyleveldt <user-272f9b3e5f28@xymon.invalid> wrote: Hi Guys I need some assistance with regards to setting up Xymon, I have seen it once or twice but the actual config itself I have never done. I used the man pages etc. but I can’t get my Xymon url to show the page, checked the log and I am getting the following. Then the error just repeats over and over. Does anyone perhaps have an example of what needs to be setup that I can use to reference to mine to see what I did wrong. Kind regards, [image: Description: singature picture 1] <http://www.paym8.co.za/>; *Andre Beyleveldt* *System Engineer* *Phone:* +27 11 564 2480 *Mobile*: +27 82 686 5828 *Email:* user-272f9b3e5f28@xymon.invalid *Website*: www.paym8.co.za *Postal:* Private Bag X83, Halfway House 1685 [image: Description: image003] <https://sealserver.trustwave.com/cert.php?customerId=w6oj3BfC7hnnGnD5amTROytnX2IWgo&size=105x54&style=normal>; *ATTENTION:* *PAYM8 continues its commitment to data security and is now in its fourth straight year of successful re-certification for PCI DSS (Payment Card Industry Data Security Standard) compliance.* PAYM8 operates in the Payment Card Industry environment. In order to align with the Payment Card Industry Data Security Standard best practices, we do not send or accept any unencrypted or unmasked PANs (Primary Account Numbers as displayed on credit and debit cards) via end user messaging technologies (such as email, instant messaging and chat). If there is a business need to send unencrypted or unmasked PANs to PAYM8 please contact the recipient to facilitate an appropriate mechanism. The information transmitted in this e-mail is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Should you have received this e-mail in error please notify the sender and delete all copies of the e-mail. Unauthorized use, disclosure or copying of any part of this e-mail, or any similar action, is prohibited. No opinion expressed or implied by the sender necessarily constitutes the opinion of PAYM8. This e-mail does not constitute a guarantee or proof of the facts mentioned herein. No employee or intermediary is authorized to conclude a binding agreement on behalf of PAYM8 by e-mail without the express written confirmation by a duly authorized representative of PAYM8.
list Andre Beyleveldt
Hi Guys Just some questions regarding Xymon, 1. At current my hosts.cfg file is getting very big and long with all hosts I am adding. So now when you view Xymon on the frontend ie. Browser you need to scroll down to see everything. Instead of one big list, can you not have your servers and network for instance next to one another like below.? 1.1 Current config. [cid:image001.png at 01CFD8D9.0BE20B60] 1.2 But to have them rather display as follow, next to one another to save space? I don't want to go and create subpages and then end up with like 20 pages or so. [cid:image003.jpg at 01CFD8DA.53475E50][cid:image005.jpg at 01CFD8DA.53475E50] 2. The options that show just above your smiley face or diamond shape etc. [cid:image008.png at 01CFD8D9.E4C4A870] 2.1 Which ones are default on xymon,? I take it the cpu, disk, memory and some of them come with bbwin if it is installed and monitoring a windows box. 3. If you setup a conn for ping in the hosts.cfg file and configure the interval time in the server.cfg can you only set the interval in minutes ie. 1M, can you make it in seconds also for a more realtime realistic feel?. Kind regards, Andre
list Scot Kreienkamp
Look into the page, subpage, and include directives for hosts.cfg. Makes things much easier to manage because you can build in layers. Not sure what you mean by a real-time realistic feel? If you have several hundred tests and hosts it would drive a lot of network traffic and processor usage to try and test them every 5 seconds. Or do you mean just the test pages refreshing? Only the summary pages lag behind refresh times. When clicking into an individual test you're seeing a live status. Scot Kreienkamp | Senior Systems Engineer | La-Z-Boy Incorporated 1284 N. Telegraph Rd. | Monroe, MI 48162 | user-9678697f1438@xymon.invalid<mailto:user-9678697f1438@xymon.invalid> | www.la-z-boy.com<http://www.la-z-boy.com/>;
▸
From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Andre Beyleveldt
Sent: Thursday, September 25, 2014 10:04 AM
To: xymon at xymon.com
Subject: Re: [Xymon] Xymon Setup
Hi Guys
Just some questions regarding Xymon,
1. At current my hosts.cfg file is getting very big and long with all hosts I am adding. So now when you view Xymon on the frontend ie. Browser you need to scroll down to see everything. Instead of one big list, can you not have your servers and network for instance next to one another like below.?
1.1 Current config.
[cid:image001.png at 01CFD8A9.077B56B0]
1.2 But to have them rather display as follow, next to one another to save space? I don't want to go and create subpages and then end up with like 20 pages or so.
[cid:image002.jpg at 01CFD8A9.077B56B0][cid:image003.jpg at 01CFD8A9.077B56B0]
2. The options that show just above your smiley face or diamond shape etc.
[cid:image004.png at 01CFD8A9.077B56B0]
▸
2.1 Which ones are default on xymon,? I take it the cpu, disk, memory and some of them come with bbwin if it is installed and monitoring a windows box.
3. If you setup a conn for ping in the hosts.cfg file and configure the interval time in the server.cfg can you only set the interval in minutes ie. 1M, can you make it in seconds also for a more realtime realistic feel?.
Kind regards,
Andre
This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by e-mail or by telephone at the above number. Thank you.