added actionlist_template to display action list consistently on different pages
[monitor.git] / monitor / scanapi.py
index 22e3e74..454bcd5 100644 (file)
@@ -277,7 +277,7 @@ EOF                 """)
 
                        continue_slice_check = True
                        oval = values['princeton_comon_dir']
-                       if "princeton_comon_dir" in oval:
+                       if "princeton_comon" in oval:
                                values['princeton_comon_dir'] = True
                        else:
                                values['princeton_comon_dir'] = False
@@ -384,6 +384,11 @@ EOF                        """)
                                values['observed_status'] = 'DOWN'
                                values['firewall'] = True
 
+                       #if   values['port_status']['22']  == "open" and \
+                       #        values['port_status']['80']  == "closed" and \
+                       #        values['port_status']['806'] == "open" :
+                       #       email_exception("%s port 80 blocked" % nodename, "possible VSERVER ref blocked")
+
                #if not values['external_dns_status']:
                #       email_exception("%s DNS down" % nodename)