Commit Graph

13550 Commits

Author SHA1 Message Date
Søren Rosiak
a2f74c91a8 refactor: Improve CiscoSB polling time by only running valid modules (#6447) 2017-04-18 21:39:54 +01:00
Tony Murray
b4c4c39f55 feature: allow _except suffix in yaml os discovery (#6444)
Negates the selected check
2017-04-18 21:39:08 +01:00
Tony Murray
2b4fb847ee Merge pull request #6445 from svennd/author
I agree to the conditions of the Contributor Agreement contained in d…
2017-04-18 07:56:04 -05:00
Svennd
75586aebd3 I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md.
I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md.
2017-04-18 09:37:48 +02:00
Tony Murray
5a46e9e34a webui: SVG Ruckus logos (#6442) 2017-04-18 07:15:34 +01:00
Jonathan Price
2186e3b79a fix: Update Shebangs and daily.sh for FreeBSD compatibility (#6413)
* Where shebangs had no flags, updated them to use /usr/bin/env for cross-platform compatibility
Updated daily.sh to support FreeBSD (su has different args, replaced with sudo when not on linux)

* Added myself to AUTHORD.md as per contributor guidelines

* Set all platforms to use sudo rather than su
Re-added missing arguments to sudo
2017-04-17 20:14:23 -05:00
Neil Lathwood
0b2f5cddd2 fix: Fix alerts not honouring interval over 5m (#6438) 2017-04-17 20:08:52 -05:00
Søren Rosiak
66a3a54879 fix: Cisco Entity Sensor Threshold's returns 0 (#6440) 2017-04-17 19:39:46 -05:00
Tony Murray
0885813ba3 refactor: move siklu os detection to yaml (#6431) 2017-04-17 22:00:48 +01:00
Tony Murray
e521b39a7d refactor: move rfc1628_compat into os yaml (#6424) 2017-04-17 21:57:27 +01:00
prem
09e9fe6171 feature: Added check_mssql_health.inc.php for service checks (#6415)
This could be very usefull for the people who want to monitor MS SQL Servers. It is a very cool service check.
2017-04-17 21:44:59 +01:00
Lorenzo Zafra
8c8a41f23e refactor: Moved Axis cameras to appliance group (#6397) 2017-04-17 21:39:14 +01:00
Neil Lathwood
295d0b405d Revert "newdevice: improve IOS-XE detection" (#6436)
* Revert "improve callback serial number regex (#6435)"

This reverts commit 2f881e3d80.

* Revert "fix: vlan port mappings not removed (#6423)"

This reverts commit 924b751be4.

* Revert "missed file deletion (#6430)"

This reverts commit 801a563c10.

* Revert "refactor: move Engenius discovery to yaml (#6428)"

This reverts commit fa731f3826.

* Revert "refactor: move cometsystem-p85xx (#6427)"

This reverts commit 01477a15f4.

* Revert "refactor: move the rest of avaya os detection to yaml (#6426)"

This reverts commit 8a8edb7d6d.

* Revert "refactor: move aos discovery to yaml (#6425)"

This reverts commit 54975f64d4.

* Revert "newdevice: improve IOS-XE detection (#6429)"

This reverts commit 9c44b1a809.
2017-04-16 08:30:16 +01:00
Tony Murray
2f881e3d80 improve callback serial number regex (#6435)
Adds S/N and Serial Num/number
2017-04-16 07:42:22 +01:00
Tony Murray
924b751be4 fix: vlan port mappings not removed (#6423)
Thanks to @diodo for supplying this fix.
2017-04-15 20:08:49 +01:00
Tony Murray
801a563c10 missed file deletion (#6430) 2017-04-15 07:25:10 -05:00
Tony Murray
fa731f3826 refactor: move Engenius discovery to yaml (#6428) 2017-04-15 08:11:51 +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
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
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
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
d44d23dba6 Update libraries (#6384)
Remove dev dependencies, causing issues for people
2017-04-13 10:47:59 +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
Tony Murray
c5c643f901 fix: AD authentication when auth_ad_base_dn is an OU (#6405)
* fix: AD authentication when auth_ad_base_dn is an OU
OUs don't have SID, so we can't use them to figure out the domain SID

* Only match leading OUs

* Actually, might be best to remove everything except the domain components.
2017-04-12 21:44:09 -05:00
Neil Lathwood
d6c62bfc3e refactor: Updated f5 loadbalancer poller to release used memory (#6408) 2017-04-12 21:42:59 -05:00
Ben Klang
b7f1e09be5 webui: Updated bgp table to use bootstrap properly (#6406)
* Apply Bootstrap table spacing to BGP session list

* I  agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md
2017-04-12 22:30:01 +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
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
barryodonovan
66baea1c48 change rrd_options on airfibre-rx-graph (#6399) 2017-04-12 13:36:18 -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
Neil Lathwood
069020cb80 updated rrdtool ver check to wrap quotes around (#6393) 2017-04-11 07:04:25 +01:00
Neil Lathwood
5ce9b6b2e8 feature: Added rrdtool version check to compare installed version with defined version (#6381)
* feature: Added rrdtool version check to compare installed version with defined version

* update to check config is not > than installed ver
2017-04-10 08:11:56 -05:00
deepseth
788e5fd75c webui: Include ifAlias (port description) in graph title (#6373)
* Include ifAlias (port description) in graph title

* Resolve duplication where ifAlias == ifDescr

* Revert change to use label back to using ifDescr
2017-04-08 11:14:12 -05: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
4ab358501d api: API allow cidr network searches of the ARP table (#6378)
* api: API allow cidr network searches of the ARP table

* Allow non-encoded / in request
I also noticed that all is allowed to be called without device, which the sql query does not support.
2017-04-07 21:05:46 +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