anvil/scancore-agents/scan-apc-pdu
digimer 5ec395c53a Reworked DB resync logic.
With this new system, a 'primary_db' is chosen (first connected DB UUID when sorted) and only it does resyncs. Further, resyncs have been pulled from all tools except anvil-daemon. So with this new system, the chances of duplicate, simultaneous resyncs should be removed (hopefully for real this time).

* Database->check_agent_data() no longer calls a resync after loading a
  schema.
* Removed the Database->coonnect() 'all' parameter
* The database used to read from is now always the same as the primary,
  even if there is a local DB.
* Database->connect() 'check_for_resync' parameter can now be set to
  '2', which means "check for resync _if_ I am primary", where '1' still
  checks for resync no matter what.

Signed-off-by: digimer <mkelly@alteeve.ca>
2023-10-19 20:41:57 -04:00
..
scan-apc-pdu Reworked DB resync logic. 2023-10-19 20:41:57 -04:00
scan-apc-pdu.sql * Updated Database->write() to record DB transactions when 'debug' is set appropriately. 2020-10-27 00:04:02 -04:00
scan-apc-pdu.xml * Updated scan-apc-pdu to only run on the active striker DB (as set during Database->connect()) to prevent contention from simultaneous scan agent runs from different machines. 2023-01-17 18:02:38 -05:00
Striker-MIB.txt * Moved Database->check_condition_age to Alert. 2020-10-23 01:28:21 -04:00