add support for Sagan (#14070)

* add sagan instance fetch function

* add sagan discovery

* add sagan poller

* add sagan graphs

* add graph sources

* add sagan to apps page

* remove alert

* more app graph work

* polling fix

* re-order keys and add alert key

* correct field key usage

* add alert and fix a missing unit

* more unit fixes

* add alert status

* add alert rules for sagan

* fix a missing : after S while I am here in the json stat tool helper... also add tests

* now add the tests

* add docs

* point php-cs-fixer at two files

* remove-unneeded sagan instance fetch function

* convert to use app_data

* style fix

* apply bennet-esyoil's suggestions here as well

* update for the new app model

* convert poller to the new method

* convert the sagan device app page

* convert sagan

* doc cleanup
This commit is contained in:
Zane C. Bowers-Hadley
2022-08-04 18:12:34 -05:00
committed by GitHub
parent 1d1b2b1c8b
commit b827e2bbbd
25 changed files with 980 additions and 1 deletions

View File

@@ -34,7 +34,7 @@ function string_to_oid($string)
}//end string_to_oid()
// Options!
$short_opts = 'sktmlhj:a:S';
$short_opts = 'S:sktmlhj:a:';
$options = getopt($short_opts);
// print the help