Customizing Viewpoint > Configuring Homepage gadgets > Supported Homepage gadgets

3.3.2 Supported Homepage gadgets

Viewpoint Homepage supports Viewpoint gadgets and user-created gadgets. These are the current Viewpoint gadgets:

My Workload

The My Workload gadget displays all your jobs and the jobs' Jobid, State, Size, and Wclimit attributes.

<module>
    <module-prefs title="My Workload" height="350" />
    <content type="url" href="jsp/dashboard/tables/workload_table.jsp" />
    <positioning column="1" priority="4" />
    <user-pref name="myWorkload" default_value="false" datatype="hidden" required="true" />
    <permission name="nav.homepage" />
</module>

Jobs Needing Attention

The Jobs Needing Attention gadget displays jobs with special state values of interest. This gadget shows the same job attributes as the My Workload gadget. The possible job state values of interest are: Lost, None, Suspended, System Hold, Unknown, Deferred, and Batch Hold.

<module>
    <module-prefs title="Jobs Needing Attention" height="350" />
    <content type="url" href="jsp/dashboard/tables/jobs_needing_attention.jsp" />
    <positioning column="2" priority="4" />
    <user-pref name="needingAttention" default_value="true" datatype="hidden" required="true" />
    <permission name="nav.homepage" />
</module>

Troubled Resources

The Troubled Resources gadget displays nodes and VMs with a status of "down", and all nodes and VMs with G-Events on them. The gadget also provides drill-through capability to drill down to the node or VM in the Viewpoint Node Management page.

<module>
    <module-prefs title="Troubled Resources" height="400"/>
    <content type="url" href="../tables/troubled_resources_table.jsp"/>
    <positioning column="2" priority="1"/>
    <permission>root</permission>
</module>

System Events

The System Events gadget displays nodes and VMs with G-Events on them. The severity (1-Info, 2-Warning, 3-Alert, 4-Fatal), event, and timestamp of the event are displayed. The gadget also provides drill-through capability to drill down to the node or VM in the Viewpoint Node Management page.

System Events is configured for Moab HPC Suite by default. For it to work for Moab Cloud Suite, however, you must configure Moab to report generic events on nodes, then uncomment the gadget's entry in the core.xml file. See "Enabling Generic Events" in the Moab Administrator Guide for details.

Resource Utilization

The Resource Utilization gadget displays state information for all servers. These are the possible states:

State Description
Down The node is not available for workload.
Idle The node is available for workload but is not running anything.
Busy The node is running workload and cannot accept more.
Running The node is running workload and can accept more.
Drained The node has been sent the drain request and has no workload on it.
Draining The node has been sent the drain request, but still has workload on it.
Flush The node is being reprovisioned.
Reserved The node is being reserved. This is an internal Moab state.
Unknown The state of the node is unknown.
Up The node is up, but the usage is being determined.
All All Servers.

The gadget also provides drill-through capability to drill down to the node and the appropriate status in the Viewpoint Node Management page.

<module>
    <module-prefs title="Resource Utilization" height="350"/>
    <content type="url" href="../charts/resource_utilization_chart.jsp"/>
    <positioning column="1" priority="3"/>
    <user-pref name="refresh" default_value="30" datatype="hidden" required="true"/>
    <permission>root</permission>
</module>

A JavaScript version of the Resource Utilization gadget that does not require Flash can be configured by replacing ../charts/resource_utilization_chart.jsp with ../charts/resource_utilization_history_chart_raphael.jsp in the XML sample above.

Resource Utilization History

A Resource Utilization History gadget displays the same information as the Resource Utilization gadget, but records the percent of resource usage over time in the form of a line chart. Like Resource Utilization, this gadget allows drilling down to the node and the status in the Viewpoint Management page.

<module>
    <module-prefs title="Resource Utilization - History" height="350" />
    <content type="url" href="homePageGadget/resourceUtilizationHistory" />
    <positioning column="2" priority="10" />
    <permission name="nav.admin" />
</module>

Related topics