* Move nested defaults to Config::processConfig()
Fixes log_file when users set log_dir for example.
Removed stuff:
mibdir
dp_autocreate
base_url: setting http/https before config.php is loaded...
moved collectd setting to it's own config file
* add base_url mod back.
I thought that since definitions is called before config.php it was useless, but it changes the built in definition between http and https.
* Add icon and initial discovery
* Added more discovery for wti-mpc. Add mib.
* Add snmp data and edit discovery
* Remove discovery due to weird mib[C
* Update wti-mpc.yaml
* OS yaml definition for Phybridge
* Add images and snmp data
* Removed width/height from svg and added more specific discovery for phybridge
* Minimized svg and inverted icon
* added json test file
* update to json file
* Changing os name: phybridge to phybridge-flex
* Update json file to phybridge-flex
* Remove unneeded test data
* fix: Fixed and improved toner discovery
* Update konica data
xerox tries to insert too long of descriptions. Lets remove the part and serial number, they are ugly to look at in the ui.
* Update moxa-etherdevice.inc.php
Would rather rely on `sysObjectID` when getting the hardware/software information as the `sysDescr` may be changed through the web interface of the device. Use numeric OID-s only.
* Update moxa-etherdevice.inc.php
Converted separate `snmp_get` calls into a single `snmp_get_multi_oid` call.
* Update moxa-etherdevice.inc.php
Unset variables at the end.
* Update moxa-etherdevice.inc.php
Unset multiple variables at once.
* Update moxa-etherdevice.inc.php
* Changed to concat 32bit high.low counters
* Changed to concat 32bit high.low counters
* Correction. Needed to bit shift.
Correction. Needed to bit shift << 32 on high and add low.
* Correction. Needed to bit shift.
Correction. Needed to bit shift << 32 on high and add low.
* Added storage removed processor and memory
No point in processor and memory until nimble supports it. Added stroage to overhead.
* Update avaya-vsp.yaml
Extreme purchased the Avaya network assets and so I need to rebrand the VSP to be Extreme. I am changing the icon to be Extreme. I am also adding support for the 8404c which is sysObjectID .1.3.6.1.4.1.2272.220
* Create avaya-vsp_8404c.snmprec
need to add a new vsp 8404c chassis support for avaya/extreme
* Added generated json file
* Udated test files
* 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