Hello,
I am currently experiencing issues with UserParameters. I have defined a few custom ones that seem to work with zabbix_agent2 -t
On the server with the Agent:
On the server with Zabbix-Server:
I have tried almost everything, but I don't seem to be able to get it to respond, but if I use a different Item, such as the filesystem discovery, I get a reply back with all found filesystems.
Another issue I seem to have is that the return value of my command smartctl -a /dev/sda | grep Offline_Uncorrectable | awk '{print $10}' is being recognized as string, and not as unsigned interger, despite being 0.
If anyone knows what I could do to fix these issues, I am thankful for any kind of help.
With kind regards,
Aperture-Development
I am currently experiencing issues with UserParameters. I have defined a few custom ones that seem to work with zabbix_agent2 -t
On the server with the Agent:
Code:
root@server ~ # zabbix_agent2 -t smart.status.offline[sda] smart.status.offline[sda] [s|0]
Code:
root@srv-cloud /etc/zabbix # zabbix_get -s {agentServerAddress} -k "smart.status.offline[sda]"
root@srv-cloud /etc/zabbix #
Another issue I seem to have is that the return value of my command smartctl -a /dev/sda | grep Offline_Uncorrectable | awk '{print $10}' is being recognized as string, and not as unsigned interger, despite being 0.
If anyone knows what I could do to fix these issues, I am thankful for any kind of help.
With kind regards,
Aperture-Development
Comment