- Jun 13, 2017
-
-
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".
-
- Apr 02, 2015
- Jan 23, 2015
-
-
Keith Fiske authored
-
- Dec 09, 2014
-
-
Brian Dunavant authored
-
- Dec 31, 2013
-
-
Eric Wilhelm authored
-
- Dec 17, 2013
-
-
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.
-
- Dec 13, 2013
-
-
Chris Nehren authored
-
- Dec 12, 2013
-
-
Chris Nehren authored
-
- Jul 09, 2013
-
-
David Crosby authored
-
- Jul 03, 2013
-
-
Clinton Wolfe authored
-
Clinton Wolfe authored
-
- Jun 20, 2013
-
-
Chris Nehren authored
-
Chris Nehren authored
-
- Jun 19, 2013
-
-
Chris Nehren authored
value to determine whether to use cache_command or run_command.
-
Chris Nehren authored
$commhist{$command}->$now which is distinctly not what it actually is.
-
- Jun 09, 2013
-
-
Chris Nehren authored
-
- Jun 17, 2013
-
-
Chris Nehren authored
-
Chris Nehren authored
report its output.
-
- Jun 07, 2013
-
-
Kevin Loukinen authored
-
- Apr 30, 2013
-
-
David Crosby authored
-
- Apr 16, 2013
-
-
Mark Harrison authored
-
- Mar 01, 2013
-
-
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.
-
- Feb 28, 2013
-
-
neophenix authored
Allow setting an absent => X config param for file checks. If set will return all the metrics the module normally would, but with their integer values set to whatever you defined for absent. present will still = 0 and text values will be undef
-
- Dec 26, 2012
-
-
Mark Harrison authored
-
- Dec 13, 2012
-
-
Chris Nehren authored
-
- Dec 12, 2012
-
-
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.
-
- Nov 28, 2012
-
-
Mark Harrison authored
-
- Oct 18, 2012
-
-
Mark Harrison authored
This allows you to have multiple checks on the same file, but with a different match string in order to count different types of errors.
-
- Oct 17, 2012
-
-
Mark Harrison authored
-
- Sep 25, 2012
-
-
Scott Severtson authored
-
- Sep 18, 2012
-
-
Clinton Wolfe authored
-
Clinton Wolfe authored
-
Clinton Wolfe authored
-
- Aug 15, 2012
-
-
Eric Sproul authored
Allow escaped commas in config parameters. Update Core::SMART docs and stop prefixing metrics with the disk name, as Resmon already uses check_name in the final metric output.
-
Eric Sproul authored
-
- Aug 10, 2012
-
-
Keith Fiske authored
-
- Jun 26, 2012
-
-
Gavin Sandie authored
Uses ps to count the amount of processes on a system. I've placed this into the Linux area as I've only tested it on a Linux system (Ubuntu 11.04).
-
- Jun 14, 2012
-
-
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
-
- May 23, 2012
-
-
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.
-