4740 Commits

Author SHA1 Message Date
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
Tony Murray
9c44b1a809 newdevice: improve IOS-XE detection (#6429)
PPC_LINUX_IOSD or X86_64_LINUX_IOSD means IOS-XE, Drop the X86_64_ as that gives us full coverage.
Drop IOS-XE usage for detection.  Allows us to migrate ios detection to yaml.
2017-04-15 07:46:09 +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
Neil Lathwood
7f83148e80 refactor: Remove unecessary OS checks in proc / mem polling (#6414) 2017-04-14 20:01:45 -05:00
Neil Lathwood
78c77ac637 fix: Updated enterasys proc discovery by setting correct index (#6422) 2017-04-14 19:56:35 -05:00
remydb
3884a3c2f7 newdevice: Added support for multi-lane optics on Juniper equipment (#6377)
* I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md.

* Poll device for optic lane info

* Add discovery for multiple lanes per optic

* Update formatting

* Update AUTHORS.md
2017-04-13 10:56:16 +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
Tony Murray
72ce39cf9b refactor: schema updates (#6370)
Test the schema files with STRICT_TRANS_TABLES and fix any issues
2017-04-13 10:18:12 +01:00
Neil Lathwood
d6c62bfc3e refactor: Updated f5 loadbalancer poller to release used memory (#6408) 2017-04-12 21:42:59 -05: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
Aldemir Akpinar
cea6169cd6 newdevice: Change Cisco UCM category from tele to collaboration (#6297)
* Change Cisco UCM category from tele to telephony

* Added telephony definitions

* Changed the category to collaboration as agreed
2017-04-12 14:14:22 -05:00
Lorenzo Zafra
c22283e218 newdevice: Added signal sensor for opengear devices (#6401) 2017-04-12 13:35:55 -05:00
Xavier Beaudouin
0997ebaa10 Fix #6187 with some missing definitions. (#6403)
* Fix the definition. Should be mef instead of mef-evc

* Added Coriant TNMS Hardware page.

* Polling and discovery modules for TNMS Network Equipements.

* SQL in one line.

* Only show when OS is coriant

* Fix conflict file

* Conflict file

* Added missing COLLATE

* Refactor poller code for more data to be inserted into DB in the future.
Removed the discovery module and merged it into poller code.

* Removed tnms-nbi discovery also in the yaml

* Removing debug

* Code updates and fixes + schema rename

* bootstrapify the code.
Renamed the sql file

* Bloody tabs !

* Fix missing information for the TNMS #6187
2017-04-12 13:26:12 -05:00
VVelox
c222aa41a0 add multi DB support to the Postgres app (#6222)
* now creates a component with all the DBs in it

* add the function get_postgres_databases

* add multi DB support to the Postgres device app page

* add multi DB support to the Postgres graphs

* whoops removed the udpate bit, readd it

* white space cleanup

* now use json for storing DB names

* provide the list of DBs in a cleaner manner

* Update postgres.inc.php
2017-04-12 10:45:12 +01:00
Xavier Beaudouin
4b0972628f Coriant Network Hardware Page. (#6187)
* Fix the definition. Should be mef instead of mef-evc

* Added Coriant TNMS Hardware page.

* Polling and discovery modules for TNMS Network Equipements.

* SQL in one line.

* Only show when OS is coriant

* Fix conflict file

* Conflict file

* Added missing COLLATE

* Refactor poller code for more data to be inserted into DB in the future.
Removed the discovery module and merged it into poller code.

* Removed tnms-nbi discovery also in the yaml

* Removing debug

* Code updates and fixes + schema rename

* bootstrapify the code.
Renamed the sql file

* Bloody tabs !

* Add db_schema.yaml update.
2017-04-12 10:39:02 +01:00
Tony Murray
c35b5b36f3 newdevice: Basic Ciena (Cyan) Z-Series detection (#6385)
issue: #6337
2017-04-08 07:14:41 +01:00
Neil Lathwood
0190691061 newdevice: Added sensors + additional info for HPE iPDU (#6382)
* newdevice: Added sensors + additional info for HPE iPDU

* added trim
2017-04-07 22:19:38 -05: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
Tony Murray
0fd0b7cd6c Include the index name so the manual sql fix validates. (#6365) 2017-04-05 10:20:14 -05:00
Neil Lathwood
da68e50c00 refactor: Update some snmpwalks for ports polling to improve speed (#6341) 2017-04-05 16:13:57 +01:00
Neil Lathwood
03deb6434a feature: Added ability to validate database schema (#6303)
* feature: Added ability to validate database schema

* small scrut fixes

* Check for extra tables and columns
Print 30 items of schema updates, easier to copy paste sql

* Now supports detections and suggested fix for:
tables: missing, extra
columns: missing, extra, incorrect
indexes: missing, extra, incorrect

* final changes + hook into travis
2017-04-05 09:00:28 +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
Neil Lathwood
8a2f103144 fix: Moved dnos health disco to powerconnect (#6331) 2017-04-04 13:03:44 -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
Lorenzo Zafra
7d656ac4c4 newdevice: Add logo for Sinetica UPS (Mitsubishi) (#6340)
* I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md.

* Add mitsubishi logo for Sinetica UPS

* Update to SVG logos
2017-04-04 13:01:43 -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
Neil Lathwood
a0abcbb649 fix: Fix broken mysql application polling (#6317) 2017-04-01 22:22:04 +01:00
Tony Murray
4b9f3f37d7 fix: move user preferences dashboard and twofactor out of users table (#6286)
* fix: move user preferences dashboard and twofactor out of users table
This allows them to work with any authentication method
Add set_user_pref() and get_user_pref() helper functions

* fix edit users for other users

* Fix updated_at default timestamp

* Update and rename 183.sql to 184.sql

* removed commented out debug
2017-04-01 22:18:00 +01:00
Neil Lathwood
98e8e7e407 fix: Compare existing device ip to host lookup like for like (#6316) 2017-04-01 22:17:32 +01:00
Neil Lathwood
ae73109159 fix: Fixed CPU/Mem polling for Cyberoam-UTM devices (#6315) 2017-04-01 22:17:08 +01: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
a6391ed3e8 fix: Update applications poller to use numeric oid instead of nsExtendOutputFull (#6277)
* fix: Update applications poller to use numeric oid instead of nsExtendOutputFull

* Accidental m
2017-03-30 22:01:40 -05:00
Neil Lathwood
90be6d1f68 feature: Added cisco-vpdn to poller modules (#6300) 2017-03-30 22:13:36 +01:00
Tony Murray
890350e457 feature: support powerdns-recursor SNMP extend (#6290)
Update direct API access to support version 4
Documentation cleanups
2017-03-30 22:11:50 +01:00
Neil Lathwood
63533666c9 Revert "Add missing datasources for postfix app" (#6310)
* Revert "use components for fail2ban jails list (#6221)"

This reverts commit acd11955d20737394c978aac3bf465d8e1d6a6b3.

* Revert "fix: Add missing datasources for postfix app (#6173)"

This reverts commit 3ac4e3c8d5be18ecab486006b69e24bedab31887.
2017-03-30 17:04:39 +01:00
VVelox
acd11955d2 use components for fail2ban jails list (#6221)
* add get_fail2ban_jails functions

* now do component stuff for fail2ban for tracking jails

* now use get_fail2ban_jails for getting a list of jails

* readd the accidentally deleted update app bit

* white space cleanup

* Update fail2ban component code

* remove unneeded variable
2017-03-29 22:54:02 -05:00
Florian Beer
3ac4e3c8d5 fix: Add missing datasources for postfix app (#6173)
* Add missing datasources for postfix app

* Re-order data
2017-03-29 22:59:59 +01:00
Neil Lathwood
cf509f138b fix: Fixed the dbTest units so they work (#6293)
* fix: Fixed the dbTest units so they work

* fix schema, should now pass
2017-03-29 16:13:30 -05:00
Neil Lathwood
962c47168c fix: Corrected url in telegram alert transport (#6299) 2017-03-29 16:09:01 -05:00
Neil Lathwood
90e2c74209 fix: Fixed F5 ports not using hc counters (#6294) 2017-03-29 16:43:09 +01:00
Aldemir Akpinar
2dd0ab870f Do not show unintended debug messages (#6296)
* Do not show unintended debug messages

* Fix the silly mistake
2017-03-29 14:35:44 +01:00
Tony Murray
1ea7af424b feature: bind user for active_directory auth (#6255)
* feature: bind user for active_directory auth
Optional, allows the use of "remember me", API, and alerting.

* missing global (but still may not be working)

* always return a value from reauthenticate()

* Make sure the ldapbind credentials are correct on reauth.
Do not send output if they are incorrect (use d_echo) this breaks ajax calls, etc.
Add scripts/auth_test.php, to make it easier to debug authentication.

* Refine auth_test.php a bit more
A few small cleanups in other places of the auth

* Add auth_test.php to docs
Some more improvements in the auth_test.php output.

* Update Authentication.md
2017-03-29 08:22:02 -05:00