Commit Graph

456 Commits

Author SHA1 Message Date
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
01477a15f4 refactor: move cometsystem-p85xx (#6427)
Read mibs to find the correct sysObjectID
2017-04-15 08:10:59 +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
06add77685 fix: Allow unit tests without a sql server (#6398)
* fix: Allow unit tests without a sql server

* Fix db connection in bootstrap.php
Mark tests as skipped
Make sure the sql queries in bootstrap.php have run
2017-04-13 11:05:14 +01: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
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
Tony Murray
a28ab1293d Improve OS discovery tests data (#5806)
* removed blank line

* Improve OS discovery tests data
Detect OS and snmprec files that don't have tests

* Actually detect DragonFly BSD
2017-02-07 13:31:20 +00:00
rockyluke
6380176fe7 newdevice: Added support for Toshiba TEC printers (#5792) 2017-02-06 23:56:54 +00:00
David Bell
73f56701e3 newdevice: Added more Netgear detection #5789 2017-02-06 22:43:02 +00:00
Tony Murray
aef0928099 refactor: Convert Hikvision discovery to yaml (#5781) 2017-02-06 22:41:42 +00:00
Tony Murray
daebd69140 newdevice: Improve Xerox discovery (#5780) 2017-02-06 08:13:12 +00:00
Tony Murray
27ff1950d5 newdevice: Improve Mikrotik RouterOS and SwOS detection (#5772)
Should fix it for good, hurray for stats.librenms.org!
2017-02-05 10:19:52 +00:00
Tony Murray
f7724d0f20 newdevice: Improve Raritan detection (#5771) 2017-02-05 10:18:15 +00:00
Tony Murray
4e59ace4bb newdevice: Improve Pulse Secure detection (#5770) 2017-02-04 23:49:59 +00:00
Tony Murray
dfb22b5d2a Change Qnap discovery to yaml (#5769) 2017-02-04 23:49:36 +00:00
Tony Murray
2d3b2f2ca7 newdevice: improve Brocade Network OS detection (#5756) 2017-02-04 10:06:54 +00:00
Tony Murray
d1818c1b2e newdevice: improve Dell PowerConnect discovery (#5761) 2017-02-04 10:06:27 +00:00
Tony Murray
a8dc640e96 newdevice: Improved HPE Procurve/OfficeConnect discovery (#5763)
This is needed as some of this detection will break with new HPE firmwares.
2017-02-04 10:02:39 +00:00
Tony Murray
0c8bba64fd newdevice: Improved Zyxel IES detection (#5751) 2017-02-03 20:05:36 +00:00
Matt Peterson
008af4cea0 newdevice: Improve support for TiMOS (Alcatel-Lucent) switches #5533
* Improve TiMOS to include 7210 models

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

* correct case of NOS name, don't bother polling for wifi or toner on an ethernet switch

* Remove sysDescr_regex per comment on #5533

* Present correct interface description, based on following:

$ snmpwalk -v2c -c XXX 172.16.100.173 IF-MIB::ifDescr | head -12
IF-MIB::ifDescr.1 = STRING: system, Loopback IP interface
IF-MIB::ifDescr.2 = STRING: info, IP interface
IF-MIB::ifDescr.3 = STRING: port, IP interface
IF-MIB::ifDescr.4 = STRING: to-Richard-1/1/26, IP interface
IF-MIB::ifDescr.35684352 = STRING: 1/1/1, 10/100/Gig Ethernet SFP, \"to CC 1\"
IF-MIB::ifDescr.35717120 = STRING: 1/1/2, 10/100/Gig Ethernet SFP
IF-MIB::ifDescr.35749888 = STRING: 1/1/3, 10/100/Gig Ethernet SFP
IF-MIB::ifDescr.35782656 = STRING: 1/1/4, 10/100/Gig Ethernet SFP
IF-MIB::ifDescr.35815424 = STRING: 1/1/5, 10/100/Gig Ethernet SFP
IF-MIB::ifDescr.35848192 = STRING: 1/1/6, 10/100/Gig Ethernet SFP, \"to 105.403.P24 | to roof PTP to City\"
IF-MIB::ifDescr.35880960 = STRING: 1/1/7, 10/100/Gig Ethernet SFP, \"CLEINT 135790-XYZ | DIA | to 105.403.P04\"
IF-MIB::ifDescr.35913728 = STRING: 1/1/8, 10/100/Gig Ethernet SFP, \"CLEINT 135790-ABCFOO | DIA | to 105.403.P03\"

$ snmpwalk -v2c -c XXX 172.16.100.173 IF-MIB::ifAlias | head -12
IF-MIB::ifAlias.1 = STRING: Loopback IP interface
IF-MIB::ifAlias.2 = STRING: IP interface
IF-MIB::ifAlias.3 = STRING: IP interface
IF-MIB::ifAlias.4 = STRING: IP interface
IF-MIB::ifAlias.35684352 = STRING: to CC 1
IF-MIB::ifAlias.35717120 = STRING: 10/100/Gig Ethernet SFP
IF-MIB::ifAlias.35749888 = STRING: 10/100/Gig Ethernet SFP
IF-MIB::ifAlias.35782656 = STRING: 10/100/Gig Ethernet SFP
IF-MIB::ifAlias.35815424 = STRING: 10/100/Gig Ethernet SFP
IF-MIB::ifAlias.35848192 = STRING: to 105.403.P24 | to roof PTP to City
IF-MIB::ifAlias.35880960 = STRING: CLEINT 135790-XYZ | DIA | to 105.403.P04
IF-MIB::ifAlias.35913728 = STRING: CLEINT 135790-ABCFOO | DIA | to 105.403.P03

$ snmpwalk -v2c -c XXX 172.16.100.173 IF-MIB::ifName | head -12
IF-MIB::ifName.1 = STRING: system
IF-MIB::ifName.2 = STRING: info
IF-MIB::ifName.3 = STRING: port
IF-MIB::ifName.4 = STRING: to-Richard-1/1/26
IF-MIB::ifName.35684352 = STRING: 1/1/1
IF-MIB::ifName.35717120 = STRING: 1/1/2
IF-MIB::ifName.35749888 = STRING: 1/1/3
IF-MIB::ifName.35782656 = STRING: 1/1/4
IF-MIB::ifName.35815424 = STRING: 1/1/5
IF-MIB::ifName.35848192 = STRING: 1/1/6
IF-MIB::ifName.35880960 = STRING: 1/1/7
IF-MIB::ifName.35913728 = STRING: 1/1/8

* OS unit testing as requested

* fixed test unit
2017-02-03 10:01:29 +00:00
twilley
591a40d87c newdevice: Add initial support for Opengear (#5744)
* Add initial support for Opengear

* moved some mib files around
2017-02-03 09:29:48 +00:00
FTBZ
ab6f78d1fe newdevice: Exterity AvediaPlayer support (#5732)
* Exterity AvediaPlayer support

* small updates + changed to sysObjectId for disco
2017-02-02 23:04:41 +00:00
Søren Rosiak
520b3146df newdevice: Add support for ZyXEL XS (#5737) 2017-02-02 21:44:03 +00:00
Tony Murray
9f8f8b6c26 newdevice: Added support for HPE ILO 4 (#5726)
Actually has some proper snmp support.
*Older HP ILO can not be added under this OS.
2017-02-02 07:58:20 +00:00
twilley
f22f3211d5 newdevice: Add initial support for Meinberg LANTIME OS v6 (#5719)
* Add initial support for Meinberg LANTIME OS v6

* updated mibs and definition
2017-02-01 23:33:17 +00:00
David Bell
f76fc5a897 new device: Added detection for new dasan device, and fixed the poll for serial n… (#5713)
* Added detection for new dasan device, and fixed the poll for serial number

* Actually add new files to commit...
2017-02-01 20:07:03 +00:00
David Bell
cfd9a35f2c newdevice: Added support for Kemp Loadbalancers (#5668) 2017-01-30 14:10:22 +00:00
Neil Lathwood
f2e6cfbe87 newdevice: Added further support for Canon printers #5637 (#5650) 2017-01-28 23:41:00 +00:00
Neil Lathwood
f645ce882b newdevice: Updated generex ups support #5634 (#5640) 2017-01-28 00:15:42 +00:00
Neil Lathwood
4f912e2aca newdevice: Added detection for Exinda #5297 (#5605) 2017-01-27 23:31:31 +00:00
Aldemir Akpinar
46003a39b6 newdevice: Added support for Brocade 200E (#5617) 2017-01-27 18:08:27 +00:00
Søren Rosiak
0dd5f84cca newdevice: Improve CiscoSB detection #5511 2017-01-26 22:21:05 +00:00
Richard Mayhew
98ddc28f39 feature: Basic Draytek Support (#5625) 2017-01-26 19:27:20 +00:00
Neil Lathwood
bed627975d newdevice: Added further detection for DCN devices #5519 (#5609) 2017-01-25 20:44:59 -06:00
Neil Lathwood
56aeea0a7f newdevice: Added support for Zhone MXK devices #5554 (#5611) 2017-01-25 20:43:14 -06:00
Neil Lathwood
a4192bb761 fix: Fixed FreeNAS detection #5518 (#5608) 2017-01-25 20:39:19 -06:00
Neil Lathwood
3cd9b08d41 newdevice: Added more detection for Procurve devices #5422 (#5607) 2017-01-25 20:37:09 -06:00
Neil Lathwood
61ec8e663e newdevice: Updated detection for Dasan NOS devices #5359 (#5606)
* newdevice: Updated detection for Dasan NOS devices #5359

* added missing file
2017-01-25 16:22:06 -06:00
Neil Lathwood
14a2d290ae newdevice: Add support for Array Networks ArrayOS #5257 (#5604)
* newdevice: Add support for Array Networks ArrayOS #5257

* preg_replace -> str_replace
2017-01-25 16:02:54 -06:00
Aldemir Akpinar
4d5d612704 newdevice: Moxa EtherDevice Industrial Switch (#5598) 2017-01-25 21:51:41 +00:00
Neil Lathwood
76c8ec1703 newdevice: Added support MGEUPS EX2200 #3364 (#5602) 2017-01-25 15:45:33 -06:00
Søren Rosiak
5c57d37c10 newdevice: Add more HP Procurve discovery (#5581) 2017-01-24 22:42:03 +00:00
Søren Rosiak
97c5b771e6 newdevice: Improve Cisco ISE detection (#5578)
* newdevice: Improve Cisco ISE detection

* add sysDescr
2017-01-24 14:42:25 -06:00
Søren Rosiak
282eda5f5e newdevice: Add Cisco RB320 support (#5580) 2017-01-24 14:42:09 -06:00
Neil Lathwood
d970764674 newdevice: Updated akcp discovery definition #5396 (#5501)
* newdevice: Updated akcp discovery definition #5396

* added unit tests
2017-01-23 20:37:23 -06:00
Richard Mayhew
8f17025803 newdevice: Add detection for radwin devices 2017-01-22 20:51:24 +00:00
Neil Lathwood
f2996923b3 newdevice: update zywall and zyxelnwa detection #5343 2017-01-22 19:17:21 +00:00
Neil Lathwood
376323f00e newdevice: Added support for Ericsson ES devices #5195 (#5479)
* newdevice: Added support for Ericsson ES devices #5195

* removed logo

* s/2016/2017/
2017-01-20 08:27:22 -06:00
wackychocolatefactory
ae0898e5e9 newdevice: Added Dell B5460dn and B3460dn printer support (#5482) 2017-01-19 23:28:47 +00:00
David Bell
09c396e3fc refactor: Changed Redback to SEOS, and added logo and temperature discovery #5181 2017-01-19 09:59:23 +00:00
Julian K
84dca9435e newdevice: Add support for KTI switches (#5413) 2017-01-17 22:47:04 +00:00
Tony Murray
0a5bedb76f newdevice: Detect all CTC Union devices (#5489) 2017-01-17 16:48:32 +00:00
Neil Lathwood
83ab72b07c fix: Updated prestiage detection #5453 (#5470) 2017-01-16 18:06:12 -06:00
Neil Lathwood
408babb88d newdevice: Added support for CTC Union devices (#5402)
* newdevice: Added support for CTC Union devices

* added logo

* added unit test

* added missing snmprec file

* replaced logo

* reverted logo

* and again :/
2017-01-16 12:10:36 -06:00
Tony Murray
5e1c7f4723 fix: linux detect by oid too (#5439) 2017-01-15 15:20:27 +00:00
Tony Murray
0ab2f18f7d refactor: move some os from linux and freebsd discovery files to yaml (#5429) 2017-01-14 14:54:16 +00:00
Neil Lathwood
89a2847b69 newdevice: Added Tomato and AsusWRT-Merlin OS #5254 (#5398)
* newdevice: Added Tomato and AsusWRT-Merlin OS #5254

* that should not be there
2017-01-13 09:31:11 -06:00
Tony Murray
4677f37ab3 refactor: sophos discovery to yaml (#5416) 2017-01-13 09:54:10 +00:00
Tony Murray
994858701d fix: unifi switch detection (#5407)
add unit test
2017-01-12 09:33:20 -06:00
Tony Murray
8156fd547f refactor: move include based discovery after yaml discovery (#5401) 2017-01-11 22:22:16 +00:00
Søren Rosiak
19a92fdbfc newdevice: Improve Checkpoint Discovery (#5334) 2017-01-08 13:53:10 +00:00
Tony Murray
8936d9503b refactor: move more discovery into yaml files including compound discovery and regex 2017-01-07 14:37:59 +00:00
Neil Lathwood
cc8e31d1a1 newdevice: Added support for Dasan NOS #5179 + disco change (#5255)
* newdevice: Added support for Dasan NOS #5179

* sysName -> sysDescr - doh

* updated functions

* Updated discovery of OS functions

* added missing test units

* mibs added

* Allow multiple regex statements per sysDescr_regex

* Fix style/code issues

* added docs
2017-01-03 14:04:18 -06:00
erotel
00783c0975 newdevice: Edge core OS ECS3510-52T (#5286) 2017-01-02 17:08:06 +00:00
Søren Rosiak
28dff189c7 newdevice: Basic Dell UPS Support #5258 2017-01-01 16:18:44 +00:00
Søren Rosiak
1f7c462941 newdevice: Basic Fujitsu DX Support #5260 2017-01-01 16:18:11 +00:00
Tony Murray
e20a242785 refactor: use Composer to manage php dependencies (#5216) 2017-01-01 09:37:15 +00:00
Neil Lathwood
1935c3a84f newdevice: Lancom wireless devices (#5237) 2016-12-29 11:40:43 +02:00
Neil Lathwood
2fa4a0b792 newdevice: Added additional detection for Cisco WAP 321 #5172 (#5248) 2016-12-29 01:07:30 +02:00
Neil Lathwood
c8a77fb73e newdevice: Added support for TPLink JetStream #5194 (#5249) 2016-12-29 01:04:01 +02:00
Neil Lathwood
6a74d5d7ce newdevice: Added HPE MSL support #5072 (#5239) 2016-12-29 00:53:45 +02:00
Neil Lathwood
67362e0124 newdevice: Added support for DCN switches #5031 (#5238) 2016-12-29 00:34:21 +02:00
Neil Lathwood
cfddc11e76 newdevice: Added support for Cisco APIC devices (#5236) 2016-12-29 00:22:29 +02:00
Neil Lathwood
f5a16be0e3 refactor: Move OS definitions into yaml files (#5189) 2016-12-23 17:53:19 +00:00
Søren Rosiak
e49498b689 newdevice: Zyxel ZyWALL Improvement #5185 2016-12-22 10:55:27 +00:00
barryodonovan
4898617ef5 newdevice: removed all references to 'multimatics' and instead added generex OS 2016-12-21 08:01:01 +00:00
Neil Lathwood
ab29261f0c newdevice: Added additional support for Synology dsm (#5145) 2016-12-18 21:17:26 +00:00
That Guy --^
db2bd62502 devices: Add OS Detection support for Alcatel-Lucent/Nokia ESS 7450 Ethernet service switch #5187 2016-12-17 21:38:08 +00:00
NerdBlender
969b963180 newdevice: Added Bluecoat ProxySG Support (#5165) 2016-12-15 08:23:25 +00:00
Neil Lathwood
aa45630aea newdevice: Added support for Arris CMTS (#5143) 2016-12-14 15:07:57 -06:00
Matt Schwen
de87fc8a74 newdevice: Added os Discovery for Brocade NOS V4.X and below. (#5158) 2016-12-14 20:46:11 +00:00
Neil Lathwood
dda62d8ce1 newdevice: Added support for Mirth OS #2639 2016-12-10 17:07:45 +00:00
Neil Lathwood
56ec5cbbd9 newdevice: Juniper SA support #4328 2016-12-10 17:07:20 +00:00
erotel
5810c3af88 newdevice: Added support for Zyxel MES3528 (#5120) 2016-12-07 15:21:56 +00:00
Neil Lathwood
09767f7e95 newdevice: Add more Edge core switches 2016-12-04 22:42:30 +00:00
twilley
694c3bc566 newdevice: Add support for Ubiquiti EdgePoint Switch models (#5079) 2016-12-01 18:13:48 +00:00
root
337d4df498 Committer: Erotel <slezi2@pvfree.net>
On branch edgecore
 Changes to be committed:
	modified:   tests/OSDiscoveryTest.php
2016-12-01 16:36:25 +01:00
root
9858862a7d Committer: erotel <slezi2@pvfree.net>
On branch edgecore
 Changes to be committed:
	modified:   ../includes/discovery/os/edgecos.inc.php
	modified:   OSDiscoveryTest.php
	new file:   snmpsim/edgecos-ecs4210-28t.snmprec
	new file:   snmpsim/edgecos-ecs4510-28f.snmprec
	new file:   snmpsim/edgecos-ecs4510-52t.snmprec
	new file:   snmpsim/edgecos-es3528mv2.snmprec
2016-12-01 15:37:47 +01:00
That Guy --^
3390be5107 Add device OS detection support for Accedian MetroNODE AEN-1000-* Gig… (#5019) 2016-11-28 22:32:38 +00:00
Neil Lathwood
0908a6048d refactor: Moved mibs T-U (or removed) where possible (#5013) 2016-11-26 21:18:42 +00:00
Tony Murray
db240cb4eb refactor: Collection and output of db and snmp stats (#5049) 2016-11-23 06:57:19 +00:00
Tony Murray
90d85d9968 fix: timos6-7 snmprec file error (#5035) 2016-11-21 14:34:44 -06:00
Tony Murray
9a33464c52 refactor: Centralize includes and initialization (#4991) 2016-11-21 20:12:59 +00:00
That Guy --^
bc15d74cf1 Add OS Detection Support for Alcatel-Lucent/Nokia SAS-R and SAS-Mxp #5016 2016-11-21 07:02:15 +00:00
Neil Lathwood
a8cc46935c newdevice: Updated edge-core to edgecos and added further detection (#5024)
* newdevice: Added basic detection for Edge-core switches

* newdevice: Renamed edge-core -> edgecos add added further device support
2016-11-20 20:05:43 -06:00
Tony Murray
c840f990cb refactor: Watchguard Fireware cleanup (#5015) 2016-11-18 23:46:30 +00:00
Guillem Mateos
528d458cc5 Fix conflicts on AUTHORS.md and update snmp tests 2016-11-16 12:46:04 +01:00
Guillem Mateos
e3dadb6e51 Correct snmprec file name and contents 2016-11-16 12:44:46 +01:00
Guillem Mateos
2ca03fa854 Missing newline on snmprec file 2016-11-16 12:44:45 +01:00
Guillem Mateos
47e3ec3d09 Add OS tests and use sysObjectId for device recognition 2016-11-16 12:44:45 +01:00
Guillem Mateos
42d8d2172b Correct snmprec file name and contents 2016-11-16 12:38:40 +01:00
Guillem Mateos
1f171c566c Missing newline on snmprec file 2016-11-16 12:38:40 +01:00
Guillem Mateos
3b4377b7ae Add OS tests and use sysObjectId for device recognition 2016-11-16 12:38:40 +01:00
Neil Lathwood
807ca16fad added missing poweralert snmpsim file (#5002) 2016-11-15 21:38:04 +00:00
Neil Lathwood
66dd46b04b fix: Fixed poweralert discovery, check is now case insensitive (#5000) 2016-11-15 22:52:35 +02:00
Neil Lathwood
5b3283d572 newdevice: Added support for Dell PowerConnect 6024 2016-11-14 08:28:55 +00:00
Vitali Kari
79d3daabf2 newdevice: Add PBN-CP devices. 2016-11-13 00:13:12 +00:00
Neil Lathwood
d9f4096821 Start of cleaning up mibs (#4806)
refactor: Start of cleaning up mibs
2016-11-09 18:23:27 -06:00
Tony Murray
895bd4b1f7 Merge pull request #4895 from laf/json-alert-rules
feature: Added the option to select alert rules from a collection
2016-11-07 23:22:01 -06:00
Neil Lathwood
ce6720edd9 newdevice: Added support for FortiSwitch #4852 (#4858) 2016-11-07 17:25:25 +00:00
laf
a70d7f7e7d newdevice: Added support for Edgerouter devices #4936 2016-11-04 21:35:08 +00:00
stokbaek
194ba18775 fix: Fujitsu PRIMERGY 10Gbe switches are now detected correctly (#4923) 2016-11-02 20:05:42 +00:00
Tony Murray
667ba601ac Merge pull request #4873 from laf/issue-4868
fix: Toner graphs with invalid chars
2016-11-01 14:19:31 -05:00
Neil Lathwood
1b214e46eb newdevice: Added support for Dell Remote consoles #4881 2016-11-01 16:29:59 +00:00
Tony Murray
93ffe0717d Add full sysDescr 2016-11-01 09:27:26 -05:00
laf
57c6f76930 Added unit tests 2016-10-30 20:10:26 +00:00
laf
8a142aa53f feature: Added the option to select alert rules from a collection 2016-10-29 10:56:59 +00:00
Christoffer Stokbæk
2bb535f688 Added OS discovery unit test 2016-10-26 11:22:01 +02:00
laf
f9b5f80152 Updated function + added unit test 2016-10-25 13:31:12 +00:00
laf
f7c79307db Updated function + added unit test 2016-10-25 13:26:20 +00:00
laf
02ab4df54a Updated function + added unit test 2016-10-25 13:19:48 +00:00
Jon
f3cf20a4fa added support for megatec ups - added ups status and fixed index for voltage and frequency 2016-10-23 04:15:57 +11:00
Jon
8ced379dac added support for megatec ups - fixed sinetica references 2016-10-23 03:08:17 +11:00
Jon
24bab6889e added support for megatec ups - added better snmprec 2016-10-23 02:49:15 +11:00
Jon
9d0e1ae57f added support for megatec ups - 2016-10-23 02:36:53 +11:00
Jon
f34d5b6151 added support for megatec ups - fixed tabs 2016-10-23 02:16:58 +11:00
Jon
f80ae42be7 added support for megatec ups 2016-10-23 01:36:36 +11:00
Neil Lathwood
81c8a7a96f newdevice: Added support for Sinetica UPS ¢4613 2016-10-17 16:55:40 +01:00
Tony Murray
521f3edd54 newdevice: Added additional support for Synology DSM devices #2738 2016-10-15 15:49:07 +01:00
Neil Lathwood
123bb7f826 Removed vlan test (#4802) 2016-10-14 19:52:57 -05:00
crcro
e7bbde6b52 newdevice: samsung printer ml series (#4781)
* initial support

* added os test

* workaround toner level samsung ml

* snmpsim sysobject oid added
2016-10-13 09:35:29 -05:00
Eldon Koyle
7ca80410d5 feature: Add q-bridge-mib tagged VLAN membership #3285 2016-10-11 22:29:06 +01:00
Neil Lathwood
856ad3041b newdevice: Additional support for Hikvision products (#4750)
newdevice: Additional support for Hikvision products
2016-10-09 20:36:43 +03:00
Neil Lathwood
928cdb1638 newdevice: More dnos additions #4745 (#4749)
* newdevice: More dnos additions #4745
2016-10-09 20:29:28 +03:00
Zaxmy
d9c0614b30 newdevice: Add support for Moxa #4733 2016-10-06 18:47:27 +01:00
Søren Rosiak
c8b7d62a60 newdevice: Add support for more Pulse Secure devices #4680 2016-10-06 17:15:20 +01:00
Søren Rosiak
27b1eb7d9e newdevice: Add support for more DNOS devices #4627 2016-10-06 16:52:56 +01:00
Neil Lathwood
09e888190a newdevice: Added support for Sinetica UPS 2016-10-05 18:58:41 +01:00
Rosiak
51a6ed60d7 newdevice: Add support for Mimosa Wireless #4676 2016-10-01 10:24:35 +02:00
Tony Murray
714d294222 fix: FreeBSD variants (#4661)
Restore them to one file, improve unit tests by adding FreeBSD to the string
2016-09-28 20:36:12 -05:00
Tony Murray
edbb6ae0e3 refactor: Centralize MIB include directory specification (#4603)
* refactor: Centralize MIB include directory specification
The default is now:
```
$config['mib_dir'].'/mibdirname:'.$config['mib_dir']
```
This means we exclude OS mibs and only use ours  (we could prepend `+` if we want to include os mibs.
All snmp calls should only include the name of the subdirectory under the mibs directory.

* Remove d_echo from Proc
Fix snmpsim tests.
2016-09-28 14:19:28 +01:00
Tony Murray
b41ce631a8 device: Edge Core ES3528M - base support
device: Edge Core ES3528M - base support
2016-09-27 14:54:39 -05:00
crcro
904e7a86a1 apc smart ups support (#4622) 2016-09-27 20:20:10 +01:00
Søren Rosiak
3a6c6985a3 newdevice: Added support for Cisco IPS (#4561)
* newdevice: Added support for Cisco IPS

* Add snmprec

* fix
2016-09-27 12:35:46 -05:00
Neil Lathwood
ef59d5110f Rebased + added OS Tests 2016-09-27 18:05:42 +01:00
Tony Murray
4f90d389c6 Add test for HP-1800-8g procurve switch. (#4629) 2016-09-27 15:41:28 +01:00
kate66
3784f65abb Added MGE Comet detection (#4606)
newdevice: Added MGE detection
2016-09-27 14:49:58 +01:00
Neil Lathwood
665864e604 Added actual sysDescr string from real device 2016-09-27 07:32:54 -05:00
crcro
8315e84164 ios-xe asr1000 test 2016-09-24 22:22:19 +03:00
crcro
5db36ef36c @murrant indications 2016-09-24 20:32:00 +03:00
crcro
a798e56d6a ios-xe detection 2016-09-24 19:20:30 +03:00
Tony Murray
882e9382f1 newdevice: Eaton PowerXpert
Just initial os detection for now.
Issue  #4562
2016-09-23 16:32:09 -05:00
Tony Murray
1e67337d8e Restore error settings. 2016-09-23 15:44:17 -05:00
Tony Murray
cab2597807 Remove some debug output.
Don't call terminate on null (it will be called automatically anyway)
2016-09-23 15:24:24 -05:00
Tony Murray
c31b3c0301 feature: use snmpsim for testing
fallback feature so we don't have to run snmpsim on devel computers, should be adequate for now
./scripts/pre-commit.php -u -snmpsim will start an snmpsimd.py process automatically
2016-09-23 14:57:31 -05:00
Florian Beer
3272b82958 newdevice: Add OS detection for macOS Sierra (#4557)
* Add OS detection for macOS Sierra

Darwin Kernel Version 16

* Add OS discovery test for macOS Sierra
2016-09-23 12:38:22 -05:00
Neil Lathwood
edbbc7fddd fix: Fixed swos discovery 2016-09-21 22:17:51 +01:00
Neil Lathwood
b27d90162f Split out all tests to OS names 2016-09-20 20:00:35 +01:00
Neil Lathwood
936b8b2e4a Added more testing for Linux based devices 2016-09-20 19:25:37 +01:00
Neil Lathwood
15b48c4af3 rebased 2016-09-20 18:22:58 +01:00
Neil Lathwood
c16b6e6674 Merge pull request #4499 from murrant/fix-swos
fix: swos os discovery fixes #3593
2016-09-20 14:28:09 +01:00
Neil Lathwood
e2d4f43fbd refactor: Added all os tests 2016-09-20 13:22:33 +01:00
Tony Murray
a7e9976f8f fix: swos os discovery 2016-09-19 13:43:17 -05:00
Neil Lathwood
7ad946f85d refactor: F5 device discovery cleanup + test unit
refactor: F5 device discovery cleanup + test unit
2016-09-19 16:10:20 +01:00
Neil Lathwood
6c07e4dc06 fix: vyos discovery fix #4486
fix: vyos discovery fix #4486
2016-09-19 16:09:02 +01:00
Tony Murray
aceb572065 refactor: F5 discovery cleanup 2016-09-19 08:46:19 -05:00
Tony Murray
12a428136d fix: vyos discovery
add discovery tests for vyos, vyatta, and edgeos
2016-09-19 08:33:56 -05:00
Neil Lathwood
fa330cf333 Added Callmanager test 2016-09-18 19:11:10 +01:00
Neil Lathwood
a9a982b7db Updated sharp printer discovery and test unit 2016-09-16 07:59:48 +01:00
Tony Murray
6d93dc0572 newdevice: Add support for APC Netbotz 200 (#4443)
Unfortunately, it is clobbered by other devices because it returns a value for all sorts of snmpget requests
2016-09-15 08:21:29 +01:00
Tony Murray
7f7e3d22bc Fix: NIOS detection #4420 2016-09-13 22:16:02 +01:00
Neil Lathwood
a710c4a33c newdevice: Added support for Axis network video encoder #4395 (#4400)
* newdevice: Added support for Axis network video encoder #4395

* Merge the preg_match

* Add Network Camera test

Couldn't find one for "Video Server"
2016-09-12 12:19:24 -05:00
Neil Lathwood
66bc0a7826 newdevice: Updated zxr10 device support #4380 (#4381)
* newdevice: Updated zxr10 device support #4380

* Space :(
2016-09-09 12:10:58 -05:00
Neil Lathwood
f76f0f7b96 newdevice: Added support for Eaton 5P units #3508 (#4376)
* newdevice: Added support for Eaton 5P units #3508

* Small fix

* Keep OSDiscoveryTest.php alphebetized
2016-09-09 11:57:05 -05:00
Tony Murray
1bff4f4a55 Update OSDiscoveryTest.php (#4390)
remove hostname
2016-09-09 10:22:35 -05:00
Tony Murray
b8cc59922e fix: NIOS discovery (#4389)
* fix: NIOS discovery
Add nios test

* Add actual sysDescr string for nios
2016-09-09 15:57:40 +01:00
Neil Lathwood
5ea4d3154d Small change from previous PR (#4357) 2016-09-06 11:58:22 +01:00
Tony Murray
f6134f429c refactor: OS Discovery cleanup (Part 1) (#4335)
* refactor: OS Discovery cleanup (Part 1)
Convert linux.inc.php to use new string functions
Create OS discovery tests
Use glob instead of readdir in os discovery (could change discovery order)
Stop discovering once $os is set

* Remove duplicate file header.
2016-09-06 11:43:04 +01:00
Tony Murray
9b93fc5fd7 Combined case sensitive and insensitive functions
Added tests
2016-08-31 00:11:04 -05:00
Tony Murray
abc6a5b799 PSR-2 Final cleanup (#4247)
refactor: Final PSR2 cleanup
2016-08-28 23:32:55 +01:00
Tony Murray
7b93b564da Centralize class loader (#4169)
Move the classloader to as early as possible in defaults.inc.php
This should cover all application entrances.
Set install_dir based on the location of defaults.inc.php
2016-08-22 23:59:59 +01:00
Tony Murray
e80a385b7f RRDtool dual process (remote creation/check) (#4104)
* Prepare for dual rrdtool processes
Disabled at this time
Split out rrdtool version checks into rrdtool_create_command()
Tests for rrdtool_create_command()
Fixes a few small issues.

* Enable dual process and remote rrd check/creation

* remove full path for remote commands

* Doc updates
minor fix to rrdtool_tune()

* Set up bootstrap for phpunit
Fix issues with FileExistsException

* Attempt to fix phpunit

* Fix classloader and bootstrap to use full paths only (not depending on $config)

* Fix phpunit tests, config.php does not exist.
2016-08-22 16:32:05 +01:00
Tony Murray
65f929d1f2 Fix log entries with timestamps included and incorrect time (leading * or .)
Issue #3316
2016-04-12 00:05:16 -05:00
Tony Murray
81a626713a Fix indentation. 2016-03-09 14:31:00 -06:00
Tony Murray
d59fc01b61 Another test case for the cisco syslog timestamp prefix. 2016-03-09 10:49:12 -06:00
Tony Murray
33c4cca8a4 Reduce memory cosumption for tests by running one assert at a time rather than building all the data then testing. 2016-03-09 09:07:00 -06:00
Tony Murray
bca965e2ae Some devices have "logging timestamp" enabled, try to remove that from the start of the message.
Fixes #3199
2016-03-09 08:20:51 -06:00
Neil Lathwood
ab67f7870c Merge pull request #3171 from Ultra2D/syslog-trim
Syslog trim whitespace
2016-03-05 11:26:09 +00:00
Ultra2D
f97f9c824b Added syslog Procurve unit testing 2016-03-05 11:59:49 +01:00
Ultra2D
fb34fb7ab5 Syslog trim whitespace 2016-03-05 11:06:29 +01:00
Neil Lathwood
7ea7bd4c92 Merge pull request #3036 from Ultra2D/issue-3035
Linux syslog processing cleanup
2016-03-04 23:34:00 +00:00
Ultra2D
488f7f44c4 array_walk does not work like that, apparently input is trimmed later on 2016-03-04 15:51:49 +01:00
Ultra2D
99cd9f96cf Proper tags and facilities; additional example 2016-03-04 15:18:24 +01:00
Ultra2D
24d7926ea6 Fix build failure 2016-03-04 13:10:07 +01:00