* fix: update device status by host id instead of hostname
Hostnames are not unique in Cacti, so keying the status write on hostname
let sibling devices overwrite each other's availability every poll.
Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>
* docs: add phpdoc to the issue 7427 test helpers
Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>
* docs: append the changelog entry at the end of the issue block
Matches .github/copilot-instructions.md, which appends rather than inserting
in numeric order.
Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>
* test: use the full licence header on the new test files
Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>
* test: treat CACTI_PATH_LOG as a directory and pass ctor args to the statement class
Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>
* test: restore host-status config state exactly
---------
Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>
Co-authored-by: TheWitness <thewitness@cacti.net>