* Datastores to object oriented code, using the Laravel IoC container
Change instantiation
better DI
move OpenTSDB
Small re-orgs
remove unused stuff
Fix graphs and other scripts
Use DI for all except rrd
fix up connection error handling
Add tests, fix up a "few" things
Add Config::forget()
Style fixes
Don't reference legacy code
remove accidental code paste
Add datastores phpunit groups
some tests
* rebase fixes
* some test fixes
* shorter tests
* shorter tests
* Don't except when rrdtool can't be started.
* restore tests
* fix rrd tests
* fix iterable change upstream
* fix isValidDataset
* fix invalid data bug
* fix mysql incorrect ds
* fix issue with data that is too long
* use regular data_update()
* Use log facade
* OpenTSDB mis-ordered arguments fix
* Making a singleton with different options makes different singletons. Just use the global config settings to disable datastores.
* only filter tags for datastores that won't it don't modify the tags permanently
* Update copyrights to include original authors.
* Stats for all datastores
* Fix mysql sends different rrd / other ds names
* fix snmp last stats not initialized
remove unused function
* remove unused function and move single use function closer to its use
* InfluxDB does not need to update null or U values.
Skip write if all fields are empty
* Fix smart value checks
* fix style issues
* Make sure port data is stored the same way as before for Graphite and OpenTSDB
Add ifIndex tag to all to be compatible
* Missed rrdtool_tune() call
* Test update WIP
* OpenTSDB now includes tags
* fix style
* Rewrite Poller Management to Blade/Eloquent
* remove further no more needed file
* Code Climate
* Code Climate
* hardcode tabs
* change URL style
* change prefix from poller-groups to poller
* .
* parameter fix
* Refactor to use more direct routing.
remove switch statement.
Co-authored-by: Tony Murray <murraytony@gmail.com>
The csrf field is missing and you can not list all custom oids if there are more than 10 because the form fails.
How to reproduce:
Create more than 10 custom oids and then try to go to page 2 or change the total showed on the page to more than 10.
* Datastores to object oriented code, using the Laravel IoC container
Change instantiation
better DI
move OpenTSDB
Small re-orgs
remove unused stuff
Fix graphs and other scripts
Use DI for all except rrd
fix up connection error handling
Add tests, fix up a "few" things
Add Config::forget()
Style fixes
Don't reference legacy code
remove accidental code paste
Add datastores phpunit groups
some tests
* rebase fixes
* some test fixes
* shorter tests
* shorter tests
* Don't except when rrdtool can't be started.
* restore tests
* fix rrd tests
* fix iterable change upstream
* fix isValidDataset
* fix invalid data bug
* fix mysql incorrect ds
* fix issue with data that is too long
* use regular data_update()
* Use log facade
* OpenTSDB mis-ordered arguments fix
* Making a singleton with different options makes different singletons. Just use the global config settings to disable datastores.
* only filter tags for datastores that won't it don't modify the tags permanently
* Update copyrights to include original authors.
* Stats for all datastores
* Fix mysql sends different rrd / other ds names
* fix snmp last stats not initialized
remove unused function
* remove unused function and move single use function closer to its use
* InfluxDB does not need to update null or U values.
Skip write if all fields are empty
* Fix smart value checks
* fix style issues
* Update OPNsense snmprec, with real data
Update OPNsense snmprec, with real data.
Data from OPNsense 20.1.2 (Latest release at time of commit)
* Update OPNsense definition due to incorrect OID
sysObjectID is incorrect for OPNsense should be .1.3.6.1.4.1.8072.3.2.8. for this snmpget detection to work.
This has been tested in my environment with 2 OPNsense Firewalls.
* Running Alerts colorized depending on to their severity
* extra alert styling to generic function
* .
* link from table alerts to alert_layout function
* info icon for information alert severity
* Added bad_iftype to iosxe.yaml definition
* Update Configuration.md
Updated file location from includes/defaults.inc.php to misc/config_definitions.json and added an example of OS specific bad_iftype entries.
* Added OS Specific example for ignoring interfaces and updated file location.
* Updated bad_if selection documentation
* Created add, edit, remove location and edit, remove services to the v0 API and added their corresponding routes
* Changed repeating code by adding a function that checks for missing parameters
* Reduced the lines of add_service_for_host, modified a little more the missing fields function
* Changed True and False to true and false, erased an unused var called $missing
* Solved merged confict
Deleted duplicate functions generated when solving merge conflicts
* fixed more conficts
Deleting duplicate entries produced by trying to solve a merge conflict
* fixing more duplicate functions
This merge conflict created more duplicates
* Update api_functions.inc.php
* Update api_functions.inc.php
* Update opnsense.yaml - too add discovery method
Update opnsense.yaml for new OPNsense OID called version.
This will help with detection after the user turns on "Display Verion in OID" within OPNsense
* Re-order to reduce snmp-scan.py time
First, check sysDescr for OPNsense. Then if sysObjectID is 1.3.6.1.4.1.12325.1.1.2.1.1, run an snmpget
* Create opnsense_1.snmprec
Make up test file since data was not supplied
Co-authored-by: Tony Murray <murraytony@gmail.com>
* more verbose fallback output detail
* update if statemen
* Switched
Sorry, I typed them backwards :D
Co-authored-by: Tony Murray <murraytony@gmail.com>