* fix like and is null operators
* Add between operator support
* Can't have one if ($expand) clause
* fix up empty, add tests
* Use single quotes for strings
* Fix moxa sensors order
* Fixed travis
* 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
* 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
* Radwin OS added.
* Changing whitespace.
* Added test data for radwin 5550-0h150,5550-0150, 5200-0150
* Added radwin json test data
* Adding json test data for Radwin
* 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.
* Add Errors, NoiseFloor, RSSI, SNR and Utilization Wireless Sensors for ewc
* Enable processor/mempool support for ewc using existing enterasys implementation
* Add test data
* 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
* 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
* 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
* Update awplus to new processor discovery
Have no test data, so this needs testing.
* Updated YamlTest to include data as optional param for processors
* Share code between all mysql based authorizers
I plan to update the mysql password encryption and this will allow the code to be changed in a single location.
It also reduces a lot of duplication.
* Fix tests, I suspect reauthenticate will work for these...
Do not allow password updates for several authorizers
* Extract DiscoveryItem and move some things to better places.
Extract model class
Fix up model construction. I have problem with construction...
Makeshift model working. Switch constructor to factory. discover() and create()
Support legacy discovery.
Remove uneeded custom pollers
Remove netonix custom detection as we try ucd on all os now.
Add a few yaml procs. Fix a couple things.
More processor discovery conversions
Move Calix e7 to standard hrProcessorLoad, but it doesn't fully implement the HR-MIB, move things around to make it work.
Add a few yaml procs. Fix a couple things. Correct some stupid mib stuff.
Move more, drop php 5.3
Add netscaler which uses string indexes. Port fiberhome to yaml and use skip_values
More conversions. BroadcomProcessorUsage Trait
Serveriron and Ironware share some mibs. Create a common abstract os for them.
Add yaml support for mib specification in each data entry
Make legacy discover_processor() set 0 for hrDeviceIndex
Untangle Dell switch OS processors
Use use shared OS for groups if they don't have a specific group.
fix silly mib mistake
Make index optional
Move HR and UCD to Traits and out of Processor.
* forgot to update the fortiswitch index
* Make sgos and avaya-ers match the old index.
* fix comware test data
* fix merge errors
* fix dsm and remove pointless empty modules
* file not found exception is in the wrong place.
* Updated processor development docs
* refactor: Move more state sensors to yaml
* Fix errors..
* Update comware.yaml
* Update ddnos.yaml
* Update dell-ups.yaml
* Update mimosa.yaml
* Update waas.yaml
* added some test data for comware and dell-ups
* added mimosa test data
* re-saved comware test data
* set arp-table sort order.
remove unneeded modules from mimosa
* remove arp-table it doesn't work yet
* remove deleted sensors and mempools (which have no snmp data)
* feature: Add Checkpoint Gaia Sensor
fixes#7956
* added test data for gaia
* re-saved the gaia test data
* saved test data for just os and sensors
* Fix state sensor index order
* Add Synology Hardware/Version/Serial detection
Fixes#7957
* Add DSM test data for hardware/version/serial
* updated to use snmp_get_multi_oid and save more test data
* added json data
* re-saved json data for dsm
* Update dsm.json
* Update dsm_ds916.json
* Update dsm_ds214.json
* devices: Improved Legacy Allied Telesis hardware support #8071
This patch covers:
Improved SNMPrec test coverage for Allied telesis devices
allied.yaml
- Increased device exception OID list.
- This list of devices are running RADLAN OS, and should not be triggered by allied.yaml
- Minor bug fixes
allied.inc.php
- Added updated support for Alliedware devices
- Version
- Features
- Hardware
- Serial
- Added support for Allied Telesis Websmart switches
- Version
- Hardware
- Added support for Alliedware Plus version 2 OS devices
- Hardware
- Version
- Serial
- Simplified polling to use snmp_get_multi_oid
- Minor bug fixes
radlan.yaml
- Updated device support for 8000S and 8000GS.
- Specified device object IDs
- Added an exclusion also for OIDs in allied.yaml
- Changed icon and group to alliedtelesis
radlan.inc.php
- Updated support for devices identifying as radlan OS.
awplus.yaml
- Added comment to remove the sysObjectID_except list.
- Minor bug fixes
* added json test data to be used for unit test
* re-saved allied websmart test data
* Add mass update to save-test-data.
Fail when snmpsim doesn't start and try to give a hint.
* Split save-test-data.php into two scripts
One for updating snmprec files.
One for updating db dump files.
* bgp-peers update
Use IP parsing library more effectively.
Fix update issue
Include comware bgp-peers test data
deeper refactoring
Allow JunOS fallback to BGP4-MIB, some models only use that.
Add junos bgp4 data
Actually update all bpg data in the poller
* fix arista data. refactor some to prevent missing data from mucking things up
* refactor to use $oid_map for BGP4-MIB too
* A few comments to break up teh file a bit
* Junos bgp data an a quick revert for now.
* small cleanup
* fix ios bgp polling, add test data
* check the correct variable
* move routeros fanspeed to yaml
* moved more routeros sensors to yaml
* reverted signal migration to yaml
* added routeros test data
* re-saved test data for routeros
* Add Support for cambium-ptp500
Added mibs for ptp500, ptp300
* ptp500 - Switch modulation to a state
* Update label on 500 to 500/300
300 and 500 use the same mibs
* Request changes
Added overhead graph's to all current ptp devices
* wrap text in quotes
* Fix discovery bug
* Ptp600 support
* PTP800 Support
* Fix ptp600 issues
* Remove meh copy and pasta
* Remove modulation from OS file
* Update value modifiers / typos
* +x rename-mibs.php
* Modify cambium mibs