* First pass at implementing ExtremeWireless support
Includes global AP and user count, and per-AP user count
* Coding style fixes
* Tabs will be the death of me
* Add license count, fix coding nits
* PHP 5.3 support hopefully
* Graph APs configured with a max of licenses installed
always check that the base sql has been imported.
async db building
After this merge, we could move install.php to the end of the install documentation. Makes a more natural flow.
* feature: Added support for sensors to be discovered from yaml
* added discovery definitions
* Updated docs, more code updates + tests
* removed the oid_name use
* pre-set variable from scrut output
* small updates as per comments in pr
* Allow index in descr
* Added ability to skip values
* Check for numeric values
* small update of oid name
* Added Basic OS support for Benu
* Benu OS take 2
* Benu OS take 3
* Benu round 4 - this time for real
* added benu sensors
* reamed to benuos, renamed mibs, sensor rewrite pending
* upated sensors to use snmp_get_multi
* rename yaml
* rename yaml
* updated mempool discover to use multi get, fixed whitepaces, removed old commented out code from polling
* changed detection from sysDescr to sysObjectId
* Update benuos.yaml
* Update benuos.inc.php
* Update benuos.inc.php
* Update benuos.inc.php
* Update benuos.inc.php
* Use foreach $key => value
* use get_port_by_ifIndex
get rid of the rest of the array_keys()
* improve hex_to_ip() function, add tests, use in more places
* Simplify can_skip_discovery logic
* ADVA device support
- sensors for temperature, voltage, current and dbm
- ADVA mibs for FSP150CC and FSP3000R7
* sysObjectId - changed to level above instead of two entries
* OS for FSP150 and FSP3000R7 now in two seperate OS definitions
- split the files
- removed sysObjectId check for each
- removed hardcoded sensor limits
- removed more generic MIBs
* standardized variables / corrected declarations
* added missing MIB, style check code
* - corrected 'current' readings by adding $devisor
- changed rrdfile names to sensorname+$index
- moved LLDP-V2 mibs to main mib directory
* Committer: Chris A. Evans <thecityofguanyu@outlook.com>
Add basic support for MRV OptiDriver Optical Transport Platform
* OS Detection
* Sensors
* Chassis temperature
* State
* Tx/Rx Optical Interface Power
* Power Supply
* Fan
* renamed: includes/definitions/mrv-optidriver.yaml -> includes/definitions/mrv-od.yaml
new file: includes/discovery/sensors/dbm/mrv-od.inc.php
deleted: includes/discovery/sensors/dbm/mrv-optidriver.inc.php
renamed: includes/discovery/sensors/pre-cache/mrv-optidriver.inc.php -> includes/discovery/sensors/pre-cache/mrv-od.inc.php
renamed: includes/discovery/sensors/state/mrv-optidriver.inc.php -> includes/discovery/sensors/state/mrv-od.inc.php
new file: includes/discovery/sensors/temperature/mrv-od.inc.php
deleted: includes/discovery/sensors/temperature/mrv-optidriver.inc.php
renamed: includes/polling/os/mrv-optidriver.inc.php -> includes/polling/os/mrv-od.inc.php
* modified: includes/discovery/sensors/dbm/mrv-od.inc.php
Added missing ')' in the if conditionals.
* Requested changes
modified: includes/definitions/mrv-od.yaml
modified: includes/discovery/sensors/state/mrv-od.inc.php
modified: includes/discovery/sensors/temperature/mrv-od.inc.php
modified: includes/polling/os/mrv-od.inc.php
removed extensions from all new mib files
* Add snmprec file to satisfy test units
new file: tests/snmpsim/mrv-od.snmprec
* newdevice: HPE RT3000 UPS
* newdevice: HPE RT3000 UPS
* changed polling to snmp_get_multi_oid, fixed divisor for load and voltage
* fixed blank line in functions.inc.php
* newdevice: Added support for Terra sti410c
* newdevice: tests for Terra sti410c
* renamed sti410c to terra, added support for sti440 and recognition for sda410C, sta410C, saa410C, sdi410C, sai410C, ttd440, ttx410C, tdx410C, sdi480
* fixed terra.svg and access to sysDescr
* fix: page/graph load speed: part 1
Speed up load_all_os() by caching the full $config['os'] array
Function time goes from 1.13648s -> 0.00073s
The cache is updated during discovery, but only if it is >22hrs old.
Additionally, the cache is not used and a full yaml load is forced if the cache is >24hrs old.
The cache time is controlled by $config['os_def_cache_time'], I don't see any reason anyone would change that time.
* Delete Session.php
* Include the cache directory.
* refactor: OS discovery tests are now dynamic
All that needs to be done now is supply snmprec files with the proper name. os.snmprec or os_description.snmprec
I also tweaked the loading of yaml files to speed up the tests substantially.
Verifies all os have at least one test and all snmprec files are tested.
* fix typo