* feature: Allow ignore_mount, ignore_mount_string, ignore_mount_regex at OS level
* Change the storage settings to override global instead of merge.
Add documentation
* refactor: use the Config class includes/discovery
* fix issue with $config variable not accessible in include-dir.inc.php
* improved whitespace
* Tidy up discovery_by_ip
* newdevice: Added support for Saf Integra Access points
* Split SAF Integra models out
* added polling files
* Update saf-integra-b.yaml
* Update saf-integra-w.yaml
* fix: Fixed the high/low thresholds for Arista devices
* final updates
* push threshold changes
* more updates
* another update
* updated entity-sensor for current value calc
* hoping final update
* feature: Improve yaml state discovery
Handle state values that are returned as strings instead of int
Synchronize state values for existing state translations so we can change them without creating a new translation and losing historical data
More extensive/verbose yaml discovery phpunit tests
dbBulkInsert, use the first entry instead of requiring the first entry to be at index 0
* Update sensor state documentation
re-order values for better readability
remove os check
Use snmpwalk_group since it is more flexible
* Add some more debug output in dynamic discovery
miss-named variable in sensor pre-caching
internal humidity and temperature was discovered twice
humidity was mis-spelled in yaml discovery
temperature and current had incorrect divisor in yaml
remove redundant fahrenheit to celsius function
fixes#7236
* This change allows discovery/polling of all sensors (fans and temperatures) from Brocade VDX devices
instead of only the first few. This is tested with VDX 6740, 6740T, 8770-4, 8770-8.
* Update nos.inc.php
* Update nos.inc.php
* Commit merge to branch for Cambium CPU fix (#1)
* Remove division by 10
Removes unnecessary division by 10 from poller file; this is handled by processor_precision in the main include.
* Correct processor_precision
Adjusted processor precision divider from 100 to 10 (as sysCPUUsage.0 reports from 0-1000 as 0-100.0%)
* Delete cambium-cpu.inc.php
With the change to the discovery file (processor_precision set to the correct value of 10) this file is not required.
* newdevice: Added support for Emerson energy systems (#7128)
* newdevice: Added support for Emerson energy systems
* added missing test
* Update ees.yaml
Added Avaya ERS fan and temp state discovery
* removed some left over debug code
Update avaya-ers.inc.php
* Refactor remove use of pear Net_IPv4 and Net_IPv6
Caution, I added tests to test the functionality of the new functions, but I'm not 100% certain the replaced usages match 100%. Please test.
Left usage in generate-iplist.php because I'm not sure the use of that script, so I didn't want to implement additional functionality to support it.
Add support for ipv6 fo ipInNetwork() function
Add phpdocs to functions
Remove accidental inclusion
Use binary operations instead of string for networKFromIp()
Tidy up binary operations in ipInNetwork()
tidy parsing cidr network
Change to a class based implementation.
Update phpdocs.
Fully catch exceptions for hex parsing.
Fix mistake.
support older phpunit versions
Fix php shifting to negative with php 5
* Fix graph authorization. Uncaught exception and checking an ipv4 against an ipv6 network == fail.
* Also remove colons from hex strings.
* Fix typo in bgp polling
Two passes of removing invalid characters from hex strings. (That way we don't mangle valid IPs)
* Added power, voltage and temperature sensors for microsemi powerdsine poe switch
* Use MIB, switch to yaml discovery
* Revert "Use MIB, switch to yaml discovery"
This is to fix an off by one error.
The ERS reports VLAN membership using a bitmask, but the MSB is always 0.
So using the `q_bridge_bits2indices` function results in the reported ports membership being +1 wrong.
The best fix for this would be to create a new function exactly the same as `q_bridge_bits2indices` which subtracts the 1 before returning the array.
I tried this, but it broke my install :)
Not sure how to add to the `functions.inc.php` file without breaking it.
Avaya do not use the Q-Bridge MIB for Vlans.
They also store untagged vlan info in 2 seperate ways:
rcVlanPortDefaultVlanId stores the actual native VLAN or PVID per switch port.
rcVlanPortPerformTagging tells us the ports tagging mode, this can be true (all tagged or trunk), false (no tagging or access), 3 (only tag the PVID) or 4 (untag the PVID and tag everything else).
Due to how these bits of information are presented, for each VLAN ID we then need to loop through all the ports checking if their PVID matches the VLAN ID and if the tagging mode is false or 4. If both are true we add that port to the list of untagged ports for that VLAN.
* Added mempool support for Avaya ERS 3500
* Added mempool support for Avaya ERS 3500
* removed check for firmware version
* removed check for switch model or firmware version
* removed check for switch model or firmware version
* removed check for switch model or firmware version
* adding @laf suggested changes
* made changes as suggested by @laf
* removed blank line
* removed blank line
* added the snmpwalk back
need this, or it's pointless
* added support for Avaya ERS 3500 switches
Tested and working with single 3500 and stack of 5 3500
* added support for ERS3500 switches
tested on ERS 3500, both single and stack of 5