* newfeature: ability to edit default alert template
* Fix style errors
* Added missing db query
* Removed unnecessary code, and added faq section
* Minor documentation about default alert template. And put back wrongly removed lines
* Fixing the silly old mistakes... again
* fix: issue #4934
Required for service checks, which include multiple quotes or regex.
Proposed patch tested, works.
* fix: issue #4934
Required for service checks, which include multiple quotes or regex.
Proposed patch tested, works.
* 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