Are custom user parameters not working properly?
I have the following defined:
And for whatever/some reason they are returning just static (and incorrect) values... i run each command from the command line though and it returns the proper value
I have them defined as systemcpuuser[] and so on and so forth in the configuration settings as well.
What am i not seeing?
I have the following defined:
Code:
UserParameter=systemcpuuser[],vmstat 1 2|tail -n1 > /opt/zabbix/temp.cpu;cat /opt/zabbix/temp.cpu|awk '{print $13}'
UserParameter=systemcpusystem[],cat /opt/zabbix/temp.cpu|awk '{print $14}'
UserParameter=systemcpuidle[],cat /opt/zabbix/temp.cpu|awk '{print $16}'
UserParameter=systemcpuwaitio[],cat /opt/zabbix/temp.cpu|awk '{print $15}'
UserParameter=systemcpurunq[],sar -q 1|grep "Average"|awk '{print $2}'
I have them defined as systemcpuuser[] and so on and so forth in the configuration settings as well.
What am i not seeing?
Comment