source: trunk/web/addons/job_monarch/conf.php @ 329

Last change on this file since 329 was 329, checked in by bastiaans, 16 years ago

web/addons/job_monarch/conf.php:

  • added SORTBY_HOSTNAME, SORT_ORDER, SORT_XLABEL, SORT_YLABEL

web/addons/job_monarch/image.php:

  • removed debug statement

web/addons/job_monarch/libtoga.php:

  • added x, y sorting if SORTBY_HOSTNAME is set
  • added array_rem to remove value from array
  • added cmp function for sorting of nodes according to SORTBY_HOSTNAME x, y setting
File size: 1.7 KB
Line 
1<?php
2
3// Sort nodes in clusterimage by
4//
5$SORTBY_HOSTNAME = "gb-r{x}n{y}.irc.sara.nl";
6$SORT_ORDER = "asc";
7
8$SORT_XLABEL = "rack";
9$SORT_YLABEL = "node";
10
11// Show hosts in a jobview by default?
12//
13$default_showhosts = 1;
14
15// Stop displaying archive search results after SEARCH_RESULT_LIMIT
16//
17$SEARCH_RESULT_LIMIT = 20;
18
19// Show the column job attribute 'requested memory'?
20//
21$COLUMN_REQUESTED_MEMORY = 0;
22
23// Show the column job attribute 'queued' (since)?
24//
25$COLUMN_QUEUED = 1;
26
27// Show the column job attribute 'nodes' hostnames?
28//
29$COLUMN_NODES = 1;
30
31// Path to Ganglia's web frontend root
32//
33$GANGLIA_PATH = "/var/www/ganglia";
34
35// Format of how to display a date and time in human readable format
36//
37$DATETIME_FORMAT = "%a %d %b %Y %H:%M:%S";
38
39// Max size of small clusterimage
40// (250 pixels is same width as Ganglia's pie chart)
41//
42$SMALL_CLUSTERIMAGE_MAXWIDTH = 250;
43
44// The size of a single node in the small clusterimage
45//
46$SMALL_CLUSTERIMAGE_NODEWIDTH = 7;
47
48// Max size of small clusterimage
49// (250 pixels is same width as Ganglia's pie chart)
50//
51$BIG_CLUSTERIMAGE_MAXWIDTH = 450;
52
53// The size of a single node in the small clusterimage
54//
55$BIG_CLUSTERIMAGE_NODEWIDTH = 11;
56
57// Max size of small host image
58//
59$SMALL_HOSTIMAGE_MAXWIDTH = 450;
60
61// How to mark nodes with a job in clusterimage
62//
63$JOB_NODE_MARKING = "J";
64
65// XML Datasource for Job Monarch
66// by default localhost's gmetad
67// [syntax: <ip>:<port>]
68//
69$DATA_SOURCE = '127.0.0.1:8651';
70
71// Is there a jobarchive?
72//
73$JOB_ARCHIVE = 1;
74
75// Path to the job archive rrd files
76//
77$JOB_ARCHIVE_DIR = "/data/gfs/jobarch/rrds";
78
79// Location of the job archive database
80// [syntax: <ip>/<dbase>]
81//
82$JOB_ARCHIVE_DBASE = "127.0.0.1/jobarch";
83
84// Path to rrdtool binary
85//
86$RRDTOOL = "/usr/bin/rrdtool";
87?>
Note: See TracBrowser for help on using the repository browser.