Guys,
Have set up
Item:
Checksum of /home/zabbix/bin/trigger.dat vfs.file.cksum[/home/zabbix/bin/trigger.dat] 30 7 365 ZABBIX agent Active Integrity
Trigger:
trigger.dat has changed {ZABBIX Server:vfs.file.cksum[/home/zabbix/bin/trigger.dat].diff(0)}>0 High Enabled
Action:
alert_test Trigger = "trigger.dat has changed"
Send message to User "smcits"
Enabled
Under user smcits:
alert_script smcits 1-7,00:00-23:59; NIWAHD Enabled
Media types:
Script alert_script Script name: 'test_zabbix.pl'
Server conf:
# Location for custom alert scripts
AlertScriptsPath=/home/zabbix/bin/
Actual dir:
/home/zabbix/bin
-rwxr-xr-x 1 zabbix users 13509 2008-02-15 11:29 test_zabbix.pl
I get lots of alerts in Zabbix as wanted, but it never fires the script.
What do I need to do to make it fire the script????
Cheers
Chris
Have set up
Item:
Checksum of /home/zabbix/bin/trigger.dat vfs.file.cksum[/home/zabbix/bin/trigger.dat] 30 7 365 ZABBIX agent Active Integrity
Trigger:
trigger.dat has changed {ZABBIX Server:vfs.file.cksum[/home/zabbix/bin/trigger.dat].diff(0)}>0 High Enabled
Action:
alert_test Trigger = "trigger.dat has changed"
Send message to User "smcits"
Enabled
Under user smcits:
alert_script smcits 1-7,00:00-23:59; NIWAHD Enabled
Media types:
Script alert_script Script name: 'test_zabbix.pl'
Server conf:
# Location for custom alert scripts
AlertScriptsPath=/home/zabbix/bin/
Actual dir:
/home/zabbix/bin
-rwxr-xr-x 1 zabbix users 13509 2008-02-15 11:29 test_zabbix.pl
I get lots of alerts in Zabbix as wanted, but it never fires the script.
What do I need to do to make it fire the script????
Cheers
Chris

Comment