git://git.onelab.eu
/
monitor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added actionlist_template to display action list consistently on different pages
[monitor.git]
/
policy.py
diff --git
a/policy.py
b/policy.py
index
cb5d93f
..
d3af8e5
100755
(executable)
--- a/
policy.py
+++ b/
policy.py
@@
-110,9
+110,11
@@
def main(hostnames, sitenames):
if fbpcu:
args['pcu_name'] = fbpcu.pcu_name()
args['pcu_errors'] = fbpcu.pcu_errors()
if fbpcu:
args['pcu_name'] = fbpcu.pcu_name()
args['pcu_errors'] = fbpcu.pcu_errors()
+ args['plc_pcuid'] = fbpcu.plc_pcuid
else:
args['pcu_name'] = "error looking up pcu name"
args['pcu_errors'] = ""
else:
args['pcu_name'] = "error looking up pcu name"
args['pcu_errors'] = ""
+ args['plc_pcuid'] = 0
args['hostname'] = host
sitehist.sendMessage('pcuerror_notice', **args)
args['hostname'] = host
sitehist.sendMessage('pcuerror_notice', **args)