Commit 5a2e9810 authored by Tristan Cavelier's avatar Tristan Cavelier

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

parent 6d37778a
...@@ -100,12 +100,12 @@ download-only = true ...@@ -100,12 +100,12 @@ download-only = true
filename = logfile.cgi.in filename = logfile.cgi.in
mode = 0644 mode = 0644
[resources-cgi] [resource-consumption-cgi]
recipe = hexagonit.recipe.download recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/webfile-directory/${:filename} url = ${:_profile_base_location_}/webfile-directory/${:filename}
download-only = true download-only = true
#md5sum = #md5sum =
filename = resources.cgi.in filename = resource-consumption.cgi.in
mode = 0644 mode = 0644
[status-cgi] [status-cgi]
......
...@@ -196,11 +196,11 @@ context = ...@@ -196,11 +196,11 @@ context =
[log-folder-cgi] [log-folder-cgi]
log-folder = $${monitor-directory:log} log-folder = $${monitor-directory:log}
[deploy-resource-monitoring-cgi] [deploy-resource-consumption-monitoring-cgi]
recipe = slapos.recipe.template:jinja2 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} rendered = $${monitor-directory:monitoring-cgi}/$${:filename}
filename = resources.cgi filename = resource-consumption.cgi
mode = $${deploy-settings-cgi:mode} mode = $${deploy-settings-cgi:mode}
context = context =
key monitor_bin monitor-parameters:executable key monitor_bin monitor-parameters:executable
......
...@@ -92,7 +92,7 @@ $(document).ready(function () { ...@@ -92,7 +92,7 @@ $(document).ready(function () {
function refresh() { function refresh() {
if (send) { return} if (send) { return}
var dataPost = {'posting-script': "monitoring/resources.cgi", var dataPost = {'posting-script': "monitoring/resource-consumption.cgi",
action: "refresh"}; action: "refresh"};
send = true; send = true;
$("#msg").fadeIn(); $("#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