Accessing OpsMgr Data on Your Mobile Devices through OMS Mobile Apps
Last year, my friends Cameron Fuller and Blake Wilson from Catapult Systems have written number of posts on “Taking my OpsMgr with me” (Part 1, Part 2, Part 3, Part 4, Part 5). In their blog post series, Cameron and Blake have demonstrated multiple ways of accessing your OpsMgr data from mobile devices via number of 3rd party applications such as Xian Wings, Squared Up, Savision Live Maps, etc.
With the recent release of Microsoft Operations Management Suite (OMS) Android and iOS apps, the OMS mobile apps would be another good option when you need to access your OpsMgr data on your mobile devices.
As we know, we normally categorise OpsMgr data into the following areas:
- Alert Data
- Event Data
- Performance Data
- State Data
- Managed Entity Data
Once you have connected your OpsMgr management groups to your OMS workspace, with some additional configuration (i.e. configuring collections for log and Near Real-Time Perf data, enabling Alert Management and Capacity Planning solutions, etc.), we can easily access Alert data, Event data and Performance data from OMS. Unlike OpsMgr, since OMS does not implement object health model (monitoring classes and relationships), the State data and Managed Entity data has become irrelevant in this case.
In this post, I will show you some sample search queries and dashboards I have developed in my lab, and what these dashboards look like in the OMS Android app (from my Samsung Note 3 mobile phone).
First of all, OMS already comes with some useful built-in dashboards:
These built-in dashboards covered top level overview of alert data, perf data, event data, configuration changes data ,etc. Which are good starting point for you to drill down by tapping (or clicking) the dashboard tiles. i.e. the drill down from the “Alert raised during the past 1 day grouped by severity” tile:
I also managed to produced the following Saved Searches and then pined them on the dashboard:
OpsMgr Management Server Heartbeat Event For the Last 15 Minutes
Using the OMS Add-On MP from version 2.5 of the OpsMgr Self Maintenance MP, I configured management servers to send heartbeat events to OMS every 5 minutes. The search query for this dashboard tile is:
Type=Event Source=OMSHeartbeat Computer=OMMS01 TimeGenerated>NOW-15MINUTE | measure count() by TimeGenerated
I also configured a threshold that would hightlight when the value is under 3:
As you can see, this dashboard tile has also changed colour in the OMS Android app just like the full blown web console:
Top 3 OpsMgr Offenders for the Last 24 Hours
In OpsMgr, we would often interested in finding out which monitoring objects has generated the most of the alerts. This can be easily achieved using a very simple search query in OMS:
Type=Alert AlertState=New TimeGenerated>NOW-24HOURS | measure count() by SourceFullName | Top 3
From this tile, I can see that most of the alerts generated in my management groups are Office 365 related.
Error Events from the “Operations Manager” Event Log for the Last 24 Hours
If I want to see how many error events have been generated in the “Operations Manager” log on all the computers managed by OMS, I can use a query like this one:
Type=Event EventLevelName=error EventLog=”Operations Manager” TimeGenerated>NOW-24HOURS
From this tile, I can then drill down by tapping the dashboard tile
Note:
from this tile, you may have noticed there are only few bars for the recent time frames. this is because I have specified the query only return the events generated from the last 24 hours and the default time range for the OMS app is the last 7 days:
Hyper-V Hosts Available Memory
Once you have configured the pre-requisites and enabled the Capacity Planning solution in OMS, this solution will start collecting various performance counters from your VMM managed Hyper-V hosts. The performance data collected by this solution is stored as hourly aggregated perf data (Type=PerfHourly). Therefore, we are able to get some common perf counters such as Memory Availability MBytes using a simple query like this:
Type=PerfHourly CounterName=”Available MBytes” |Measure Avg(SampleValue) AS AVGMemory by Computer | sort AVGMemory
And you can drill down from this tile:
From here, I can see in my lab, a Hyper-V host running on an Intel NUC has the least amount of available memory.
In my opinion, using the OMS mobile app has the following advantages comparing to the various mobile apps for OpsMgr:
Support for multiple management groups and stand alone agents
Since you can connect multiple OpsMgr management groups into a single OMS workspace, and you are also able to connect standalone computers directly to OMS, the data returned from your search queries are consolidated among all data sources, not just one single management group.
Cloud Based Solution
Since OpsMgr is primarily designed to monitor your on-prem infrastructure, generally your OpsMgr infrastructure would be place somewhere in you on-prem data centre. Therefore in order to access your OpsMgr data via a mobile app remotely, you’d either need to connect to your corporate network via VPN, or your network team would need to create some kind of reverse proxy tunnel for you to access your OpsMgr web based portal (such as Squared Up) from the internet. This adds additional complexity in your solution. By using the OMS mobile apps, since the data is hosted on Azure, you do not need any kind of connectivity between your mobile device and your on-prem data centres.
My fellow CDM MVP Steve Buchanan has also written an awesome overview for the Android app few days ago, you can read Steve’s post here: http://www.buchatech.com/2015/10/unpacking-the-operations-management-suite-android-app/
Cameron has also just posted his experience with the iOS app on iPad on his blog: http://blogs.catapultsystems.com/cfuller/archive/2015/10/21/the-microsoft-oms-experience-on-an-ipad/
Lastly, I recommend you to give the OMS mobile apps a try, they are currently available on all 3 platforms (Windows Phone, Android and iOS). If you do have your OpsMgr management groups connected to OMS, this app could come very handy .
Leave a comment