Commit Graph

244 Commits

Author SHA1 Message Date
Tony Murray
c35b5b36f3 newdevice: Basic Ciena (Cyan) Z-Series detection (#6385)
issue: #6337
2017-04-08 07:14:41 +01:00
Tony Murray
b1483e3d2e feature: Unit test to validate the db schema (#6367)
* Unit test to validate the db schema
Changes build-schema.php to just write misc/db_schema.yaml

* Only build base if needed
Fix 178.sql

* Database is always created by init.php
add dbSchema test too, should guard against testing against an empty database

* feature: support non-standard unix socket (#5724)

* Add support for custom MySQL unix-socket

* NULL must be lowercase!

* Naive edit of html/install.php

* fixup

* Refactor dbConnect
Use it everywhere

* $config needs to be global
Don't need to set $database_link

* small cleanups

* Connect to the database for every test.

* travis fix for blank line
2017-04-07 15:07:44 +01:00
Tony Murray
b1a414e785 feature: support non-standard unix socket (#5724)
* Add support for custom MySQL unix-socket

* NULL must be lowercase!

* Naive edit of html/install.php

* fixup

* Refactor dbConnect
Use it everywhere

* $config needs to be global
Don't need to set $database_link

* small cleanups
2017-04-06 22:02:37 +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 2b89f9edb5.

* 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
1bbbaff58b refactor: Moved ifLabel -> cleanPort and updated the usage (#6288)
* refactor: Moved ifLabel -> cleanPort and updated the usage

* added list of tags allowed

* few updates as per comments from @murrant

* Added simple unit tests

* double display for javascript popover

* Remove ifNameDescr() function
Fix realtime port page

* remove accidental temp code

* Remove double display calls in ajax tables
2017-04-04 08:08:23 +01: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
Neil Lathwood
d00a2d6215 fix: Updated set_null() function to be more useful #6030 (#6049)
* fix: Updated set_null() function to be more useful #6030

* drop isset

* Added unit test

* change to assertNull
2017-03-07 22:15:22 -06:00
David Bell
3bb5ba3615 fix: SVG scaling issues in Internet Explorer (#6021) 2017-03-07 21:04:35 +00:00
Tony Murray
271413e5f6 Improve 3com detection. (#6114) 2017-03-07 16:32:50 +00:00
David Bell
2a211e86dc newdevice: Added extrahop detection (#6097) 2017-03-06 14:11:10 +00:00
Neil Lathwood
ed02e39347 webui: Update device overview to not show hostname when certain conditions match #5984 (#6091) 2017-03-04 21:25:06 -06:00
Neil Lathwood
a9ad228be4 Update PlanetOS detection (#6090)
* Add new Planet switch

* changed definition + added more tests
2017-03-04 22:40:23 +00:00
David Bell
ab793b7d77 newdevice: Added more detection for Planet switches #6057 2017-03-04 20:42:03 +00:00
VVelox
5805a55483 newdevice: Added support for Cyberpower PDU (#6013) 2017-03-03 18:40:33 +00:00
VVelox
57f27fbad2 newdevice: Added support for Digipower PDU (#6014) 2017-03-03 14:26:21 +00:00
Søren Rosiak
87a50465ad newdevice: Add Basic FortiWLC Support (#6016)
* newdevice: Add Basic FortiWLC Support

* altered the sysObjectId discovery
2017-03-01 23:48:13 +00:00
Tony Murray
a2599115de newdevice: basic Lantronix UDS support (#6042)
* newdevice: basic Lantronix UDS support
Update Lantronix logo to SVG

* Fixed an issue with the logo

* less specific sysObjectId
2017-03-01 23:33:21 +00:00
David Bell
b21758d456 newdevice: Add detection for more Dell switches (#6048) 2017-03-01 10:43:19 -06:00
Neil Lathwood
24a5f6bd37 Db collation standardisation (#5932)
* initial work to standardise collation

* more updates

* final bits for collation update (famous last words)

* Rename 165.sql to 166.sql

* Update schema version inside 166.sql

* moved schema file 166->171
2017-02-27 18:28:01 +00:00
Neil Lathwood
dde32667f0 removed default values for rrd step + heartbeat, rely on db (#5997) 2017-02-24 18:40:16 +00:00
Neil Lathwood
fad5aca1b7 feature: Allow customisation of rrd step/heartbeat when creating new rrd files (#5947)
* feature: Allow customisation of rrd step/heartbeat when creating new rrd files

* revert defaults

* added docs + webui config option

* Move RrdDefinition to an Object to make them easier to create and remove the possibility of typos.

* Fix style/lint issues and missing use statements

* 3 more missing use statements

* updated doc + moved schema file
2017-02-23 22:45:50 +00:00
Florian Beer
2f924cb47b fix: syslog, pull out pam program source (#5942)
* Clean up syslog integration

* Fix syslog test

* Fix some more tests I missed earlier
2017-02-21 08:40:16 -06:00
Neil Lathwood
9f3ac03233 newdevice: Added support for Linksys Smart Switch devices #5754 (#5921)
* newdevice: Added support for Linksys Smart Switch devices #5754

* Update linksys.svg
2017-02-17 22:12:00 -06:00
Neil Lathwood
13e6409571 newdevice: Added further detection for CiscoSB (ex Linksys) devices (#5922) 2017-02-17 17:56:25 -06:00
Neil Lathwood
1140be1a01 newdevice: Updated ibmnos support for Lenovo branded devices #5894 (#5920) 2017-02-17 14:44:04 +00:00
Tony Murray
0b7b24fd9d Add tests for functions (#5915)
cast isHexString to bool
2017-02-16 08:15:20 +00:00
FTBZ
44c3f1f00c newdevice: Basic support for HPE MSA storage (#5907)
* Basic support for HPE MSA

* Basic support for HPE MSA

* Padawan needs to follow master Murrant to become a Jedi.

* Trying to correct snmpsim
2017-02-16 08:14:28 +00:00
Tony Murray
24aaf17f56 powerconnect detection for M8024-k (#5911)
fixes: 5905
2017-02-15 17:43:42 +00:00
Neil Lathwood
e7c46b0fe9 newdevice: Additional TPLink JetStream support (#5908) 2017-02-15 11:35:55 -06:00
mobilemaclin
49b5844346 newdevice: Added support for more Mellanox infiniband switches (#5887)
* Update mellanox.yaml

* Update AUTHORS.md

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

* Create mellanox-i5035.snmprec

* Update OSDiscoveryTest.php
2017-02-15 00:06:00 +00:00
NK74
f03d8b0a30 newdevice: Improve detection for Zyxel Zywall USG60 #5857
* Update zywall.yaml

Improve detection for Zyxel Zywall USG60 and graph hover

* added tests + changed disco
2017-02-13 23:53:00 +00:00
David Bell
f301cf5efd newdevice: Initial discovery for Vubiq Haulpass V60s#5745
* Initial discovery for Vubiq Haulpass V60s

* Add missing files
2017-02-09 12:16:03 +00:00
Neil Lathwood
5e2ef216f9 newdevice: Added further QNAP Turbo NAS detection #5229 (#5804)
* newdevice: Added further QNAP Turbo NAS detection #5229

* reverted to us linux.inc.php for detection

* removed last sysMfgName reference
2017-02-09 09:00:08 +00:00
Neil Lathwood
585a4a6736 newdevice: Added support for Fujitsu NAS devices #5309 (#5816) 2017-02-09 08:14:40 +00:00
Neil Lathwood
45af9566df newdevice: Added support for Cyberoam UTM devices #5542 (#5819) 2017-02-08 08:14:20 +00:00
Neil Lathwood
200b762478 feature: Added phpunit db setup tests (#5594) 2017-02-07 15:08:52 +00:00