In docs about Linux agent setup one of the steps is to enable custom service with a use of systemd
http://docs.librenms.org/Extensions/Agent-Setup/
systemd
cp [email protected] check_mk.socket /etc/systemd/system
I found that custom services using systemd is only available on CentOS7.
https://stackoverflow.com/questions/28347694/how-to-install-systemd-on-centos-6-6
systemd is not available for EL6, and EL6 is not prepared for systemd. Do not attempt to install systemd on EL6.
If you want to run systemd then install EL7.
I need to monitor my CentOS 6.8 hosts with certain applications. Is there way to do it? What are the steps?
Thank you Murrant for your help. But I guess we came back to square one. I started conversation because documentation either is not complete or I am missing something. I setup an agent according to documentation, which is only few steps. As I mentioned in beggining - there is no systemd for CentOS 6. I did configure xinetd per instruction. I configured 2 of my lab VMs - one with agent and other without: I see no difference between data being presented to me in web interface for both VMs.
@Illya_Andrianov the documentation explicitly mentions xinet.d.
There is a table on the docs page the left side is for xinetd the right side is for systemd. You need to run the commands on the left side.
Here they are:
cp check_mk_xinetd /etc/xinetd.d/check_mk
/etc/init.d/xinetd restart
Also, the distro detection is done by the distro script. The setup of this is part of our overall install docs:
http://docs.librenms.org/Installation/Installation-CentOS-7-Nginx/#configure-snmpd
You don’t need the unix-agent / applications to get that working.
thank you gentlemen - started new lab VM from scratch and was able to make things work. thank you again.
1 Like