1.8 Supported Homepage Gadgets

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

1.8.1 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>

1.8.2 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>

1.8.3 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 VPC 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>

1.8.4 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 Server Management page.

1.8.5 Resource Utilization

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

The gadget also provides drill-through capability to drill down to the node and the appropriate status in the Viewpoint Server 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>
<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>
Note 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.

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="../charts/resource_utilization_history_chart_raphael.jsp"/>
  <positioning column="2" priority="2"/>
  <user-pref name="refresh" default_value="30" datatype="hidden" required="true"/>
  <permission>root</permission>
</module>
<module>
  <module-prefs title="Resource Utilization - History" 
  height="350"/>
  <content type="url" href="../charts/resource_
  utilization_history_chart_raphael.jsp"/>
  <positioning column="2" priority="2"/>
  <user-pref name="refresh" default_value="30" 
  datatype="hidden" required="true"/>
  <permission>root</permission>
</module>