Hello there,
I have problem with remote command. I created action if disk in critical state then make log file zero byte. On event it shows command executed but actually its not disk still in problem state. I had to log in on to the server and truncate file to zero byte. I wonder why this happned? I given sudo permission to zabbix user for truncate command as well.
Here is summary:
Action condition: Trigger value = PROBLEM and Trigger = Template xxx: / Disk Critical.
Operation command: truncate -s 0 /path/to/file.
I have problem with remote command. I created action if disk in critical state then make log file zero byte. On event it shows command executed but actually its not disk still in problem state. I had to log in on to the server and truncate file to zero byte. I wonder why this happned? I given sudo permission to zabbix user for truncate command as well.
Here is summary:
Action condition: Trigger value = PROBLEM and Trigger = Template xxx: / Disk Critical.
Operation command: truncate -s 0 /path/to/file.
Comment