summaryrefslogtreecommitdiff
path: root/monitor/josef_experimental.py
diff options
context:
space:
mode:
Diffstat (limited to 'monitor/josef_experimental.py')
-rwxr-xr-xmonitor/josef_experimental.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/monitor/josef_experimental.py b/monitor/josef_experimental.py
index 433bb77..c9605bd 100755
--- a/monitor/josef_experimental.py
+++ b/monitor/josef_experimental.py
@@ -27,15 +27,16 @@ monitored_domains = [
]
-db = db_open("./tmpdatabase")
+# db = db_open("./tmpdatabase")
# db_add_domain_2(db, "www.cox.a.com", "{dummydata}")
# print db_lookup_domain(db, "www.cox.a.com")
# db_add_domain_2(db, "www.cox.b.com", "{dummydata}")
# print db_lookup_domain(db, "www.cox.b.com")
# print db.Get("www.cox.b.com")
-db_add_domain_2(db, "www.cox.a.com", "{dummydata3}")
-print db_lookup_domain(db, "www.cox.a.com")
+db_add_domain_2("./tmpdatabase/", "www.cox.a.com", "{dummydata3}")
+db_add_domain_2("./tmpdatabase/", "www.ct.nordu.net", "{dummydata1}")
+print db_lookup_domain("./tmpdatabase/", "www.cox.a.com")
# print db.Get("com")
# print db.Get("a.com")
# print db.Get("cox.a.com")