User Tools

Site Tools


Sidebar

Public
Internal
public:it:monitoring:ganglia

This is an old revision of the document!


Ganglia

CLUSTER SUMMARY VIEW FIX

Summary view does not appear without applying this fix. Your main page will be blank.

In 18.04 and 20.04. Replace "" with array() and summary view will appear.

/usr/share/ganglia-webfrontend# diff cluster_view.php cluster_view.php.orig
26c26
<   $context_metrics = array();
---
>   $context_metrics = "";

GPU Monitoring

The above is old. Doesn't work anymore. The patch doesn't apply cleanly either.

My attempt at fixing the nvidia ganglia plugin

Basically a bunch of 2to3 and small edits to make it run properly. If it's enough to actually work is unknown.

The page to apply to host_view.php and host_view.php on the webfrontend doesn't apply cleanly anymore so I think the above work was unnecessary.

This code does output an xml file with a bunch of relevant data.

#!/usr/bin/python3
import nvidia_smi
print(nvidia_smi.XmlDeviceQuery())
public/it/monitoring/ganglia.1613076197.txt.gz ยท Last modified: 2021/02/11 14:43 by phil