mirror of
https://github.com/Cacti/cacti.git
synced 2026-10-29 16:17:14 +09:00
* fix: reset loop-scoped $oid and $script_path when building the poller cache Both output loops assigned inside a guard but read after it, so an output with no mapping was cached against the previous output's OID or script. 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> * fix: reset data-source output loop state * test(poller): isolate SQL dialect in cache regression --------- Signed-off-by: Thomas Vincent <thomasvincent@gmail.com> Co-authored-by: TheWitness <thewitness@cacti.net>
26 lines
798 B
XML
26 lines
798 B
XML
<interface>
|
|
<name>Loop State Reset Script Fixture</name>
|
|
<script_path>|path_php_binary| -q |path_cacti|/scripts/issue7135_probe.php</script_path>
|
|
<arg_prepend>|host_hostname|</arg_prepend>
|
|
<arg_index>index</arg_index>
|
|
<arg_query>query</arg_query>
|
|
<arg_get>get</arg_get>
|
|
<arg_num_indexes>num_indexes</arg_num_indexes>
|
|
<output_delimiter>!</output_delimiter>
|
|
<index_order>withQueryName</index_order>
|
|
<index_order_type>numeric</index_order_type>
|
|
<index_title_format>|chosen_order_field|</index_title_format>
|
|
|
|
<fields>
|
|
<withQueryName>
|
|
<name>Has A Query Name</name>
|
|
<direction>output</direction>
|
|
<query_name>mapped</query_name>
|
|
</withQueryName>
|
|
<withoutQueryName>
|
|
<name>Has No Query Name</name>
|
|
<direction>output</direction>
|
|
</withoutQueryName>
|
|
</fields>
|
|
</interface>
|