197 Commits

Author SHA1 Message Date
Tony Murray
b6e18db766 fix: page/graph load speed: part 1 (#6611)
* 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.
2017-05-10 08:57:10 +01:00
Tony Murray
4dbab407bb refactor: OS discovery tests are now dynamic (#6555)
* 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
2017-05-03 15:52:53 +01:00
Tony Murray
5e790ee617 newdevice: fix Extremeware and XOS detection (#6554) 2017-05-03 15:02:10 +01:00
Olivier Beytrison
2f5a1742c3 newdevice: Added detection for GE UPS (#6549) (#6553)
* Add support for GE UPS (#6549)

* rename OS and remove sysDescr regex
2017-05-02 15:20:28 +01:00
Olivier Beytrison
a6eca494ff newdevice: Added detection for AKCP SecurityProbe (#6550)
* Add support for AKCP SecurityProbe

* Add tests for AKCP SecurityProbe
2017-05-02 14:48:44 +01:00
Neil Lathwood
e2f0965b5c newdevice: Added support for Aruba ClearPass devices (#6528) 2017-05-02 07:46:02 -05:00
network-guy
371c0ff65b newdevice: Added support for Cisco's AsyncOS (#6545)
* Create asyncos.yaml

Added device definition for AsyncOS devices.

* Create asyncos.inc.php

Add poller definition for Async devices.

* Update asyncos.yaml

Added discovery modules.

* Update asyncos.inc.php

Refactored version, hardware, and serial parsers.

* Add AsyncOS MIBs

Add MIBs for AsyncOS WSA and ESA appliances.

* Added OS test

* AsyncOS Refactoring/OS Support

* Change serial number in unit OS test
2017-05-02 07:53:56 +01:00
Neil Lathwood
e7e5d51b30 newdevice: Added support for Exalt ExtendAir (#6524) 2017-04-29 15:58:06 +00:00
Neil Lathwood
cf026659cb newdevice: Added detection for Alvarion Breeze units (#6526) 2017-04-29 15:56:17 +00:00
Neil Lathwood
14fd57bd57 newdevice: Added support for Avaya Scopia devices (#6527) 2017-04-29 15:55:25 +00:00
Neil Lathwood
4c42c91ba8 newdevice: Added support for Tycon Systems TPDIN units (#6506) 2017-04-27 22:16:41 -05:00
Neil Lathwood
e6fa8dbd13 newdevice: Added basic detection for Packetflux SiteMonitor (#6498)
* newdevice: Added basic detection for Packetflux SiteMonitor

* added missing file

* updated to include some health sensors
2017-04-27 22:14:52 -05:00
FTBZ
2aa4145a26 fix: APC/MGE UPS sensors divisor for load and voltage (#6509)
* fix: APCMGE sensors divisors

* Add missing SNMP SIM file

* Add OS test for snmprec file
2017-04-26 08:35:07 -05:00
Tony Murray
43914fbc7f newdevice: Eaton/MGE UPS reorganization (#6388)
* Eaton UPS cleanup

* newdevice: Eaton/MGE UPS cleanup

MGE split Galaxy (and Upsilon) to apc-mgeups
All others to eaton-mgeups
Remove mge ups from eatonups os.
Remove powerware it is a duplicate of eatonups

* Add rfc1528 for both mgeups os

* Update overview graphs
2017-04-24 14:04:05 +01:00
Neil Lathwood
720177965b newdevice: Added support for C&C Commander Plus units (#6478) 2017-04-22 08:13:07 -05:00
Neil Lathwood
d0201a9437 newdevice: Added detection for Ericsson UPC devices (#6472) 2017-04-22 08:12:05 -05:00
Neil Lathwood
21a70dcb8a newdevice: Added basic detection for Geist Watchdog (#6467)
* newdevice: Added basic detection for Geist Watchdog

* Added further support

* Added more health sensors
2017-04-22 08:11:21 -05:00
Neil Lathwood
3ff8b269f5 newdevice: Added support for enLogic PDUs (#6464) 2017-04-22 08:07:37 -05:00
Neil Lathwood
b27e200a6c newdevice: Added support for Eltex OLT devices (#6457) 2017-04-22 08:05:17 -05:00
Lorenzo Zafra
c31bc7d844 newdevice: Etherwan managed switches (#6488)
* newdevice: Etherwan managed switches

* Fixed requested changes
2017-04-22 12:46:12 +01:00
Tony Murray
b18d026f9d fix: ArubaOS PowerConnect detection (#6463)
fixes: #6446
2017-04-19 16:34:28 +01:00
Neil Lathwood
230fb6601b newdevice: Added detection for Ciena packet switches (#6462) 2017-04-19 10:20:45 -05:00
Tony Murray
eebf0d263a refactor: move ios detection to yaml using new sysDescr_except (#6456)
* refactor: move ios detection to yaml using new sysDescr_except

* Add IOS-XE too

* Add Catalyst 4500 test data, it needs IOS-XE for proper detection.
2017-04-19 11:02:29 +01:00
Tony Murray
963f444f17 fix: Allow line returns in snmprec files with the 4x data type (#6443)
* fix: Allow line returns in snmprec files with the 4x data type
Fill in IOS data files
IOS-XE discovery fails, fix that

* Restore IOS-XE, unsure if it can be removed
2017-04-18 22:28:48 +01:00
Tony Murray
8a8edb7d6d refactor: move the rest of avaya os detection to yaml (#6426)
Detection should be improved for these OS.
2017-04-15 08:10:15 +01:00
Tony Murray
54975f64d4 refactor: move aos discovery to yaml (#6425)
Untangle ArubaOS/AOS-W a bit.
Test data well supported by stats.
OmniStack LS, feels odd, but leaving it as AOS.
2017-04-15 08:09:14 +01:00
Neil Lathwood
d64a083141 newdevice: Added basic detection for Tandberg Magnum tape units (#6421)
* newdevice: Added basic detection for Tandberg Magnum tape units

* Tandberg icon to svg
2017-04-14 21:50:43 -05:00
Neil Lathwood
808f27e760 newdevice: Added detection for IgniteNet HeliOS (#6417)
* newdevice: Added detection for IgniteNet HeliOS

* Add empty sysDescr

* Update helios.snmprec
2017-04-14 21:25:42 -05:00
Neil Lathwood
d0c87400f3 newdevice: Added detection and sensor support for EMC OneFS v8 (#6416)
* newdevice: Added detection and sensor support for EMC OneFS v8

* Improve discovery
2017-04-14 21:25:24 -05:00
Tony Murray
e005f78211 newdevice: detect more devices as Comware (#6386)
* newdevice: improve comware detection
Only some H3C Comware devices were detected as comware, detect them all.

* Update the test data

FYI, C1234 was just a nonsense string
2017-04-13 10:52:07 +01:00
Lorenzo Zafra
bd3fd64f3e newdevice: Support - ICT Digital Power Supply (#6369)
* Basic support for ICT PSU, no sensors yet.

* Added current and voltage sensors

* Fixed coding style issues

* Fixed indexes
2017-04-12 15:00:54 -05:00
Lorenzo Zafra
457f2e9744 newdevice: Support - ICT DC Distribution Panel (#6379)
* New Device Support for ICT DC Distribution Panels

* Fixed indexes, removed tests

* Supply name instead of oid to snmp_get call

* Fixed index conflict for current sensors
2017-04-12 14:37:22 -05:00
Neil Lathwood
0f02dec4cc newdevice: Added support for Vanguard ApplicationsWare (#6387) 2017-04-12 14:20:24 -05:00
Tony Murray
c35b5b36f3 newdevice: Basic Ciena (Cyan) Z-Series detection (#6385)
issue: #6337
2017-04-08 07:14:41 +01:00
Lorenzo Zafra
5b32f71434 newdevice: Added support for Teradici PCoIP card (#6347)
* Added device discoery for Teradici PCoIP card

* Removed redundant arguments from snmp_get and comments in os definition

* Added 'workstations' as a device type
2017-04-06 20:38:12 +01:00
Neil Lathwood
61bb58b106 newdevice: Added detection fro Juniper MSS (#6335)
* newdevice: Added detection fro Juniper MSS

* update sysObjectId check
2017-04-06 18:19:25 +01:00
Lorenzo Zafra
699e99e795 newdevice: Updated OS Polling for Opengear ACM7008 (#6349)
* Add OS Polling for Opengear ACM7008

* Fixed OSDiscoveryTest.php whitespaces

* Removed 'v' from OS version polling
2017-04-05 22:48:05 +01:00
Lorenzo Zafra
f85f8c1e13 newdevice: Add support for Nokia (Alcatel-Lucent) SAS-Sx 7210. Add TiMos version and hardware. (#6344)
* I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md.

* Add support for Nokia SAS-Sx 7210

* Revert "I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md."

This reverts commit 2b89f9edb53dc493201102e9dd00db3a911ffc01.

* Edited hardware regex to cover more sample data
2017-04-04 14:35:39 -05:00
Lorenzo Zafra
9b62ea2cbf newdevice: Added basic support for Omnitron iConverters (#6336)
* Added basic support for Omnitron iConverters

* Fixed discovery issue & cropped logo
2017-04-04 13:02:50 -05:00
Neil Lathwood
b1c2ea2194 newdevice: Added HPE iPDU detection (#6334) 2017-04-03 20:02:43 -05:00
FTBZ
8f0f1ba8b9 newdevice: Add support for AvediaStream Encoder (#6306)
* newdevice: Add support for AvediaStream Encoder

* Add missing tests

* Tests ok, submit away :)
2017-03-31 12:21:41 +01:00
Neil Lathwood
3da412df2f refactor: Move some DNOS detection to PowerConnect #6150 (#6206) 2017-03-24 20:54:39 +00:00
InfraTeam
bc14b9137e newdevice: Added detection for Hirschmann Railswitch #6161 (#6207)
* Added detection for Hirschmann Railswitch

* Update AUTHORS.md

I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md.

* Fixes for PR 6207 requested changes

* Fixes for PR 6207 requested changes

* Fixes for PR 6207 requested changes

* Fix for PR 6207 requested changes

* Fix for PR 6207 requested changes

* Fix for PR 6207 requested changes (old states and temperatures directories removal)

* fix for PR 6207 : state fileupdated
2017-03-23 14:36:25 -05:00
Klaas Tammling
7146d1780e newdevice: Support for Netscaler SDX appliances (#6249)
* Netscaler SDX support and unit test

* Citrix Netscaler MIBs

* sysDesc String. Replaces real hostname by examplehost

* added mib_dir
2017-03-23 12:10:30 +00:00
Klaas Tammling
374f6b3ade newdevice: Added discovery of Cyclades ACS (#6234)
* Discovery of Avocent Cyclades ACS 6000

* I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md.

* Unit Testing and more precise OS definition

* Unit Testing snmprec file

* Update OSDiscoveryTest.php

* move to sysObjectId lookup
2017-03-22 22:56:53 +00:00
Neil Lathwood
c617dd6962 newdevice: Updated Sonus SBC os detection #6241 2017-03-22 22:43:47 +00:00
Tony Murray
a3c26d07f7 newdevice: Basic Zebra Print Server detection (#6162) 2017-03-11 14:05:13 +00:00
Xavier Beaudouin
fa29839d36 newdevice: Added Coriant support (#6026)
* Added Coriant TNMS MIB and MEF (Metro Ethernet Forum) MIB

* Coriant Logo

* Added Basic Librenms Support and MEF support

* Forgot snmpsim

* Better like this

* Spaces !

* Renamed sql file

* Space

* Fix spaces

* svgo optimized logo

* Removed modules that are by default to 0

* Added sysDescr as requested

* Fix conflict file

* Setting right severity id in the discovery log_event()

* Since MEF-EVC can be used on other devices than Coriant's one, lets this be used by the poller/discovery itself

* Fixed spaces

* Rename 173.sql to 174.sql

* Moved logo from os/  to logos/
Addd Icon

* Fix name

* minimize file

* Change l/w to viewbox and minify

* Renamed mef-evc to mef on request from @laf

* Rename 174.sql to 175.sql
2017-03-11 07:30:31 -06:00
Neil Lathwood
1395071aa4 refactor: Organised Extremeware and XOS tests #5850 (#6096)
* refactor: Organised Extremeware and XOS tests #5850

* updated as per comments from murrant
2017-03-10 22:27:23 -06:00
Søren Rosiak
faf5517362 newdevice: Improved APC NetBotz Support (#6157)
* initial

* woops

* remove quote
2017-03-09 15:40:39 -06:00