Commit Graph
17185 Commits
Author SHA1 Message Date
Tony Murray 1b1907a09f Update database tests to prepare for more (#6500)
* Update database tests to prepare for more
Add test_db_name, test_db_user, test_db_pass to allow developers to have a dedicated testing database.
Extract DBTestCase to include common functionality for database based tests. Use transactions to isolate tests.
Enable STRICT_TRANS_TABLE, test for it's existence (only when we have a user that can set it)
Move the database cleanup to register_shutdown_function, this makes it happen every time at the end of tests.
If the was not empty, only truncate the tables (that aren't prepopulated) instead of drop the database.
Use our schema functions for schema tests.
Fix some missing array indexes so it doesn't clutter test output.

* Fix style
2017-04-26 07:56:00 -05:00
FTBZ 562c8b3d06 fix: APC/MGE discovery for some models (#6507) 2017-04-26 06:31:37 -05:00
Simon Mott 6c6499c2fe fix: Don't run ipmitool without knowing a type (#6504) 2017-04-25 21:36:52 +01:00
Neil Lathwood 66b7077a01 fix: Updated ipv4/ipv6 discovery to exclude IPs with invalid port_ids (#6495)
* fix: Updated ipv4/ipv6 discovery to exclude IPs with invalid port_ids

* Update the valid IP sql queries to include addresses without a port

* Fix arp-table too.
2017-04-25 21:28:25 +01:00
Neil Lathwood 2361541e33 docs: Updated Support-New-OS doc to provide clearer information (#6492)
* docs: Updated Support-New-OS doc to provide clearer information

* Update Custom-Graphs.md

* Update Custom-Graphs.md

* Update Health-Information.md

* Update Initial-Detection.md
2017-04-25 12:35:42 -05:00
Frank Mogaddedi dcc6c96ec4 feature Location map regex replace pattern only (#6485)
* Update core.inc.php

* Update rewrites.php

* Update rewrites.php

* Update rewrites.php

* Update Configuration.md

Adding "location_map_regex_sub" documentation

* Update Configuration.md

Better(?) example/explanation for location_map_regex_sub.
2017-04-24 20:06:22 +01:00
Svennd b2e6d8abef feature: Added opengridscheduler job tracker application (#6419)
* opengridscheduler job tracker

* wrong copy of file

* applied laf's review. Thx laf!

* now including the modified files; thx laf for the review!

* Update Applications.md
2017-04-24 14:19:36 +01: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 056ddbac05 webui: Fixed the display date for the current version (#6474)
* webui: Fixed the display date for the current version

* changed to use exec

* changed >> to >
2017-04-22 18:03:14 -05: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 d49e893a0a move version info into debug to save exec calls under normal use (#6407) 2017-04-22 08:10:15 -05:00
Neil Lathwood 64e020d703 docs: Updated install docs + perf to support compressing file types and using http/2 (#6466) 2017-04-22 08:09:34 -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
Neil Lathwood f418a80a5e Added mem/cpu support for TiMOS (#6483) 2017-04-22 07:58:52 -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
Neil Lathwood d77186ddc6 Added missing slot info in for Enterasys memory (#6481)
* fix: Updated enterasys mempools disco/polling to support multiple ram devices

* added slot information
2017-04-20 14:46:24 +01:00
Neil Lathwood 74b7926960 docs: Update to remove the old method of signing the CLA (#6479) 2017-04-20 14:46:03 +01:00
Dominik Bay afa6a18364 Adding Cisco SG355-10P support (#6477)
* Adding support for Cisco SB SG355-10P switch

* I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md.
2017-04-20 13:21:40 +01:00
lnms-docs 3a7f7b44ce Merge pull request #6476 from dragans/patch-1
Update Munin application agent guide
2017-04-20 11:38:54 +01:00
dragans 68823a9835 Update Munin application agent guide
Step 3 should be

3. Create the munin scripts dir: `mkdir -p /usr/share/munin/munin-scripts`
2017-04-20 12:13:22 +02:00
Neil Lathwood faf22c0481 added ciena mibs to be used when data arrives (#6468) 2017-04-19 23:48:16 -05:00
Neil Lathwood 75d62aa068 fix: Updated enterasys mempools disco/polling to support multiple ram devices (#6458) 2017-04-19 10:56:32 -05: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
Aldemir Akpinar 450c980cc1 Fix: Service filenames are snipped when longer than 16 characters (#6459)
* Do not show unintended debug messages

* Fix the silly mistake

* Change Cisco UCM category from tele to telephony

* Added telephony definitions

* Changed the category to collaboration as agreed

* Fix snipped service filenames

* rebased

* rebased + fixed schema
2017-04-19 11:52:13 +01: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
remydb 0e6b42fc05 Fix duplicate dBm readings for single-lane optics (#6460) 2017-04-19 10:42:10 +01:00
Tony Murray d8fcdc9ae3 refactor: use sysDescr to simplify the vyatta detection (#6455) 2017-04-18 23:42:56 +01:00
Neil Lathwood 9385bc54de fix: Updated use of ifNameDescr() to cleanPort() (#6454) 2017-04-18 16:42:37 -05: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 c88c677a16 refactor: only run pre-cache for the current OS (#6453)
Change powerwalker to use the $pre_cache array
2017-04-18 22:26:58 +01:00
cahluor 2ced131cf5 Updated logging within discover_new_device() to record device that attempted to discover device
Updated logging within discover_new_device() to record device that attempted to discover device
2017-04-18 21:43:55 +01:00
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