- 02 May, 2014 2 commits
-
-
Jonathan Michalon authored
-
Jonathan Michalon authored
Continuous polling means that the process runs forever, checking everything from time to time. To get results, a listing of checks' state is printed when SIGUSR1 is caught. Single run (for config or debug) is accessible with the -1 or --one command line switch.
-
- 01 May, 2014 1 commit
-
-
Jonathan Michalon authored
Don't show empty outputs and decode bytes (so that things like newlines are printed as such and not as litteral "\n").
-
- 30 Apr, 2014 2 commits
-
-
Jonathan Michalon authored
-
Jonathan Michalon authored
-
- 29 Apr, 2014 4 commits
-
-
Jonathan Michalon authored
-
Jonathan Michalon authored
The CheckDNSZone implementation now calls the check available here: https://github.com/bortzmeyer/check_dns_soa
-
Jonathan Michalon authored
-
Jonathan Michalon authored
Handle OSError exceptions (such as non-existing command) for the Popen command spawning. Surround that by a mutex as Popen is not atomic when failing!
-
- 27 Apr, 2014 2 commits
-
-
Jonathan Michalon authored
-
Jonathan Michalon authored
Create a directory "lib/", put the checks there. Move the compat file there too. Also put the config in a separate file so that users may edit without messing up the core. Would also ease intallation so that config may land in etc/ for example.
-
- 25 Apr, 2014 10 commits
-
-
Colomban Wendling authored
-
Colomban Wendling authored
-
Jonathan Michalon authored
-
Colomban Wendling authored
-
Colomban Wendling authored
Apparently, Popen.args is new and undocumented in Python 3.3, so don't rely on its existence and set it ourselves.
-
Colomban Wendling authored
-
Jonathan Michalon authored
Now the granularity is the check level, allowing to write checks without hosts. Checks don't deal with hosts anymore. Also the results of checks are now handled outside of the checking path, but this may change when the infinite loop and time intervals are going to be implemented.
-
Jonathan Michalon authored
-
-
Jonathan Michalon authored
Subprocess Timeout Adds support for timeout in subprocess communication for Python < 3.3, and use it in `Check.exec_with_timeout()`.
-
- 24 Apr, 2014 5 commits
-
-
Colomban Wendling authored
IPy is only used to get the version of an IP (4 or 6), but the IPs come from reasonably trustable sources and if incorrect would at worse make the test fail -- which is valid behavior. So, no need for a real library to distinguish them, do a naive check based on the presence of version-specific delimiters.
-
Colomban Wendling authored
-
Jonathan Michalon authored
Pep8 Fix style to conform to PEP8
-
Colomban Wendling authored
-
Jonathan Michalon authored
-