birdie1 / zabbix-borg

Zabbix Template for monitoring Borg Backup
GNU General Public License v3.0
5 stars 4 forks source link

zabbix_get ZBX_NOTSUPPORTED: Unsupported item key. #1

Open sandikata opened 4 years ago

sandikata commented 4 years ago

Hello. I am trying to set up borg status like you've mentioned in readme, but it always says ZBX_NOTSUPPORTED: Unsupported item key.

zabbix_get -s 192.168.1.100 -p 10050 -k Borg.Status
ZBX_NOTSUPPORTED: Unsupported item key.

birdie1 commented 4 years ago

Did you add borg.conf to the corresponding machine and restarted zabbix_agent? I am not sure if the zabbix user parameter are case sensitive, but please try to call borg.status in lowercase letters.

sandikata commented 4 years ago

No change with lowercase, same output

birdie1 commented 4 years ago

Have you added the borg.conf to the zabbix_agent.conf.d? Does your zabbix_agentd.conf including the extra config files? Usually you have this one set: "Include=/etc/zabbix/zabbix_agentd.conf.d/*.conf"? After adding the configuration, did you restart the zabbix agent?

Can you manually the key (zabbix_agentd -t borg.status)?