Local modifications to ClusterLabs/Anvil by Alteeve
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Digimer
d70b9a4956
Updated scancore and anvil-daemon to check their RAM use at the end of each loop and, if it's using more than 1 GiB of RAM, it sends an alert and exits.
...
* Updated Database->resync_databases() to never run on non-striker machines. On Strikers, before a resync, _age_out_data() is called to clear old data in long-off databases.
* Created System->check_memory() that is loosely based on anvil-check-memory, but checks to see if it's being controlled by a systemctl started daemon and, if so, reads the RAM in use from it's status output.
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
..
Account.pm
* Fixed a bug (maybe) that was causing users to get immediately logged out of the WebUI
3 years ago
Alert.pm
Fixed a bug in Alert->check_condition_age() where, when the 'clear' parameter was set and the value was already 'clear', it would flip to 'set' erroniously.
3 years ago
Cluster.pm
Added a couple notes for later dev.
3 years ago
Convert.pm
Added '#!no_value!#' to be handled properly by Convert->format_mmddyy_to_yymmdd.
3 years ago
DRBD.pm
* Created Get->kernel_release() that returns the current kernel release (version) in use on the host or on a remote system.
3 years ago
Database.pm
Updated scancore and anvil-daemon to check their RAM use at the end of each loop and, if it's using more than 1 GiB of RAM, it sends an alert and exits.
3 years ago
Email.pm
* Fixed a bug in scan-apc-ups where changes in the transfer reason were not being recorded.
4 years ago
Get.pm
* Created Get->kernel_release() that returns the current kernel release (version) in use on the host or on a remote system.
3 years ago
Job.pm
Updates Jobs->update_progress() to take a 'variables' hash reference, and to support logging as well.
3 years ago
Log.pm
* I _might_ have fixed the network configuration issue in anvil-configure-host... Updated it so that if 'nmcli' doesn't report a valid device name, it looks for it in the ifcfg-X file, and uses 'X' if not found there.
4 years ago
Network.pm
Added a periodic check to ensure all users can ping. This fixes a bug where a local striker dashboard whose DB was stopped wouldn't work.
3 years ago
Remote.pm
* Added a check to Database->get_ip_addresses() to check is a hash is set before using it, to help avoid unitialized variable messages.
4 years ago
ScanCore.pm
Updated scancore and anvil-daemon to check their RAM use at the end of each loop and, if it's using more than 1 GiB of RAM, it sends an alert and exits.
3 years ago
Server.pm
* Fixed a bug where ethtool's Media type contained tab characters that broke JSON when configuring the netowrk interfaces.
3 years ago
Storage.pm
* Updated Database->configure_pgsql() to use 'postgresql-setup --initdb --unit postgresql' instead of the deprecaded 'initdb' switch.
3 years ago
Striker.pm
Updated anvil-parse-fence-agents to validate each fence agent's metadata is valid before adding it to the unified XML.
3 years ago
System.pm
Updated scancore and anvil-daemon to check their RAM use at the end of each loop and, if it's using more than 1 GiB of RAM, it sends an alert and exits.
3 years ago
Template.pm
* This adds two new files; cgi-bin/get_anvils and cgi-bin/get_anvil_status, that will form the foundation of the new interactive web UI.
4 years ago
Validate.pm
* Updated Database queries that were passing 'debug => $debug' to not do that, as it was causing far too much (useless) noise in the logs.
4 years ago
Words.pm
* Created a new tool, anvil-watch-bonds, which is a live monitor of bonds and interfaces designed to be run from the command line on a given host.
4 years ago