This array has already been init in the mempools polling.
Be deleting this init, we use the $storage_cache array populated by mempools polling, so we bypass a new snmp call.
This not just a optimisation, this also resolve issue with some WINDOWS (it timeout the second time we call hrstorage in a few second) like in #4929
* eaton-ats: add definition, voltage, frequency and state
* eaton-ats: missing snmprec file
* fix some syntax error
* fix some syntax error, again
* exclude eaton-ats from eaton-mgeups definition
* change eaton-ats definition
* move state and output voltage to yaml syntax
* Update eaton-mgeups.yaml
* added basic os for EricssonLG ES switches
* changed names
* tidied up some more
* renamed test files
* fixed typo
* removed _ from names
* fixed os names
* changes requested by @laf
* fixed unit test for ucp
* 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
Netscaler vserver names can be up to 127 chars long. The current db schema supports that but the actual polling was using vsvrName instead of vsvrFullName, therefore producing some ramdom strings for vserver name longer than 30 chars.
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
* 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.
* 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 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