Hello.
My device is a Yeastar S50.
I use Zabbix for my infrastructure: the device not support SNMP and the only solution I have found is this: run an ssh request by executing the command
asterisk -rx 'pjsip list registrations' |grep TRUNKNAME |awk '{ print $3 }'
if I run this on ssh its works perfectly.
if I run via Zabbix its returns a blank string.
if I run another command via Zabbix (ls or ps aux |grep something, ...) I see the expected results, so Zabbix works by having to connect, authenticating and returning what I need.
now, why do I get the asterisk command I get nothing? even without parameters.