Skip to content
Snippets Groups Projects
  1. Jun 13, 2017
    • Sergey Joseph Ivanov's avatar
      Fix file handle comparison · ff80f918
      Sergey Joseph Ivanov authored
      '==' can not compare file handles. We can use fileno() function to
      compare numerically file numbers. Code without this returns
      "connection successful" when it timeouts and $fd is "undefined".
      ff80f918
  2. Apr 02, 2015
  3. Jan 23, 2015
  4. Dec 09, 2014
  5. Dec 31, 2013
  6. Dec 17, 2013
    • Mark Harrison's avatar
      Fix error when reading meminfo · 97ff6b23
      Mark Harrison authored
      On some systems, there are lines in /proc/meminfo that don't match the regex.
      Currently these cause resmon to throw an error and give a blank metric. This
      change skips those metrics rather than throwing an error.
      97ff6b23
  7. Dec 13, 2013
  8. Dec 12, 2013
  9. Jul 09, 2013
  10. Jul 03, 2013
  11. Jun 20, 2013
  12. Jun 19, 2013
  13. Jun 09, 2013
  14. Jun 17, 2013
  15. Jun 07, 2013
  16. Apr 30, 2013
  17. Apr 16, 2013
  18. Mar 01, 2013
    • Mark Harrison's avatar
      Fix per-check interval/cached metrics · 08e7243a
      Mark Harrison authored
      Credit: Michal Racek <michal.racek@t-systems.sk>
      
      In Resmon 1, it was possible to add an interval parameter to an individual
      check to give it a larger check interval than regular checks (cached results
      would be returned in the meantime). This functionality wasn't properly carried
      over into resmon 2, and this commit fixes that.
      08e7243a
  19. Feb 28, 2013
  20. Dec 26, 2012
  21. Dec 13, 2012
  22. Dec 12, 2012
    • Mark Harrison's avatar
      Don't store blank data if we fail to get anything from the shared state file · 4160ac71
      Mark Harrison authored
      Occasionally on some systems, the data returned from the shared state file is
      bad/blank, despite locking. Ideally we'd find the cause of this and fix it,
      but various attempts haven't identified exactly why this happens (including
      running fsync after writing and before unlocking). If the data returned is
      blank, we should use the latest available data rather than returning blank
      data to the user/monitoring system.
      4160ac71
  23. Nov 28, 2012
  24. Oct 18, 2012
  25. Oct 17, 2012
  26. Sep 25, 2012
  27. Sep 18, 2012
  28. Aug 15, 2012
  29. Aug 10, 2012
  30. Jun 26, 2012
  31. Jun 14, 2012
    • Sergey Joseph Ivanov's avatar
      check if $bits is defined · d6ffeb10
      Sergey Joseph Ivanov authored
      To avoid warning messages like:
      "Use of uninitialized value $bits in string eq at /opt/resmon/lib/Resmon/Config.pm line 16..."
      $bits variable should be checked if it is defined before comparison with empty string
      d6ffeb10
  32. May 23, 2012
    • Sergey Joseph Ivanov's avatar
      support for HOSTS {ALLOW|DENY} lists · ba4f134e
      Sergey Joseph Ivanov authored
      Hosts allow-deny lists are the coma or blank separated lists of
      a dotted decimal IPv4 addresses of the form a.b.c.d. to match incoming machine’s IP address exactly,
      or an 'ipaddr/n' where ipaddr is the IP address and n is the number of one bits in the netmask.
      The first to occur match gives the result, skipping other rules.
      If nothing matches IP is allowed.
      ba4f134e
Loading