Updated sample config, removed debugging message.
authorLadislav Láska <ladislav.laska@gmail.com>
Mon, 11 Oct 2010 14:10:35 +0000 (16:10 +0200)
committerLadislav Láska <ladislav.laska@gmail.com>
Mon, 11 Oct 2010 14:10:35 +0000 (16:10 +0200)
README
main.c

diff --git a/README b/README
index e4c5f98cc6575633ada51072b1d19cfd987b3c6d..2f0f5734063d7955558e2469a11d24e11d476c8f 100644 (file)
--- a/README
+++ b/README
@@ -15,6 +15,6 @@ define service {
         service_description HTTPS certificate validity checker
         check_command check_cert!443!30!7
         use generic-service
-        normal_check_interval 86400
+        normal_check_interval 1440
 }
 
diff --git a/main.c b/main.c
index 68f50e57704947d593dc3c8fc4574475d09a9a2b..11b689643b35a144988345e9d00bbbc1377674e6 100644 (file)
--- a/main.c
+++ b/main.c
@@ -150,8 +150,6 @@ int check( char * hostname, char *service ) {
                }
        }
 
-       printf("Got %i certs.", cert_list_size);
-
        /* Clean up */
        err = gnutls_bye( session, GNUTLS_SHUT_WR );
        if (err < 0) gnutls_die(err);