So the script is this one found here: https://github.com/vicendominguez/wowza-zabbix-template
It works perfectly and reports two numbers when it polls, streams and connections. I would like to make my trigger send e-mails when:
streams-connections > 6000
I know how to create Triggers for stuff tracked within Zabbix, but I can't seem to figure out the syntax for using it with an external script. Any help would be greatly appreciated.
It seems I should use this syntax, but the key for my external script is super long: {<server>:<key>.<function>(<parameter>)}<operator> <constant>
My key: getWowzaInfo.py["-u","{$WOWUSER}","-p","{$WOWPASS}","-h","{HOST.CONN}","-P","8086","-a","conn"]
So am I to understand it should be {<server>:getWowzaInfo.py["-u","{$WOWUSER}","-p","{$WOWPASS}","-h","{HOST.CONN}","-P","8086","-a","conn"](<parameter>)}<operator><constant>
or something like that?
It works perfectly and reports two numbers when it polls, streams and connections. I would like to make my trigger send e-mails when:
streams-connections > 6000
I know how to create Triggers for stuff tracked within Zabbix, but I can't seem to figure out the syntax for using it with an external script. Any help would be greatly appreciated.
It seems I should use this syntax, but the key for my external script is super long: {<server>:<key>.<function>(<parameter>)}<operator> <constant>
My key: getWowzaInfo.py["-u","{$WOWUSER}","-p","{$WOWPASS}","-h","{HOST.CONN}","-P","8086","-a","conn"]
So am I to understand it should be {<server>:getWowzaInfo.py["-u","{$WOWUSER}","-p","{$WOWPASS}","-h","{HOST.CONN}","-P","8086","-a","conn"](<parameter>)}<operator><constant>
or something like that?
Comment