* newdevice: add support for Moxa EDS-P510A-8PoE
Support PoE port consumption, SFP module monitoring and power input statuses for Moxa EDS-P510A-8PoE industrial switch.
* Add Moxa EDS-P510A-8PoE MIB
* Rename MOXA-EDSP510A_8POE-V3.7-MIB.my to MOXA-EDSP510A_8POE-V3.7-MIB
* Update moxa-etherdevice.yaml
Moved MIB definitions to the top as proposed by @laf
* Create moxa-etherdevice_edsp510a8poe.snmprec
* Create moxa-etherdevice_edsp510a8poe.json
* Rename MOXA-EDSP510A_8POE-V3.7-MIB to MOXA-EDSP510A8POE-MIB
* Fixing HP Proliant state sensors
* Numeric state data (-e)
Update to new state style
This currently cannot be tested. We don't discover sensors until the second discovery, because we poll 'hardware' instead of discover it.
* Fix whitespace
* Added check_haproxy service configuration.
Default configuration had -H option which isn't supported by the nagios check_haproxy plugin.
* Added check_haproxy service configuration.
Default configuration had -H option which isn't supported by the nagios check_haproxy plugin.
* Added check_haproxy service configuration.
Default configuration had -H option which isn't supported by the nagios check_haproxy plugin.
* Add contact,relay,outlet discovery; update yaml,snmprec,json
* Fix formatting
* Another attempt at fixing sensors
* Update state mappings and fix json sensor ordering
* Capture values numerically.
Remove extra if/else statement
Make test data more interesting.
* Fix whitespace.
* Update sensors test data for order_by
* Use one sql query to fetch device alert rules
Rename $device to $device_id to avoid confusion. I didn't see any variable collisions.
* don't return disabled rules
* remove semi-colin
* device: Improve Allied Telesis Chassis product support
Fix - Wrong Serial number was displayed
Enhancement - Show the type of Controller card in chassis
Controller card can be either CFC400, or CFC960.
Tests:
- Checked Chassis x8106, and x8112
- Checked with CFC400 and CFC960
-- Checked behaviour with/without CFC in bay 1.5
* device: Update awplus to use snmp_get_multi_oid
* update awplus device support
* device: Fix awplus snmptranslate logic error
* device: awplus chassis support improvements
* device: update awplus test data
* device: fix awplus serial number info
* device: fix awplus test data
* Test data: don't save data for modules that were not run
* Sometimes mibs are prefixed with +
* Save output for each module and only output the errored module.
Also makes it easier to identify modules that were ran.
* Clean up json files.
Message when no module data exists.
* verbose output when phpunit --debug is used
order by for ports
avoid graphite output in tests
only load module_tables.yaml once
* use explode and strpos instead of regex since it is failing...
* Fix some warnings
* Fix whitespace
* feature: Added new alert rule builder UI
* Updated to export sql queries
* More updates
* more changes
* removed debug
* fix scrut
* Updated to include import options + various other fixes
* fix rule
* Populate name from collection rules.
* Fix default rule import
Allow new and old style rules in the collection.
Don't add new yet as I'm not sure GenSQL() is working.
* Fix GenSQL call
* Extract filter building to class so it is nicely contained in one place
* moved schema
* some fixes and tweaks
* travis fixes
* Some more features / updates
* Fix up my mistakes when adding default rules
* Use a modal for new alert (Incomplete)
Larger dialog!!
Remove page loading stuff.
Working:
Loading rules, resetting dialog, importing from collection.
Not working yet:
select width
device limited rule access? don't know what this is...
Lots of unused stuff to delete...
* reload "table" after save
* fixed editing rule
* Auto select2 width
* Reload window on save
* Restore per-device alert. Remove debug.
* Small cleanups. Rule Name first.
* Restore button to button type. Rename schema.
* Fixes: wrong command to reload window, remove extra attributes, rule is never passed
* Fixed old rule editing
* some small updates for old imports
* travis update to use trusty
* maybe travis fix
* Ability to set alert rule mappings on the rule edit screen
* pip installs one line, no quiet for deploy
* update schema def
* Fix style and some copyright headers
* fix docs missing file
* Allow new versions of snmpsim and libraries
* Parser WIP
* Fix default rules insert
* reorganize
* Legacy import first draft done
* Implement saving
Skip translation to sql for now
* Working on glues
* small rule collection fix
* Working on glues
* Working on glues
* Docs updates + small UI changes
* Parser WIP
* reorganize
* Legacy import first draft done
* Implement saving
Skip translation to sql for now
* Working on glues
* Working on glues
* Working on glues
* Add table mapping, should move to it's own class
* WIP
* Glue working!!
* Extract Schema class
* Some final touches.
revert alerts_rules.json for now.
* Finish up initial implementation
Needs more tests
* Fix a few places
* small doc updates
* Fix finding tables in grouped rules.
* remove unused code
* code format fixes
* Some quick tests for Schema
Simplified output for findRelationshipPath. Always includes start and target in the result.
This simplifies a lot of code in QueryBuilderParser.php
This also always loads the target table data now (which we want)
* Make bill_id the PRIMARY index for the bills table
* Load macros from a json file in misc instead of the database.
* Fix whitespace and wrong key for collection.
* Handle IN properly when generating SQL
* Fix glue (devices.device_id = ports.port_id) is incorrect :D
Show ALL tables we can resolve relationships for in the query builder filter.
* Remove all macros from the database
Remove insert statements, leave updates to update user's existing rules.
Default behaviour is to set low limit to (current temperature - 10 deg) and high limit to (current temperature + 20 deg) upon discovery. Changing that to abs values +5 and +35 deg respectively to be in realistic boundaries.
* Add alert_id to alerts for templates
Extract alert loading to a function loadAlerts().
Alternative to #8351
* Actually add alert_id to $obj
* travis fixes
* Add Errors, NoiseFloor, RSSI, SNR and Utilization Wireless Sensors for ewc
* Enable processor/mempool support for ewc using existing enterasys implementation
* Add test data
* Show composer status in web validate.
Don't duplicate in validate.php
* Create variable to check if a group has been completed.
No longer skips database checks.
Extract a base class.
Fix locate_binary and find_executable issues (mostly exposed by lack of db)
* Update Validator.php
* Move Billing/Bandwidth Graphs to common format, extract data generation to central function
* Add API functions to access billing graphs and graph data
* Scrutinizer fixes
* Fix transfer graphs with from/to
* Scrutinizer Fix
* Fix docs, transfer page and missing from API param
* Document and fix reducefactor, Add Graph Stats to Graph Data
* Standardise times in graphdata
* Fixed renamed function for History GraphData
Translates between numeric and textual oids.
Rename existing function to snmp_mib_transate(). It is only used for mib polling. Modifying it could break mib polling.
* device: Implement Allied Telesis Environmental Monitoring
Initial patch to monitor:
- fans
- temperature
State:
- fans
- temperature
* device: Implement Allied Telesis Environmental Monitoring
Patches cover:
- Fan Speed and State
- Voltage Speed and State
- Temperature and State
- Power Supply State
* updated awplus test data
* Update awplus sensors and snmprec test data
* Add awplus processor snmprec stats
* First basic support for graphing openbsd pf states
* Now openbsd pf state graphing actually works
* First basic support for graphing openbsd pf states
* Now openbsd pf state graphing actually works
* Wrong graph types for searches, removals and inserts
* Removed unused file "openbsd_pfstates.inc.php"
* Remove openbsd from filenames, make it more generic
* Added snmp mibs from vendor (https://www.hillstonenet.com)
* Added memoery discovery and pool
* Added serial and os version discovery.
* Added cpu discovery.
* Added temperature and power sensors
* Added test data.
* Fix yaml format.
* Pass mib name as parameter.
* Pass mib name as parameter.
* Use numeric OID
* User snmp_get_multi_oid
* Use snmp_get_multi_oid
* Remove default extension from vendor.
* Update test data.
* Renamed some mibs + changed oid in disco proc
* Updated json test data
* Update processor discovery to yaml
* Restore vendor contents even if composer is not available
Leave the code in both places for safety.
* Instruct users to use the wrapper instead of straight up composer...
* device: Add XOS X480 and X650 desc and tests
Signed-off-by: Misha Komarovskiy <zombah@gmail.com>
* device: add XOS x480 and x650 test data
Signed-off-by: Misha Komarovskiy <zombah@gmail.com>
* Add missing hardware string in test data