I have used Zabbix in the past. It's been a while and I am setting it up on a new group of server and I don't remember anything, maybe because of versions and bad memory.
I have several servers I would like to monitor. On the server I installed the latest Server and Agent via yum on Centos 7 and the agents the just the Agent the same way.
Currently I have one Zabbix Server and three Agents. I was having issues using the public IP having to do with firewall, at least. I now setup private IPs just for Zabbix and no more network issues.
Using PSK. All the Agents are running and have no errors except:
And I suspect that has to do with the distro, but cannot see anything in the error to indicate where that is coming from.
I have verified that the Agent is working (I think) by running:
and it returns the correct hostname.
I setup a Dashboard for CPU Load Values. I added graphs with the key of 'system.cpu.load[all,avg1]', 'system.cpu.load[all,avg5]', 'system.cpu.load[all,avg15]' for each Agent but the graphs never show any values. If I test with:
I get a value from 0.000001 to something less than 1.000000.
I have tried with all three setup Agents and have a separate graph for each server. None update with any data.
The server log contains just the following over and over again but no errors:
The Agent logs are as follows:
Any suggestions are welcome.
I have several servers I would like to monitor. On the server I installed the latest Server and Agent via yum on Centos 7 and the agents the just the Agent the same way.
Currently I have one Zabbix Server and three Agents. I was having issues using the public IP having to do with firewall, at least. I now setup private IPs just for Zabbix and no more network issues.
Using PSK. All the Agents are running and have no errors except:
Code:
20638:20210131:162427.419 cannot parse list of active checks: cannot parse as a valid JSON object: invalid object format, expected opening character '{' or '[' at: 'ZBX_NOTSUPPORTED'
I have verified that the Agent is working (I think) by running:
Code:
zabbix_get -s 192.168.153.57 -p 10050 --tls-connect psk --tls-psk-identity "PSK000" --tls-psk-file /etc/zabbix/zabbix_agent.psk -k agent.hostname
I setup a Dashboard for CPU Load Values. I added graphs with the key of 'system.cpu.load[all,avg1]', 'system.cpu.load[all,avg5]', 'system.cpu.load[all,avg15]' for each Agent but the graphs never show any values. If I test with:
Code:
zabbix_get -s 192.168.153.57 -p 10050 --tls-connect psk --tls-psk-identity "PSK000" --tls-psk-file /etc/zabbix/zabbix_agent.psk -k system.cpu.load[all,avg5]
Code:
[root@server zabbix]# zabbix_get -s 192.168.153.57 -p 10050 --tls-connect psk --tls-psk-identity "PSK000" --tls-psk-file /etc/zabbix/zabbix_agent.psk -k system.cpu.load[all,avg5] 0.080000 [root@server zabbix]# zabbix_get -s 192.168.177.245 -p 10050 --tls-connect psk --tls-psk-identity "PSK000" --tls-psk-file /etc/zabbix/zabbix_agent.psk -k system.cpu.load[all,avg5] 0.030000 [root@server zabbix]# zabbix_get -s 192.168.177.8 -p 10050 --tls-connect psk --tls-psk-identity "PSK000" --tls-psk-file /etc/zabbix/zabbix_agent.psk -k system.cpu.load[all,avg5] 0.060000
The server log contains just the following over and over again but no errors:
20658:20210131:121638.862 executing housekeeper
20658:20210131:121639.014 housekeeper [deleted 6370 hist/trends, 0 items/triggers, 0 events, 1 problems, 0 sessions, 0 alarms, 0 audit, 0 records in 0.151297 sec, idle for 1 hour(s)]
20658:20210131:131639.451 executing housekeeper
20658:20210131:131639.531 housekeeper [deleted 6372 hist/trends, 0 items/triggers, 0 events, 0 problems, 0 sessions, 0 alarms, 0 audit, 0 records in 0.078925 sec, idle for 1 hour(s)]
20658:20210131:121639.014 housekeeper [deleted 6370 hist/trends, 0 items/triggers, 0 events, 1 problems, 0 sessions, 0 alarms, 0 audit, 0 records in 0.151297 sec, idle for 1 hour(s)]
20658:20210131:131639.451 executing housekeeper
20658:20210131:131639.531 housekeeper [deleted 6372 hist/trends, 0 items/triggers, 0 events, 0 problems, 0 sessions, 0 alarms, 0 audit, 0 records in 0.078925 sec, idle for 1 hour(s)]
20639:20210131:164827.622 cannot parse list of active checks: cannot parse as a valid JSON object: invalid object format, expected opening character '{' or '[' at: 'ZBX_NOTSUPPORTED'
20638:20210131:164827.623 cannot parse list of active checks: cannot parse as a valid JSON object: invalid object format, expected opening character '{' or '[' at: 'ZBX_NOTSUPPORTED'
20639:20210131:165027.654 cannot parse list of active checks: cannot parse as a valid JSON object: invalid object format, expected opening character '{' or '[' at: 'ZBX_NOTSUPPORTED'
20638:20210131:165027.655 cannot parse list of active checks: cannot parse as a valid JSON object: invalid object format, expected opening character '{' or '[' at: 'ZBX_NOTSUPPORTED'
20638:20210131:165227.671 cannot parse list of active checks: cannot parse as a valid JSON object: invalid object format, expected opening character '{' or '[' at: 'ZBX_NOTSUPPORTED'
20639:20210131:165227.672 cannot parse list of active checks: cannot parse as a valid JSON object: invalid object format, expected opening character '{' or '[' at: 'ZBX_NOTSUPPORTED'
20638:20210131:164827.623 cannot parse list of active checks: cannot parse as a valid JSON object: invalid object format, expected opening character '{' or '[' at: 'ZBX_NOTSUPPORTED'
20639:20210131:165027.654 cannot parse list of active checks: cannot parse as a valid JSON object: invalid object format, expected opening character '{' or '[' at: 'ZBX_NOTSUPPORTED'
20638:20210131:165027.655 cannot parse list of active checks: cannot parse as a valid JSON object: invalid object format, expected opening character '{' or '[' at: 'ZBX_NOTSUPPORTED'
20638:20210131:165227.671 cannot parse list of active checks: cannot parse as a valid JSON object: invalid object format, expected opening character '{' or '[' at: 'ZBX_NOTSUPPORTED'
20639:20210131:165227.672 cannot parse list of active checks: cannot parse as a valid JSON object: invalid object format, expected opening character '{' or '[' at: 'ZBX_NOTSUPPORTED'
Comment