Cannot select Get-PendingReboot in a dashboard

Hi All,

I have installed the Get-PendingReboot (from the Aquilaweb Pending Reboot MP) which appears to detect that a reboot is required but I am trying to make a Dashboard showing all of the servers that require a reboot so that we can plan downtime in batches. When I create a dashboard based on Monitor with icons and select All Windows Computers I cannot see Get-Pendingreboot (or Reboot Required) when I try and choose a filtered monitor with the Health state set to All.

I found this ( which might explain it as I wonder if you cannot find it because it stays greyed out:
David Allen March 12, 2016 When you override a monitor to enable it, it will still stay grey in the console, as the monitor in the sealed management pack is disabled. You should find though that when opening Health Explorer on an object, that the monitor is running.
So, anyone got any ideas how to select this monitor in a dashboard and or get around this problem?



I havn’t loaded this MP but looking at the XML have you tried targeting the Windows Operating System class instead?

That’s cracked it. Thanks very much for the suggestion :slight_smile:

I have emailed a reply in but it has not appeared …
The result is a list of the Operating Systems of the servers that require a reboot.
I can get the Server name by clicking on Reboot Required then clicking on Hosted Object and it then shows ServerName / OperatingSystem.
However, I’m sure we must be able to display the server name in the initial dashboard by
editing the JSON but don’t know how to do it.

The code so far is:
“_type”: “tile/monitors”,
“config”: {
“context”: {
“scope”: {
“groupId”: “6f7e3306-beeb-2996-3795-7c1eafb925b8”,
“classId”: “a82191f5-fe0d-cf40-8464-39e75f95db57”,
“criteria”: “”
“stepSummary”: “”
“source”: {
“monitorIds”: [
“display”: {
“healthStates”: [
“description”: “”,
“title”: “Reboot Required”

I guess I need to add in something like {displayName} but can’t see how to make it work.
Anyone know how to achieve this?

I don’t have an answer for that unfortunately, I’m just now starting to mess with JSON myself, and havn’t seen any way to get info from the parent/hosting object.

My only suggestion would involve remaking the MP yourself to target either Windows Server or Windows Computer class. I would imagine that would result in displaying the computer name rather than the OS. This would of course mean you would no longer be able to upgrade the MP, should the author choose to modify it again, without remaking it again yourself.

Best of luck to you in finding an answer for a JSON route though.

Thanks for reply. I have not looked inside management packs before and it looks like its going to take a fair bit of time to get into how they function. I’ll get back to it when I can but will keep looking into the JSON option in the mean time. Cheers, Ian.