Hi,
I'm trying to determine a user's media type and id using the zabbix api (php). I can pull back the user's details no problem but am getting nothing for when querying medias and mediatypes:
ZabbixAPI::fetch_array('user','get',array(
'filter'=>array(
'alias'=>$zbxusername,
),
'select_medias'=>'extend'
)
)
Note: The user account I'm testing against has an email media type configured.
Why is "select_medias" and "select_mediatypes" not returning anything when "output" returns the kind of extended output one would expect? If someone can point me in the right direction on this I'll appreciate it greatly.
Regards,
David
I'm trying to determine a user's media type and id using the zabbix api (php). I can pull back the user's details no problem but am getting nothing for when querying medias and mediatypes:
ZabbixAPI::fetch_array('user','get',array(
'filter'=>array(
'alias'=>$zbxusername,
),
'select_medias'=>'extend'
)
)
Note: The user account I'm testing against has an email media type configured.
Why is "select_medias" and "select_mediatypes" not returning anything when "output" returns the kind of extended output one would expect? If someone can point me in the right direction on this I'll appreciate it greatly.
Regards,
David
Comment