Commit Graph
43 Commits
Author SHA1 Message Date
Aaron Daniels 111a52d48c Merge branch 'master' into issue-2193 2016-04-12 07:34:40 +10:00
Aaron Daniels e2988e7725 - Ensure that $check_cmd is always set.
- Move SQL because of upstream changes
2016-04-12 07:34:06 +10:00
Aaron Daniels 9706a85454 - Added add, edit and delete API calls for components.
- Added documentation for the new calls.
2016-03-30 17:16:14 +10:00
Aaron Daniels 8f59b8c7f7 Merge branch 'master' into issue-2193 2016-03-29 20:16:07 +10:00
Aaron Daniels eeb3dff393 - Use Nagios alerting: 0 = Ok, 1 = Warning, 2 = Critical
- Update documentation
- Moved SQL for upstream changes
2016-03-29 20:15:42 +10:00
Aaron Daniels 854812a457 - added rrd_pipes to check script
- renamed service_* to *_service
2016-03-22 16:40:51 +10:00
Aaron Daniels 870d3aee56 - Moved poller module back to check-services.php
- added debug option -d
2016-03-21 16:48:26 +10:00
Aaron Daniels f90ead9f2e Merge branch 'master' into issue-2193 2016-03-16 08:49:40 +10:00
Aaron Daniels 94cdcbbd93 - Moved SQL 2016-03-16 08:49:29 +10:00
Aaron Daniels 3e1d40fd7c - Added $vars to ajax_forms
- replaced all instances of $_POST with $vars
2016-03-16 08:37:15 +10:00
Aaron Daniels 0d6cfec589 Nagios Services
- Moved check-services.php to a poller module
    - Added performance data collection to the poller
    - Centralised DB functions to includes/services.inc.php
    - Created add/edit/delete functions off the device, services page
    - Removed legacy edit/delete interfaces.
    - Moved and modified check.inc scripts
    - Documentation Updates
    - Modified services table
2016-03-15 22:23:14 +10:00
Aaron Daniels f18fa9e455 - Pre-Init the $options array.
In some scenarios $options was already set with a previous filter.
- Remove RRD file checking, test for existance of components instead.
2016-02-23 17:16:51 +10:00
Aaron Daniels 4ff92481e4 - Quote the SNMP v2c community, v3 is already quoted.
- Change the snmpver to double quotes for consistency.
2016-02-04 16:38:07 +10:00
Aaron Daniels 4ebc2b1f33 - Modified code to use graph generation functions instead of calling overlib directly.
The graph generation functions check for the status of 'web_mouseover'.
2016-02-03 06:41:20 +10:00
Aaron Daniels 5897e30529 - Added poller and discovery debugging information. 2016-01-28 18:40:05 +10:00
Aaron Daniels d96e2216a7 - Changed upper case variables to lower case. 2016-01-28 07:04:12 +10:00
Aaron Daniels e54e22b56e - Changed upper case variables to lower case. 2016-01-26 23:31:07 +10:00
Aaron Daniels 8f4dbb5338 Cisco OTV
Implements the CISCO-OTV-MIB to retrieve OTV counters from Cisco devices.
This collects information on the configured Overlays and Adjacencies

Statistics are collected for the amount of VLAN's on each overlay and the amount of MAC addresses available over each OTV endpoint.
OTV alerts are collected and generated if the appropriate alerting rules exist.

Data is displayed under routing at both the global and device level.

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 22:04:20 +10: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
Aaron Daniels 2a59034193 - Resolved some issues identified by scrutiniser. 2016-01-15 20:37:54 +10:00
Aaron Daniels ad751983dc Merge branch 'master' into issue-1650 2016-01-15 17:52:40 +10:00
Aaron Daniels f61838a617 - Moved sql beacuse of upstream changes 2016-01-15 17:52:12 +10:00
Aaron Daniels 6492b887e9 Merge branch 'master' of https://github.com/adaniels21487/librenms into issue-1650 2016-01-14 06:10:31 +10:00
Aaron Daniels 29ae6aaaae - Move 085.sql to 089.sql 2016-01-14 06:10:00 +10:00
Aaron Daniels 87e88dacfd - Compress API filters to a loop
- Check for filters for valid fields
2016-01-14 05:22:37 +10:00
Aaron Daniels 6286d7cb6a Merge branch 'master' of https://github.com/adaniels21487/librenms into issue-1650
Conflicts:
	html/api_v0.php
	html/includes/api_functions.inc.php
2015-12-22 11:16:54 +10:00
Aaron Daniels 0453c23544 - Moved SQL to reflect upstream changes. 2015-12-22 11:06:30 +10:00
Aaron Daniels c6be2a8ad7 - Removed default alerting rules, user can create their own.
- Updated documentation
2015-12-22 11:05:42 +10:00
Aaron Daniels c63b7119cb Device Components.
The purpose of this feature is to provide a framework for discovery modules to store
information in the database, without needing to add new tables for each feature.

This Feature provides:
- A database structure to store data.
- An API to store and retrieve data from the database.
- Integration to the LibreNMS APIv0.
- Ability to disable/ignore components.
- Default alerting rules.

- The API returns $COMPONENT[$device_id][$component_id] to allow pulling of data for multiple devices.
  The intent is to be able to create 'Applications' the consolidate data from applications covering multiple devices.
- Added some developer documentation
2015-12-14 07:52:03 +10:00
Aaron Daniels cc9a6b5070 - Oops.. remove testing code. 2015-11-20 07:52:16 +10:00
Aaron Daniels cd62c1a792 - Added 'Plugin' text, shrunk padding to fit in 1200w 2015-11-19 16:54:37 +10:00
Aaron Daniels 2a52b935b5 Modify Menubar
- Small Screens - Icon only - Wrap the label in a span with hidden-sm
- Medium Screen - Text only - add hidden-md to the icon
- Large Devices - shrink the left/right padding on .nav>li>a to 10px.
2015-11-18 08:33:56 +10:00
Aaron Daniels dde56c3b24 Modified code to use graph generation functions instead of generating manually.
The graph generation functions check for the status of 'web_mouseover'.
2015-08-05 07:13:19 +10:00
Aaron Daniels 128c330ebb Resolved bug where $text would use the previous iteration if $sla_type was unknown.
Now set a default $text value which will be over written if $sla_type is known.
2015-08-02 20:18:14 +10:00
Aaron Daniels 9ccfc0d2b5 Merge branch 'master' of https://github.com/adaniels21487/librenms into issue-1571 2015-08-02 20:10:44 +10:00
Aaron Daniels 659f31f3e7 Added tag to IPSLA type Jitter 2015-08-01 17:07:49 +10:00
Aaron Daniels f0347bd7aa Merge branch 'master' of https://github.com/adaniels21487/librenms into issue-1540 2015-08-01 14:51:38 +10:00
Aaron Daniels 8379c96346 Merged separate modules into a single 'cisco-voice' module.
Renamed each module to a more appropriate name.
2015-08-01 14:48:54 +10:00
Aaron Daniels cba431df6c Merge branch 'master' of https://github.com/adaniels21487/librenms into issue-1540 2015-07-31 07:01:19 +10:00
Aaron Daniels a327786835 Change formatting to properly conform to the Coding guidelines. 2015-07-31 06:52:10 +10:00
Aaron Daniels f6ee98ce07 Merge branch 'master' of https://github.com/adaniels21487/librenms into issue-1540 2015-07-30 20:32:47 +10:00
Aaron Daniels b68b6192a0 Added Poller modules for Cisco Voice Routers
Added the following modules:
- Cisco PRI - graphs the total and inuse Primary Rate ISDN channels.
- Cisco DSP - graphs the total and inuse Digital Signal Processor (DSP) resources.
- Cisco MTP - graphs the total and inuse Media Termination Point (MTP) resources.
- Cisco XCode - graphs the total and inuse Transcoder resources.
2015-07-30 17:10:24 +10:00
Aaron Daniels a14513a9db I agree to the conditions of the Contributor Agreement
contained in doc/General/Contributing.md.
2015-07-28 20:15:10 +10:00