I want to find out whether Citrix logins are enabled or disabled for a host server. I wrote a PowerShell script to invoke and parse the output of 'qfarm /load' but it appears easier to simply query using WMI, and I found a class with the setting. The query for the Citrix class MetaFrame_Server for the LoginsEnabled property on the \root\Citrix namespace returns a TRUE or FALSE boolean response:
WMI Namespace: \root\Citrix
Query: SELECT LoginsEnabled FROM MetaFrame_Server
A WMI Monitor looks for a numerical statistic threshold. What ways are there to trigger a warning or critical state using booleans?