Skip to content

Extend Web

Ng Zhi An edited this page Jul 27, 2014 · 1 revision

Extending the Ganglia Web Frontend

The following are a list of enhancements that could be added to an existing Web Frontend:

  • Add additional time ranges

By default, the Ganglia Web Frontend supports looking at graphs in the last hour, day, week, month and year, to add additional time ranges, you can edit conf.php and place them under the $time_ranges array, for example, to add a time range called "3Hours" that would allow one to look back at stats from three hours ago, add the following line between the hour and day ranges:

'3Hours'=>10800,

It is important that there are no spaces in the identifier "3Hours".

This will then show up in the Web Frontend. However, please remember that the resolution of your RRD files will stay the same, if you would like higher resolution, you would need to modify the RRD files separately.