Using object properties in the SquaredUp DS URL
This article explains how specify an object property in a SquaredUp DS URL to return an object page.
Using the value parameter in the SquaredUp DS URL
When simply specifying a display name as the value this prioritises more common results such as server objects and groups (in the same way that the SquaredUp DS search works). If you want to return an object that is not a server, then you can specify the property and classId you require, see below
- Create a URL in the format below, using the object's display name:
http://SquaredUpServerName/SquaredUp/drilldown/scomobject?value=DisplayName
whereDisplayName
is the display name of the object whose page you wish to show,
and whereSquaredUpServer
is the name of the server where SquaredUp DS is installed.
For example to show theDatabases
group page:http://SquaredUpServer1/SquaredUp/drilldown/scomobject?value=databases
Or to show a particular application:http://SquaredUpServer1/SquaredUp/drilldown/scomobject?value=Sales App
- Paste the URL into a browser and test that it shows the page you required.
Creating a desktop shortcut to a server page in SquaredUp DS
You may like to add a shortcut on a server desktop which will take users to that server's page in SquaredUp DS. This can be used to encourage users to put a server into maintenance mode before starting work, because they can use the shortcut to quickly and easily access the right page in SquaredUp DS and then click the Maintenance Mode button (see Putting a SCOM object into maintenance mode) in SquaredUp DS, as shown below.
- Create a URL using the display name of the server in the following format, and test that it works:
http://SquaredUpServerName/SquaredUp/drilldown/scomobject?value=DisplayName
whereDisplayName
is the display name of the server whose page you wish to show,
and whereSquaredUpServer
is the name of the server where SquaredUp DS is installed.
For example:http://SquaredUpServer1/SquaredUp/drilldown/scomobject?value=Server2.squaredup.com
- Create a shortcut on the server desktop using this URL and test it.
- If you wish, you can use Group Policy to deliver the shortcut and use the
%COMPUTERNAME%
environment variable in the URL. For example:http://SquaredUpServerName/SquaredUp/drilldown/scomobject?value=%COMPUTERNAME%&property=NetbiosComputerName&classId=ea99500d-8d52-fc52-b5a5-10dcd1e9d2bd
For example:http://SquaredUpServer1/SquaredUp/drilldown/scomobject?value=%COMPUTERNAME%&property=NetbiosComputerName&classId=ea99500d-8d52-fc52-b5a5-10dcd1e9d2bd
For more information about using Group Policy to deploy shortcuts to desktops see Server 2012 Deploy Desktop Shortcuts using Group Policy;
Specifying a property and class ID
If the default page returned is not the correct object, then you should specify the property and the class ID that the property belongs to:
http://SquaredUpServerName/SquaredUp/drilldown/scomobject?value=Server1&property=NetbiosComputerName&classId=ea99500d-8d52-fc52-b5a5-10dcd1e9d2bd
You can view object properties on the Monitored Entity perspective in SquaredUp DS, but you will need to change the property name to start in upper case. For example, dnsName
as shown on the SquaredUp DS Monitored Entity Properties should be DnsName
when using in the URL:
http://SquaredUpServerName/SquaredUp/drilldown/scomobject?value=Server2.squaredup.com&property=DnsName&classId=ea99500d-8d52-fc52-b5a5-10dcd1e9d2bd
For more information about which properties belong to which class see the System Center Management Pack Catalog.