Hi,
The problem is - I cannot send message using script.
First of all i created script Administration->Scripts
Type: Script
Execute on: Zabbix server
Commands: /usr/local/bin/nxevent -u admin -P password 10.10.1.7 10023
(this command sends an event to another NMS)
User groups: Zabbix administrators
Host groups: all
Required host permission: read
(Note: Zabbix administrators have full access(read-write) to everything)
Then I create a new media type - script with previous created script name.
Then i create new action where condition is:
Trigger value = PROBLEM
and operations:
Send message to user admin via script.
So basically this action should be called whenever any trigger gets value - Problem.
But when the triggers are triggered, it says - Action in progress, and later, Action failed.
But when i call this script from server alone (clicking on host Zabbix server and under scripts, choosing mine) it does work, it sends event to another NMS.
In logs I wasn't able to find anything specific.
So is my configuration wrong, or are there some bugs?
The problem is - I cannot send message using script.
First of all i created script Administration->Scripts
Type: Script
Execute on: Zabbix server
Commands: /usr/local/bin/nxevent -u admin -P password 10.10.1.7 10023
(this command sends an event to another NMS)
User groups: Zabbix administrators
Host groups: all
Required host permission: read
(Note: Zabbix administrators have full access(read-write) to everything)
Then I create a new media type - script with previous created script name.
Then i create new action where condition is:
Trigger value = PROBLEM
and operations:
Send message to user admin via script.
So basically this action should be called whenever any trigger gets value - Problem.
But when the triggers are triggered, it says - Action in progress, and later, Action failed.
But when i call this script from server alone (clicking on host Zabbix server and under scripts, choosing mine) it does work, it sends event to another NMS.
In logs I wasn't able to find anything specific.
So is my configuration wrong, or are there some bugs?