I want to monitoring virtual desktop status of Citrix XenDesktop by zabbix.
I have a script that can get to the virtual desktop's status and session.
I have been change UserParameter in the zabbix agent config file.
I can get these information by zabbix_get on the zabbix server.
I add a host on the web page of the zabbix, and type of information is text.
Now, I want to check the status of the desktop by trigger.
if the RegistrationState is Unregistered that will show alarm on the zabbix.
if SessionState is Disconnected that will show alarm on the zabbix.
What do I do?
I have a script that can get to the virtual desktop's status and session.
Code:
HostedMachine RegistrationState SessionState ------------ -------------- ------------ Win10-C01 Unregistered Win10-C02 Registered Win10-C03 Registered Disconnected Win10-C04 Registered Win10-C05 Registered Win10-C06 Registered Active
I have been change UserParameter in the zabbix agent config file.
I can get these information by zabbix_get on the zabbix server.
I add a host on the web page of the zabbix, and type of information is text.
Now, I want to check the status of the desktop by trigger.
if the RegistrationState is Unregistered that will show alarm on the zabbix.
if SessionState is Disconnected that will show alarm on the zabbix.
What do I do?