Customizing the Login AM 2012 Dashboard
In Login AM 2012 the dashboard is being used to get a quick overview of the current environment. It will give you some information about your servers and provides you with information about the general health of Login AM 2012.
Login AM 2012 Dashboard
The dashboard is configured by the file “Monitoring.xml” which is located in “%s4_files%\Components\Solution4\Framework\Extensions\Solution4 Manager”. The only fixed columns in the dashboard are 'name' and 'collection'. All other will be created on the fly based on the configuration file. If you open that file with your favorite XML Editor you will see a similar structure like in the screenshot below.
Solution 4 Manager Monitoring
Every column in the dashboard is created by an XML element “monitorrule” with some special attributes.
|name||The column header in the Dashboard|
The monitoring type:
· ping– does a ping
· wmi–WMI query
· reg– Registry query
· svc– Service query
· file– reads a specific file
· lastfile–reads the latest file in a directory
|value||The object to be monitored|
|modifier||The property of the monitored object.|
|desiredvalue||The value which will be used for comparing the result of the query.|
Defines the rule which will be used to compare the result with the desired value.
True– enables this rule
False– disables this rule in the dashboard.
Using the above information will allow you to create your own queries and add monitoring rules to the dashboard.
In practice you should not modify the Monitoring.xml file in the “Solution4\Framework” component. It might get replaced by an update and all your changes will be lost.
The best way to add rules is to create your own Monitoring.xml in a custom component.
An example Monitoring component is available for download here. It will add Active Sessions and the status of the Citrix IMAService to the dashboard. Feel free to customize it to your own needs.
Customized Login AM 2012 Dashboard