[Xymon] XYMON Pre requisites
Zahirul Alam
zahir.au at gmail.com
Fri Feb 12 05:38:16 CET 2021
Hi Ehtesham,
I am no wizard. This is how I did my installation using Centos. You will
get some key help from this. Others, feel free to rip me apart :)
Install CentOS 8 from ISO
[install location] ISOs / CentOS-8.2.2004-x86_64-minimal.iso
Add IP details
Find interface name
# ifconfig
Change bootproto, ipaddr, netmask & gateway
# nano /etc/sysconfig/network-scripts/ifcfg-ens192
Add DNS details
# nano /etc/resolve.conf
Server Configuration:
Add some yum repostitories:
# nano /etc/yum.repos.d/xymon.repo
And add this to the file:
[Xymon]
name=Xymon-$releasever
baseurl=http://terabithia.org/rpms/xymon/el$releasever/x86_64/
gpgcheck=1
gpgkey=http://terabithia.org/rpms/RPM-GPG-KEY-JCLEAVER
enabled=1
# yum install epel-release.noarch -y
Next we can install xymon and:
# yum install xymon.x86_64 xymon-client.x86_64 httpd -y
Edit the xymon configuration file and change the following lines:
XYMONSERVERHOSTNAME="$MACHINEDOTS" # The hostname of your server.
XYMONSERVERIP="127.0.0.1" # The IP-address of your server. Use the real
one, not 127.0.0.1 .
Example:
cd /etc/xymon/xymonserver.cfg
XYMONSERVERHOSTNAME="FQDN hostname"
XYMONSERVERIP="x.x.x.x"
Create a user for web access
# htpasswd -c /etc/xymon/xymonpasswd [USERNAME]
# htpasswd -c /etc/xymon/xymonpasswd xymonweb [pass xmonweb]
# htpasswd -c /etc/xymon/xymonpasswd xymon [pass xymon]
# htpasswd -c /etc/xymon/xymonpasswd apache [pass apache]
New password:
Re-type new password:
Adding password for user ...
Add more users / change passwords with
# htpasswd /etc/xymon/xymonpasswd [USERNAME]
Open the firewall ports for xymon and the webserver
# firewall-cmd --zone=public --add-port=1984/tcp --permanent
# firewall-cmd --zone=public --add-port=80/tcp --permanent
>From <https://4matperu.wordpress.com/2016/10/01/install-xymon-on-centos-7/>
# firewall-cmd --reload
>From <
https://www.digitalocean.com/community/tutorials/how-to-set-up-a-firewall-using-firewalld-on-centos-8>
Enable the service
# systemctl enable xymonlaunch.service
Starting the services:
On the server:
# systemctl enable xymonlaunch.service
# systemctl enable httpd.service
# systemctl start xymon
Good Luck...
On Fri, Jan 29, 2021 at 12:14 AM Mohammed, Ehtesham <emohammed at flexivan.com>
wrote:
> Hi,
>
> I’m trying to install XYMON on ubuntu server , Is there any document that
> can guide me with end to end installation ? I was able to install the
> server but having hard time to configure the host and what ports to open on
> firewall side. Please advise
>
>
>
> Thanks
>
>
>
> <https://www.flexivan.com/>
>
> *Ehtesham Mohammed*Cloud Architect
> 7320 E. Butherus Dr, Ste 201
> Scottsdale, AZ 85260
> (o) | (m)
> emohammed at FlexiVan.com
>
> Confidentiality Notice: The information contained in this email and
> any attachments
> may contain confidential and/or proprietary material and is intended
> solely for the person
> or entity to which it is addressed. Any unauthorized review disclosure
> or distribution of
> this email is strictly prohibited. If you have received this email in
> error, please notify the
> sender by reply email and destroy all copies of this email and any
> attachments.
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com
> http://lists.xymon.com/mailman/listinfo/xymon
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20210212/814e4195/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FlexiVanLogo_45deb83e-dda0-4034-ac40-31a4568e8246.png
Type: image/png
Size: 3338 bytes
Desc: not available
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20210212/814e4195/attachment.png>
More information about the Xymon
mailing list