added actionlist_template to display action list consistently on different pages
[monitor.git] / 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()
+                                               args['plc_pcuid'] = fbpcu.plc_pcuid
                                        else:
                                                args['pcu_name'] = "error looking up pcu name"
                                                args['pcu_errors'] = ""
+                                               args['plc_pcuid'] = 0
 
                                        args['hostname'] = host
                                        sitehist.sendMessage('pcuerror_notice', **args)