Commit graph

341 commits

Author SHA1 Message Date
Romain Dessort acca5f226e Fix #1959. IS_BACKUPUPTODATE now fails if files are older than 2 day 2017-02-03 10:44:36 -05:00
Romain Dessort 3a5fe95bed Add tun to interfaces to exclude 2017-02-03 10:42:30 -05:00
Romain Dessort ee3d82b5c6 Fix comment for IS_NOTUPGRADED check 2016-11-30 11:49:38 -05:00
Romain Dessort ec677f720d Add a check to ensure system is upgraded periodically 2016-11-30 11:39:25 -05:00
Benoît S. 43bc39a72d Implement #1957. IS_APTGETBAK 2016-08-31 15:38:38 +02:00
Romain Dessort dbe53542f0 Fix parenthesis in condition for Squeeze. 2016-06-30 08:12:27 -04:00
Gregory Colpart 0b39053882 Fix check when there is no partitions /usr /tmp in Jessie 2016-06-24 01:37:46 +02:00
Romain Dessort 16a53a5dc6 Add check for /etc/.git/ permissions. 2016-06-16 12:08:22 -04:00
Romain Dessort 251f02ac1a Fix some bugs. 2016-06-03 11:29:45 -04:00
Romain Dessort 3b59217d0d Fix #1861. More explicit check for NRPE pid. 2016-05-13 10:42:53 -04:00
Romain Dessort b7c41b9181 Fix #1864. Add quotes to avoid error in comparaison. 2016-05-13 10:34:28 -04:00
Romain Dessort 62b13e9e77 Exclude macvtap interfaces from check. 2016-05-12 19:59:26 -04:00
Romain Dessort 3c9ba79ad5 Missing quiet option for grep. 2016-05-12 19:59:01 -04:00
Romain Dessort 0325dc93e4 In case of many generated graphs, take the newest. 2016-05-12 14:21:32 -04:00
Romain Dessort b8969e6f12 IPv6 compatible regexp for BINDCHROOT. 2016-05-12 14:20:57 -04:00
Romain Dessort 5ec7be4111 Check mtime of images only with graph_strategy = cron. 2016-05-12 13:37:58 -04:00
Romain Dessort 57a68cdd1d Fix first regexp in 'IS_APACHEIPINALLOW check. 2016-05-12 13:37:25 -04:00
Romain Dessort ef262a8272 Improve/simplify regexp to support IPv6, netmasks and ignore commented lines. 2016-05-12 12:24:55 -04:00
Romain Dessort 4509f6d0e4 IS_BINDCHROOT is relevant only if bind listen to public interface. 2016-05-12 12:23:58 -04:00
Romain Dessort 89c58093f8 Replace uptime -s by /proc/uptime
Since uptime -s does not exist on <Jessie.
2016-05-12 11:43:16 -04:00
Romain Dessort 5c66992f03 Fix bad regexp in IS_INTERFACESGW check. 2016-05-11 14:14:23 -04:00
Benoît S. d4813d7280 Fixed condition in IS_APACHEIPINALLOW. 2016-05-11 11:25:25 +02:00
Benoît S. 97b064e426 Fixed errors in code. 2016-05-11 11:21:23 +02:00
Romain Dessort 199c3952f1 Typo in some added checks 2016-05-10 18:24:46 -04:00
Romain Dessort 40d0536aa0 Fix #1854. Add NRPEPID check for wheezy and newer. 2016-05-10 18:23:48 -04:00
Romain Dessort 452b8eea32 Fix #1675. Add check to ensure files are up-to-date in /home/backup/. 2016-05-10 18:17:02 -04:00
Romain Dessort 83c0371334 Add option to skip KERNELUPTODATE check. 2016-05-10 17:58:04 -04:00
Romain Dessort ec08f0fe19 Fix #1545. Check also generated images in Munin check. 2016-05-10 17:53:31 -04:00
Romain Dessort ec3713fbe3 Fix #1543. Add check if server is running for more than a year. 2016-05-10 17:28:09 -04:00
Romain Dessort e59adc86f9 Fix #1200. Replace who -b by uptime -s which does not depend on a TTY and locales. 2016-05-10 17:26:26 -04:00
Romain Dessort 596fad44d1 Fix #1077. Add check to ensure there is real IP addresses in Allow/Deny directives 2016-05-10 16:50:44 -04:00
Romain Dessort 411774e83b Fix #1076. Add check to ensure Apache configuration for munin is absent. 2016-05-10 16:10:32 -04:00
Romain Dessort 0ec499498b Fix #1851. Error in condition comparing md5sums. 2016-05-10 11:32:36 -04:00
Romain Dessort ff53d8bcdf Fix #1747. Bad regexp for BINDCHROOT check. 2016-05-10 11:25:42 -04:00
Romain Dessort aacaa541be refs #1848. Add LOG2MAILRUNNING check. 2016-05-10 11:10:24 -04:00
Romain Dessort f749a656fb refs #1848. Add MUNINRUNNING check. 2016-05-10 10:41:16 -04:00
Romain Dessort 52a9d14a68 Close #1590. Tolerate 127.0.0.1 or 127.0.0.0/8 in iptables rules for Squid. 2016-05-10 10:30:39 -04:00
Romain Dessort d2ebf78e2c Fix a wrong error message in APTITUDE check. 2016-05-10 10:29:50 -04:00
Romain Dessort ad26ff2d22 refs #1848. Add LOG2MAILRUNNING check. 2016-05-10 10:28:07 -04:00
Romain Dessort e92292de9f Fix #1587. Disable APTICRON check. 2016-05-10 10:23:52 -04:00
Benoît S. a2430945a7 Added tapX interfaces to the exclude list of AUTOIF 2016-04-21 15:11:25 +02:00
Romain Dessort 3b8487db7d Take only the md5sum of md5sum output in comparison. 2016-02-18 10:41:30 -05:00
Romain Dessort 15aaa75664 Fix a bug on IS_BINDCHROOT check.
The correct package name is bind9 instead of bind!
2016-02-02 16:30:04 -05:00
Romain Dessort cc8ef31a6d Improve IS_BINDCHROOT to check if Bind must be rechrooted (if binary differ). 2016-02-02 16:07:00 -05:00
Gregory Colpart 99bbcd5420 Fix IS_LOG2MAILSQUID : we parse now all log2mail config files 2015-11-28 17:12:20 +01:00
Gregory Colpart a1c1ad3a60 Fix #1654 : minifirewall uses now /etc/default/minifirewall then change check for jessie 2015-11-28 17:03:27 +01:00
Gregory Colpart e018379753 Add test to check if aptitude is well removed in Jessie 2015-11-28 16:53:37 +01:00
Gregory Colpart e41af65080 Fix #1587 : enable check for aptitude/apticron only in squeeze/wheezy 2015-11-28 16:46:47 +01:00
Gregory Colpart 29fae2b7ae - Apply policy to avoid test duplication
- Minor cleaning
2015-11-28 16:23:28 +01:00
Gregory Colpart 50e9a816bb add non physical interfaces 2015-02-04 21:01:07 +01:00