Hello.
I'm trying to set up a custom UserParameter for a Linux server. I've made the necessary changes:
The idea is that I ask about a specific file system and get in return an integer which I then use in Zabbix triggers. I've tested the command itself and it works exactly as I want it to. But when I try to get the result through Zabbix (or try to test it with following)
the result I get is the entire, unformatted string:
I don't understand what causes this change and how do I fix it.
I'm trying to set up a custom UserParameter for a Linux server. I've made the necessary changes:
Code:
UserParameter=disk.partition.workload[*],df -k | grep $1 | awk '{print $5}' | sed 's/.$//'
Code:
zabbix_agentd -t disk.partition.workload[/pcap]
Code:
/pcap 54476506720 48636767680 3105006112 94% /pcap
Comment