I appreriate anyone to help me.
Today I wonder use script to alert something.But I am failed.
Who can help me ?
1.media types(description:TEST, Script nmae:test)
2.users--media--new media(/usr/local/zabbix/bin/test)
#!/bin/sh
echo "$1" >> sun.log
echo "$1" >> sun.log
echo "$1" >> sun.log
echo "it is atest!" >> sun.log
3.action
But ,the sun.log is empty, Audit action is display "sent".
the sun.log is empty, I can't get result.
Today I wonder use script to alert something.But I am failed.
Who can help me ?
1.media types(description:TEST, Script nmae:test)
2.users--media--new media(/usr/local/zabbix/bin/test)
#!/bin/sh
echo "$1" >> sun.log
echo "$1" >> sun.log
echo "$1" >> sun.log
echo "it is atest!" >> sun.log
3.action
But ,the sun.log is empty, Audit action is display "sent".
the sun.log is empty, I can't get result.
Comment