Commit Graph
9872 Commits
Author SHA1 Message Date
Rosiak e2775bd45f Fix 2723 2016-01-21 14:18:01 +01:00
Daniel Preussker 2d3367f7cd Merge pull request #2816 from ekoyle/alert_filters
Add some basic alert filtering
2016-01-21 13:06:01 +00:00
Søren Rosiak b9b661cd3a Merge pull request #2829 from laf/port-edit-fix 2016-01-21 14:02:49 +01:00
laf 668f14f74a Parameter to get_dev_attrib() is an array not a int, updated 2016-01-21 12:32:20 +00:00
Daniel Preussker a4e1c6f2cb Merge pull request #2828 from joaogalaghar/patch-1
typo
2016-01-21 11:42:44 +00:00
joaogalaghar 873c0e492d typo 2016-01-21 11:37:21 +00:00
Aaron Daniels bf37312bdc Cisco CBQOS
Implements the CISCO-CLASS-BASED-QOS-MIB to retrieve QOS counters from Cisco devices.
Policy and Class-map details are collected and stored in the database.
Details are presented on a new "CBQoS" tab of the interface that the policy is applied to.
Includes a policy selector that allows you to select which policy-map to show graphs for.

Each class-map has its own rrd file, in which 3 metrics are stored: Bytes, QoS Drops, Buffer Drops.
This can produce a LOT of rrd files.

As an example:
A Cisco 4500 series switch, running MQC on 200 ports. Each port has a common 5 class queueing policy applied, this creates 1000 (5 x 200) RRD's.

Because of this I have currently set:
```
$config['discovery_modules']['cisco-cbqos']    = 0;
```

Includes function snmpwalk_array_num, which performs a numeric SNMPWalk and returns an array containing $count indexes
One Index:
 From: 1.3.6.1.4.1.9.9.166.1.15.1.1.27.18.655360 = 0
 To: $array['1.3.6.1.4.1.9.9.166.1.15.1.1.27.18']['655360'] = 0
Two Indexes:
 From: 1.3.6.1.4.1.9.9.166.1.15.1.1.27.18.655360 = 0
 To: $array['1.3.6.1.4.1.9.9.166.1.15.1.1.27']['18']['655360'] = 0
And so on...
2016-01-21 21:18:14 +10:00
Neil Lathwood 4fc10607f6 Merge pull request #2825 from paulgear/close-db
Attempted fix for schema update issues
2016-01-21 10:36:54 +00:00
Paul Gear b8ad489ff0 Attempted fix for schema update issues
Closes database connection while pollers are running and reopens at the end.
2016-01-21 16:53:57 +10:00
Neil Lathwood 769cb12f5f Merge pull request #2824 from paulgear/fix-cisco-aaa
Fix use of CISCO-AAA-SESSION-MIB
2016-01-20 22:56:17 +00:00
Paul Gear 302a7d5c73 Tidy mess left by CISCO-AAA-SESSION-MIB bug 2016-01-21 08:54:00 +10:00
Paul Gear 53b5f4e1c8 Fix the same bug in routeros section 2016-01-21 08:52:32 +10:00
Paul Gear e8c64e98a4 Fix use of CISCO-AAA-SESSION-MIB
It should only be used if OS was discovered.
2016-01-21 08:50:20 +10:00
Eldon Koyle 12fe3cac29 Allow alert filtering from widget
Add some code to handle widget settings for alerts.
2016-01-20 15:23:09 -07:00
Daniel Preussker c11cf53658 Merge pull request #2815 from laf/notifications-update
Added local rss file + tidied up locations of notifications and callback
2016-01-20 20:01:07 +00:00
Daniel Preussker 52bf0fad15 Merge pull request #2789 from laf/issue-2761
Updated active directory auth to support dashboards
2016-01-20 19:57:53 +00:00
Søren Rosiak 34ea4ec32d Merge pull request #2822 from laf/api-ip 2016-01-20 19:34:55 +01:00
laf 59a1050df6 Fixed device ip binary decode 2016-01-20 18:19:15 +00:00
Daniel Preussker 97ca5c7717 Merge pull request #2818 from SaaldjorMike/ircbot-bugs
Minor fixes for the IRC bot's .port command
2016-01-20 18:16:59 +00:00
HenocKA 1f58058646 merging 2016-01-20 15:31:05 +01:00
HenocKA b637ce63e0 discoverying and polling VRF 2016-01-20 15:26:16 +01:00
HenocKA 11097f6315 Adding mibs 2016-01-20 15:26:11 +01:00
HenocKA 2820689383 Adding sql-schema 2016-01-20 15:26:06 +01:00
HenocKA 1bf8610f23 discoverying and polling VRF 2016-01-20 15:13:53 +01:00
HenocKA 9c0f0d7ea0 Adding mibs 2016-01-20 15:05:14 +01:00
HenocKA faf2b84083 Adding sql-schema 2016-01-20 15:04:37 +01:00
Mike Rostermund acc76dbfba Use bits instead of octets for proper bps values when using ircbot's .port cmd 2016-01-20 02:00:37 +01:00
Mike Rostermund 8f34e0e30e Fix SQL statement for .port command in irc bot 2016-01-20 01:58:10 +01:00
Paul Gear 7a19fa2a67 Merge pull request #2817 from laf/mysql-docs
Added docs on using innodb_file_per_table=1 in my.cnf
2016-01-20 10:39:30 +10:00
laf 012c3eab0b Added docs on using innodb_file_per_table=1 in my.cnf 2016-01-20 00:37:22 +00:00
Eldon Koyle 0c124270d5 Add some basic alert filtering
Add some alert filtering.

Args:
 * acknowleged - 0: show not acknowleged, 1: show acknowleged
 * state - integer or string for desired state
 * min_severity - integer or string for lowest desired severity
2016-01-19 16:38:41 -07:00
Mike Rostermund dfc32107b5 Merge pull request #2794 from laf/sensors-cleanup
Updated discovery sensors module directory structure
2016-01-19 23:28:48 +01:00
laf c6c3858312 Some more scrut fixes 2016-01-19 22:27:04 +00:00
laf aea5c3f515 Updated missing states sensor dir change 2016-01-19 22:16:48 +00:00
Mike Rostermund e021cf8f67 Merge pull request #2801 from wiad/issue-2708
Add infoblox devices (Issue 2708)
2016-01-19 23:00:43 +01:00
Paul Gear b5e67358a0 Merge pull request #2809 from laf/issue-2772
Removed unused code in port poller for non-cisco devices
2016-01-20 07:52:34 +10:00
Neil Lathwood eb34c1c84e Merge pull request #2814 from paulgear/disable-global-debug-message
Disable debug message about MIB poller
2016-01-19 21:52:06 +00:00
laf a45259377b Added local rss file + tidied up locations of notifications and callback 2016-01-19 21:50:00 +00:00
Paul Gear 8416f4af3e Disable debug message about MIB poller 2016-01-20 07:40:03 +10:00
Daniel Preussker 4ab1075589 Merge pull request #2798 from laf/issue-1698
Added the lookup of IP if device hostname is a hostname
2016-01-19 14:40:43 +00:00
laf 2dec9c3996 Rebased (sql schema conflict) 2016-01-19 14:33:15 +00:00
laf 302ecb8858 Removed unused code in port poller for non-cisco devices 2016-01-19 11:25:03 +00:00
wiad 45e412f64b Merge branch 'master' of https://github.com:/wiad/librenms into issue-2708 2016-01-19 12:03:48 +01:00
wiad 2883759c93 fix syntax 2016-01-19 12:02:47 +01:00
wiad 71195bcd85 fix syntax 2016-01-19 12:01:44 +01:00
Paul Gear a340f353c2 Merge pull request #2623 from adaniels21487/issue-1650
Device Components.
2016-01-19 20:38:34 +10:00
wiad 913314f831 fix if statement style 2016-01-19 10:59:13 +01:00
Neil Lathwood 9219af16f8 Merge pull request #2807 from wiad/issue-2806
Try to find rancid file based on both fqdn and short host name
2016-01-19 09:46:19 +00:00
wiad dda947449a fix if statement style 2016-01-19 10:11:11 +01:00
laf 44dc6b652b Fixed scrut issues 2016-01-19 09:04:53 +00:00