Working with a hybrid SquaredUp deployment

By Sameer MhaisekarSquaredUp, Technical Evangelist

Many customers we have are hybrid – meaning they have both Azure and on-prem estate, and subsequently both SquaredUp for Azure and SquaredUp for SCOM deployments. In other cases, some customers are using multiple different deployments of a product, for example for multiple SCOM management groups or multiple Azure tenants.

Often the teams monitoring both these environments largely overlap, and hence it becomes crucial for them to be able to have a dashboard view of both of them available in one place. Since SquaredUp for Azure and SCOM are two different products, you can’t “switch” them to toggle between the environments.

However, that doesn’t mean you can’t bring them together in one console – introducing to you the Web Content tile – here you can simply paste the URL to your dashboard from one SquaredUp deployment in the other to see them all in one place.

Alright, let’s jump right in!

 

How to bring SCOM dashboards into Azure deployment

So, I have a SquaredUp for SCOM deployment for my on-prem servers and SquaredUp for Azure for my Azure tenant. Since I am the monitoring admin for both, I want to be able to see the health of both these environments without having to switch consoles all the time. I will bring my SCOM dashboards into my Azure deployment (you can go the other way around too).

SquaredUp v4.6 introduced some security tightening enhancements. From this version onwards, you have to first whitelist your URLs before you can embed them in your dashboard. Let’s do that.

Whitelist your URLs

You will find a configuration file named Security.json in your installation files usually under the following directory:

C:\inetpub\wwwroot\<Squaredupserver>\User\Configuration

Where <Squaredupserver> is the name of the server you’ve installed SquaredUp on.

By default, it looks like this:

 {
  "enable-visio-svg-sanitization": true,
  "enable-all-embedded-scripts": false,
  "enable-embedded-scripts-whitelist": []
}

Add the URLs to the dashboards

Here you’ll add the URL’s to the dashboards you want to bring in Azure console. Once done, it should look like this:

The first URL is the URL to the dashboard that displays all the alerts from SCOM. The second one is the dashboard displaying the health of all my on-prem servers. You’ll notice I’ve added the ?display=fullscreen string to the end there, which eliminates user’s ability to access navigation to different dashboards than this one. More about that here.

Embed the URLs

Now that that's done, let’s go into SquaredUp for Azure portal now and see how to embed these.

Log in to the home page and hit the new dashboard button. Locate the Web content tile and select the URL option. Then paste the URL we just whitelisted.

Change the display settings to resize the dashboard, enable scrolling etc., and you’re done! This SCOM dashboard is now in the Azure console.

Repeat to add the second dashboard 

Lets go ahead repeat the process again to add the second dashboard. Here’s the end result:

You can now also click into the objects to drilldown, access perspectives and so on.

Awesome! Just like in the SquaredUp for SCOM console.

If you don’t want to let users drilldown into the objects, you can also embed Open Access dashboards this way.

That’s it, simple as that! This concludes this post; feel free to write to us if you have any questions about this at all.

Cheers