Permalink
Commits on Nov 17, 2016
  1. Prep for release 2.1.4

    jfrickson committed Nov 17, 2016
  2. Merge branch 'maint'

    jfrickson committed Nov 17, 2016
Commits on Nov 7, 2016
  1. check_users not correctly detecting thresholds

    Fix for issue #81
    
    check_users now uses the standard warning and critical ranges parser and
    a standard perdata output routine.
    jfrickson committed Nov 7, 2016
Commits on Nov 3, 2016
  1. plugins-root/check_dhcp.c: fix a potential segfault

    - remove call_getopt(), which iteratively calls process_arguments()
      iteratively with successive elements of argv.
    
    Since getopt_long is internally iterating over argv anyway, this extra
    iteration is unnecessary and can potentially cause a segfault in glibc:
    
        if (d->optind != argc && !strcmp (argv[d->optind], "--"))
    
    Since the argv passed to getopt_long becomes smaller while d->optind
    continues increasing, eventually extending beyond the end of argv. Since
    memory after the end of argv _may_ be valid, this is not always
    reproducible (e.g. I cannot reproduce directly from a shell, but it
    fails consistently from Shinken.)
    
    Conflicts:
    	plugins-root/check_dhcp.c
    topnotcher committed with jfrickson Jan 19, 2016
  2. Typo fix

    jfrickson committed Nov 3, 2016
  3. check_file_age does not handle filenames with space

    Fix for issue #178
    
    The fix for issue #155 (allow wildcard matching) was to use `glob`, which
    worked fine for `*` or filenames without spaces. Adding surrounding quotes
    makes it work for all cases.
    jfrickson committed Nov 3, 2016
Commits on Nov 2, 2016
  1. check_http: -u is misleading. Changed help text

    Fix for issue #128
    jfrickson committed Nov 2, 2016
  2. Update NEWS and THANKS files

    jfrickson committed Nov 2, 2016
  3. Use GMT timezone in SSL certs

    SSL certs are required to use times in GMT per
    https://www.ietf.org/rfc/rfc5280.txt but the mktime() here assumes the
    current timezone.
    
    Fix the time_t conversion to be done assuming GMT with timegm() and
    only do it once rather than twice.
    
    Display the expiry date and time with ISO format years and give an
    offset from GMT and a timezone to be very clear about exactly what time
    is being displayed. Time given is correct and now in the machine’s
    timezone.
    Peter (pir) Radcliffe committed with jfrickson Nov 24, 2015
  4. Update NEWS and THANKS files

    jfrickson committed Nov 2, 2016
  5. [check_dns] Rework previous patch to be more secure.

    Bill Blough committed with jfrickson Oct 21, 2015
  6. [check_dns] Update IF_RECORD to not erase query_found.

        Fixes issue #115
    Bill Blough committed with jfrickson Oct 21, 2015
  7. check_http segmentation fault (FreeBSD)

    Fix for issue #104
    jfrickson committed Nov 2, 2016
Commits on Nov 1, 2016
  1. check_http - Fixed non-text chunked-encoded decoding

    Fix for issue #98
    jfrickson committed Nov 1, 2016
Commits on Oct 31, 2016
Commits on Sep 12, 2016
  1. Merge branch 'maint'

    jfrickson committed Sep 12, 2016
  2. Prep for release 2.1.3

    jfrickson committed Sep 12, 2016
Commits on Sep 1, 2016
  1. Use strlen instead of sizeof in check_dns

    The value given to check_dns' "-q"/"--querytype" option is converted to
    uppercase. The optarg variable is of type char*, requiring the use of
    strlen(). sizeof() of a char* returns the platform's pointer size
    (usually 4 or 8 bytes). If the value given to "-q" is shorter, the code
    ends up overwriting unrelated memory:
    
      $ check_dns -H nagios.com -q a --expected-address 1.2.3.4
      check_dns: unrecognized option '--EXPEcted-address'
    hansmi committed with jfrickson Aug 10, 2016
Commits on Aug 29, 2016
  1. when using ssh (or check-by-ssh) with ControlMaster/ControlPersist, n…

    …agios
    
    times out the first time and one gets zombie processes
    
    Fix for issue http://tracker.nagios.org/view.php?id=321
    
    Patch from Gordon Messmer applied.
    jfrickson committed Aug 29, 2016
Commits on Aug 19, 2016
  1. Nagios not showing Certificate expiry warning only SSL Version

    Fix for issue #168
    
    Some debugging code was left in place
    jfrickson committed Aug 19, 2016
Commits on Aug 4, 2016
  1. check_file_age.c: allow wildcard matching

    Probable fix for issue #155
    jfrickson committed Aug 4, 2016
  2. add support for -k to check_disk_smb

    Fix for issue #152
    
    Also, updates to NEWS
    jfrickson committed Aug 4, 2016
Commits on Aug 3, 2016
  1. check_swap does not accept threshold of zero

    also, check_swap uses inconsistent checks on negative thresholds
    
    Fix for issue #100
    and #101
    jfrickson committed Aug 3, 2016
  2. check_nagios - could not locate a running nagios process

    Fix for issue #94
    
    proc_cgroup_hierarchy was defined as a 'char*' but never allocated, so
    'sscanf' quit at that point, never getting the command.
    jfrickson committed Aug 3, 2016
  3. Update wording in comments

    Instead of saying "for Nagios 2.x" I changed it to "for Nagios Core".
    box293 committed with jfrickson May 13, 2016
  4. fix some gcc5 warnings

    mjtrangoni committed with jfrickson Mar 6, 2016
Commits on Aug 2, 2016
  1. check_game reports ping as number of players

    Fix for issue #134
    jfrickson committed Aug 2, 2016
  2. SNI support in check_tcp

    Add SNI support into check_tcp via new option -N.
    ddbilik committed with jfrickson Nov 18, 2015
  3. tools/build_perl_modules hardcodes the perl used

    Fix for issue #92
    jfrickson committed Aug 2, 2016