Commit 6a564dde authored by Tristan Cavelier's avatar Tristan Cavelier

monitor: rename resources.cgi to resource-consumption.cgi

parent df84e918
......@@ -100,12 +100,12 @@ md5sum = d2b85ac31cbbf49c78dc51e90ddf305f
filename = logfile.cgi.in
mode = 0644
[resources-cgi]
[resource-consumption-cgi]
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/webfile-directory/${:filename}
download-only = true
#md5sum =
filename = resources.cgi.in
filename = resource-consumption.cgi.in
mode = 0644
[status-cgi]
......
......@@ -196,11 +196,11 @@ context =
[log-folder-cgi]
log-folder = $${monitor-directory:log}
[deploy-resource-monitoring-cgi]
[deploy-resource-consumption-monitoring-cgi]
recipe = slapos.recipe.template:jinja2
template = ${resources-cgi:location}/${resources-cgi:filename}
template = ${resource-consumption-cgi:location}/${resource-consumption-cgi:filename}
rendered = $${monitor-directory:monitoring-cgi}/$${:filename}
filename = resources.cgi
filename = resource-consumption.cgi
mode = $${deploy-settings-cgi:mode}
context =
key monitor_bin monitor-parameters:executable
......
......@@ -92,7 +92,7 @@ $(document).ready(function () {
function refresh() {
if (send) { return}
var dataPost = {'posting-script': "monitoring/resources.cgi",
var dataPost = {'posting-script': "monitoring/resource-consumption.cgi",
action: "refresh"};
send = true;
$("#msg").fadeIn();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment