- Jun 19, 2013
-
-
Chris Nehren authored
$commhist{$command}->$now which is distinctly not what it actually is.
-
- 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.
-
- 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.
-
- Sep 25, 2012
-
-
Scott Severtson 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.
-
- 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.
-
- May 02, 2012
-
-
Mark Harrison authored
They are still available in the resmon1 branch if needed.
-
- Oct 12, 2011
-
-
Mark Harrison authored
The filter patterns for identifying local port/remote port and so on are taken directly from the resmon 1 module. They look like they could use some improvement to prevent some misdetection, but if the resmon 1 module worked for your purposes, the resmon 2 module should also.
-
- Jul 25, 2011
-
-
Mark Harrison authored
If a client connection dies (connection reset by peer) then previously the web server would just exit. This shouldn't happen.
-
- May 24, 2011
-
-
Eric Miller authored
-
- May 09, 2011
-
-
Eric Miller authored
-
Eric Miller authored
-
Eric Miller authored
-
Eric Miller authored
-
- Jul 08, 2010
-
-
Sergey Ivanov authored
git-svn-id: https://labs.omniti.com/resmon/trunk@418 8c0face9-b7db-6ec6-c4b3-d5f7145c7d55
-
Mark Harrison authored
git-svn-id: https://labs.omniti.com/resmon/trunk@417 8c0face9-b7db-6ec6-c4b3-d5f7145c7d55
-
- Jun 04, 2010
-
-
Mark Harrison authored
It is used in the clean up function. Incidentally, this fixes a really annoying issue where the check timeout functionality broken. The cause of the check timeout functionality breaking was a scoping issue - the reader file handle falls out of scope when the alarm fires and dies, and it waits until the process finishes before passing control back to resmon. Storing the file handle prevents it from being cleaned up until after we kill the process in the clean_up function later on. git-svn-id: https://labs.omniti.com/resmon/branches/resmon2@416 8c0face9-b7db-6ec6-c4b3-d5f7145c7d55
-
Mark Harrison authored
The original intent was to fix bad behavior when a command doesn't exist. Upon looking further into the implementation of the run_command function, I realized that using open achieved the same effect (backticks but we get a process id out of it) without a lot of code that didn't quite work when the exec failed. git-svn-id: https://labs.omniti.com/resmon/branches/resmon2@414 8c0face9-b7db-6ec6-c4b3-d5f7145c7d55
-
Mark Harrison authored
git-svn-id: https://labs.omniti.com/resmon/branches/resmon2@411 8c0face9-b7db-6ec6-c4b3-d5f7145c7d55
-
- May 19, 2010
-
-
Mark Harrison authored
This is done using a wildcard_handler method in addition to the normal handler method. The wildcard_handler method is called if * is in the config file as the check name, and the handler module is called for normal checks. By default, both methods will die with "Not implemented", meaning modules can implement one or both of the methods, depending on whether they support normal checks, wildcard checks, or some combination of both. git-svn-id: https://labs.omniti.com/resmon/branches/resmon2@386 8c0face9-b7db-6ec6-c4b3-d5f7145c7d55
-
- May 13, 2010
-
-
Mark Harrison authored
git-svn-id: https://labs.omniti.com/resmon/branches/resmon2@382 8c0face9-b7db-6ec6-c4b3-d5f7145c7d55
-
Mark Harrison authored
git-svn-id: https://labs.omniti.com/resmon/branches/resmon2@381 8c0face9-b7db-6ec6-c4b3-d5f7145c7d55
-
Mark Harrison authored
git-svn-id: https://labs.omniti.com/resmon/branches/resmon2@379 8c0face9-b7db-6ec6-c4b3-d5f7145c7d55
-
- May 12, 2010
-
-
Mark Harrison authored
git-svn-id: https://labs.omniti.com/resmon/branches/resmon2@376 8c0face9-b7db-6ec6-c4b3-d5f7145c7d55
-
Mark Harrison authored
git-svn-id: https://labs.omniti.com/resmon/trunk@375 8c0face9-b7db-6ec6-c4b3-d5f7145c7d55
-
Mark Harrison authored
This means that if a particular check is loaded twice (Same module, same check name), the most recently loaded one will take precedence. This allows included files to override default behavior with certain checks if required. git-svn-id: https://labs.omniti.com/resmon/branches/resmon2@372 8c0face9-b7db-6ec6-c4b3-d5f7145c7d55
-
Mark Harrison authored
git-svn-id: https://labs.omniti.com/resmon/branches/resmon2@371 8c0face9-b7db-6ec6-c4b3-d5f7145c7d55
-
Mark Harrison authored
git-svn-id: https://labs.omniti.com/resmon/branches/resmon2@370 8c0face9-b7db-6ec6-c4b3-d5f7145c7d55
-
Mark Harrison authored
git-svn-id: https://labs.omniti.com/resmon/branches/resmon2@369 8c0face9-b7db-6ec6-c4b3-d5f7145c7d55
-
Mark Harrison authored
git-svn-id: https://labs.omniti.com/resmon/branches/resmon2@368 8c0face9-b7db-6ec6-c4b3-d5f7145c7d55
-
- May 11, 2010
-
-
Mark Harrison authored
This fixes an issue with resmon not correctly cleaning up the shared memory segments when it dies. Currently no locking is done on the file to prevent reading of a partial status dump. This needs fixing. Also, the file is deleted immediately after opening. This deals with the issue of having a stale file around if resmon dies and also limits the ability of somebody to inject invalid data into the file. git-svn-id: https://labs.omniti.com/resmon/branches/resmon2@367 8c0face9-b7db-6ec6-c4b3-d5f7145c7d55
-
Mark Harrison authored
git-svn-id: https://labs.omniti.com/resmon/branches/resmon2@366 8c0face9-b7db-6ec6-c4b3-d5f7145c7d55
-
- May 07, 2010
-
-
Mark Harrison authored
git-svn-id: https://labs.omniti.com/resmon/branches/resmon2@365 8c0face9-b7db-6ec6-c4b3-d5f7145c7d55
-
- May 06, 2010
-
-
Mark Harrison authored
git-svn-id: https://labs.omniti.com/resmon/branches/resmon2@360 8c0face9-b7db-6ec6-c4b3-d5f7145c7d55
-
- May 03, 2010
-
-
Sergey Ivanov authored
git-svn-id: https://labs.omniti.com/resmon/trunk@348 8c0face9-b7db-6ec6-c4b3-d5f7145c7d55
-
Mark Harrison authored
Previously the values were not getting updated on each check, meaning that the free memory shown would be the free memory as of the last resmon restart. This only applies to the kstat method. The others are fine. git-svn-id: https://labs.omniti.com/resmon/trunk@346 8c0face9-b7db-6ec6-c4b3-d5f7145c7d55
-
Mark Harrison authored
git-svn-id: https://labs.omniti.com/resmon/branches/resmon2@345 8c0face9-b7db-6ec6-c4b3-d5f7145c7d55
-
- May 01, 2010
-
-
Jason Dixon authored
git-svn-id: https://labs.omniti.com/resmon/branches/resmon2@342 8c0face9-b7db-6ec6-c4b3-d5f7145c7d55
-
- Apr 29, 2010
-
-
Mark Harrison authored
git-svn-id: https://labs.omniti.com/resmon/branches/resmon2@340 8c0face9-b7db-6ec6-c4b3-d5f7145c7d55
-