<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Hi everyone, </p>
<p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">I've been introducing a few AlmaLinux 9 hosts into my monitored network. I'm happy to share my build notes, so far, but specifically am wondering about "msgs" monitoring - it does not seem that journalctl is supported? </p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Ben </p>
<p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">EL9 install notes below </p>
<p> <span style="color:#000000;"><span style="font-family:monospace;"><span style="background-color:#ffffff;">COMPILING: EL9 (CLIENT ONLY) </span></span></span><br />1) yum -y groupinstall "Development Tools" <br /> yum install pcre-devel <br /> useradd xymon <br />2) cd /usr/src <br />3) ./configure --client <br /> DON'T FORGET TO PUT IN THE RIGHT SERVER IP!! <br />4) ./make <br />5) tar -zcf xymon.client.not.installed.el9.tgz <br />6) scp xymon.client.not.installed.el9.tgz root@monitor:/var/www/html/. <br /><br /><br />INSTALLING CREATED CLIENT <br />1) Verify the hostname matches xymon server config <br />hostname <span style="background-color:#ffffff;"><span style="color:#18b2b2;"># set as necessary:</span><span style="color:#000000;"> </span></span><br />hostnamectl set-hostname $HOSTNAME <br /><br />2) Run the following <br />cd /usr/src <span style="background-color:#ffffff;"><span style="color:#18b2b2;"># NOTE THE VERSION!! </span><span style="color:#000000;"> </span></span><br />wget http://monitor.effortlessis.com/xymon.client.not.installed.elVERSION.tgz <br />tar -zxvf xymon.client.not.installed.tgz <br />useradd xymon <br />yum install libtirpc libtirpc-devel <br />yum groupinstall "Development Tools" (if needed) <br />cd xymon-4.3.30 <br />make install <br /><br />3) Verify it works <br />su - xymon <br />xymon --debug # make sure it runs ok - WHAT DOES THIS DO? <br /><br />4) yum groupremove "Development Tools" (if installed just for this) <br /><br />./runclient.sh start <span style="background-color:#ffffff;"><span style="color:#18b2b2;"># wait a few minutes </span><span style="color:#000000;"> </span></span><br /><span style="background-color:#ffffff;"><span style="color:#18b2b2;"># see it on the server: </span><span style="color:#000000;"> </span></span><br />http://monitor.effortlessis.com/xymon/ <br /><br />run xymon directly to see it works. As user xymon on client <br /><br />Useful <br />https://xymon.sourceforge.io/xymon/help/manpages/man1/xymon.1.html <br /><br />4) Make it work via init. <br />cp -av /root/repo/xymon/xymond /etc/rc.d/init.d/xymond4) <br />ln -s /etc/rc.d/init.d/xymond /etc/rc.d/rc3.d/S99xymond; <br />cd /etc/rc.d/init.d; <br />chcon --reference=functions xymond <br />systemctl enable xymond; <br />systemctl start xymond; <br /><br />4a) Make it work via systemctl <span style="background-color:#ffffff;"><span style="color:#18b2b2;">## not done yet </span><span style="color:#000000;"> </span></span><br /><br /><br />5) Common issues: <br />A) /var/log/messages <br /> chown root.xymon /var/log/messages; <br /> chmod g+r /var/log/messages <br />B) on xymon server, edit procs <br />C) SELinux error on start xymond via systemctl  ( ??? WTF IS THIS? )<br /></p>
</body>
</html>