NethServer Version: 7.9
Tried to install zabbix-server but after the installation the agent fails…
Any Ideas?
NethServer Version: 7.9
Tried to install zabbix-server but after the installation the agent fails…
Any Ideas?
Did you install the Zabbix server module?
Is the agent installed?
This is was I did:
yum -y install https://mrmarkuz.dynu.net/mirror/mrmarkuz/7/noarch/nethserver-mrmarkuz-0.0.1-6.ns7.noarch.rpm
yum -y install https://repo.zabbix.com/zabbix/5.0/rhel/7/x86_64/zabbix-release-5.0-1.el7.noarch.rpm
yum -y --enablerepo=mrmarkuz,zabbix,zabbix-frontend install nethserver-zabbix
yum -y install nethserver-zabbix-agent --enablerepo=mrmarkuz
Is the agent running?
systemctl status zabbix-agent -l
Is it enabled?
config show zabbix-agent
[root@infra02 ~]# zabbix_agent2
zabbix_agent2 [7799]: ERROR: cannot initialize PID file: Is this process already running? Could not lock PID file [/var/run/zabbix/zabbix_agent2.pid]: resource temporarily unavailable
Coud this be the problem?
No, I think zabbix_agent2 is already running via systemd.
Did you follow the configuration guide?
Please share zabbix agent2 config:
config show zabbix-agent2
…and check which process listens on port 10050:
[root@server ~]# netstat -tlpn | grep 10050
tcp6 0 0 :::10050 :::* LISTEN 1177/zabbix_agent2
[root@infra02 ~]# config show zabbix-agent2
zabbix-agent2=service
PskID=
ServerZabbix=infra02.mydomain.lan
TCPPort=10050
access=red,green
status=enabled
[root@infra02 ~]# netstat -tlpn | grep 10050
tcp6 0 0 :::10050 :::* LISTEN 8446/zabbix_agent2
TNX Markus, for your support!