Commit Graph

330 Commits

Author SHA1 Message Date
Neil Lathwood ef5045181a fix: Stopped showing sub menus when empty #4713 2016-10-13 22:18:19 +01:00
Bennett Blodinger c0936e9c72 ugg
close the damn }
2016-09-23 08:34:55 -04:00
Bennett Blodinger f7c8208072 v2
Better than first patch.  Keeps colors and positioning. Also adds in a
set of badge- context classes for future use.
2016-09-23 08:27:34 -04:00
Bennett Blodinger d1f25550cb screen reader fix 2016-09-23 08:24:36 -04:00
Bennett Blodinger ec37aeba9d Merge remote-tracking branch 'upstream/master' into user-badge 2016-09-23 07:59:31 -04:00
Tony Murray 5ebf4f8e1f Fix collapsing text for Alerts and Plugins 2016-09-21 14:30:11 -05:00
Neil Lathwood c87de0532e webui: Relocate Alerts menu
webui: Relocate Alerts menu
2016-09-15 21:26:45 +01:00
Neil Lathwood 85b92caf47 Added alert indicator to navbar 2016-09-15 10:21:28 +01:00
Tony Murray 36f6338ad6 fix: Clean up errors in the webui (#4438) 2016-09-15 08:46:26 +01:00
Bennett Blodinger 7b7b8c0c2c Fix nav icons
Remove notification overlap and fix mobile navigation view
2016-09-14 08:23:50 -04:00
Neil Lathwood 26fc825548 phpcs fixes 2016-09-12 07:51:49 +01:00
Tony Murray 122aae85bf webui: Relocate Alerts menu
Plugins menu is moved to the Overview menu (this is basically just weathermap anyway)
2016-09-11 23:41:41 -05:00
Tony Murray b8e9b2d917 Implement an autoloader (#4140)
* Implement an autoloader

When cleaning up classes for psr2, things got a bit unwieldy, so I implemented a class autoloader.
I created a PSR-0 compliant LibreNMS directory and moved all classes there that made sense.
Implemented LibreNMS\ClassLoader which supports adding manual class mappings

This reduces the file includes needed and only loads classes when needed.

* Add teh autoloader to graph.php

* Add a small bit of docs
Fix incomplete class in includes/discovery/functions.inc.php
2016-08-21 14:07:14 +01:00
Tony Murray 8c639aa5a4 PSR2 Cleanup: /html edition
Travis tests for code conformance. Ignore warnings for now.
Fixed all errors, left most warnings.
2016-08-18 21:29:30 -05:00
Tony Murray f5f31e88ac Use namespaces for classes, take 2
CollectdColor, move into it's own file, change functions to camelCase
Plugins use LibreNMS\Plugins
2016-08-17 20:26:51 -05:00
Adam Winberg 341869eaaf use existings webui option (global_search_result_limit) to set typeahead limit instead of introducing new config option 2016-04-21 12:56:45 +02:00
wiad 362bcd4353 add config option for typeahead limit 2016-04-12 19:16:15 +02:00
Aaron Daniels 111a52d48c Merge branch 'master' into issue-2193 2016-04-12 07:34:40 +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
Paul Heinrichs a13d148fb1 Added Signal Sensor 2016-03-22 10:37:07 -04:00
Aaron Daniels 854812a457 - added rrd_pipes to check script
- renamed service_* to *_service
2016-03-22 16:40:51 +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
Jay McEntire a77c9d234c Menu UI for map groups. 2016-03-03 16:43:13 -07:00
Aaron Daniels d96e2216a7 - Changed upper case variables to lower case. 2016-01-28 07:04:12 +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
Paul Gear 7170a240a8 Don't display MIB menu items if MIB-based polling is disabled 2016-01-07 09:26:48 +10:00
Paul Gear 6fae9874b0 Add global MIB association table 2016-01-02 07:10:43 +10:00
Paul Gear f2370bbcba Add MIB browser 2016-01-02 07:10:41 +10:00
Mike Rostermund 40b2b7552c Merge pull request #2593 from Rosiak/issue-1575
Menubar Change
2015-12-12 16:46:53 +01:00
Rosiak 3c3b322005 Add notification count to dd menu 2015-12-11 22:00:26 +01:00
Rosiak 6ffdd7a34e Small fixes
- Make count smaller so it’ll fit.
- Change color of badge based on unread notifications or not.
2015-12-11 16:32:53 +01:00
Daniel Preussker d970699122 urlencode custom_descr 2015-12-10 12:02:18 +00:00
Rosiak 0d649c1ee6 Menubar Change
Fix #1575
2015-12-09 23:56:12 +01:00
Daniel Preussker 224ccab950 Fixed adduser bug
Always show notification bubble
Added tooltip to archive's sticky button
2015-11-21 12:15:42 +00:00
Daniel Preussker 0ff693bd0e Added notifications poller,page,schema,display 2015-11-21 11:22:59 +00:00
Neil Lathwood 9e72b74502 Merge pull request #2450 from adaniels21487/issue-2168
Modify Menubar
2015-11-20 19:36:39 +00: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
Rosiak 1508538d8e Add RIPE NCC API Whois lookup
Fix #2051
2015-11-18 19:15:23 +01: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
laf 222191382d Fixed services -> Alerts menu link + page 2015-10-17 18:13:11 +00:00
Daniel Preussker 608aaf9770 Merge pull request #2049 from alangregory/groups
Moved Device Groups menu
2015-10-06 13:07:57 +00:00
Alan Gregory 7b15f2d29d Fixed missing href 2015-10-06 08:12:31 -03:00
Alan Gregory 20db0e29b2 Renamed menu name. 2015-10-05 12:27:12 -03:00
Alan Gregory 4f6fa8a947 Fix double query 2015-10-02 17:18:34 -03:00
Alan Gregory 4ee9200db0 Moved Device Groups SubMenu
Space fix
2015-10-02 17:09:41 -03:00
Mike Rostermund 2c5c5fbff9 Fixed spacing to align text in menubar 2015-10-02 15:50:41 +02:00
f0o 7a39fdcc03 Remove href target from alerts top-level menu 2015-09-26 06:20:49 +00:00
Nils Steinger f397f53f5f Change colour of menu item 'Overview' → 'Packages' to black (like the other menu items in the same group) 2015-09-22 23:45:33 +02:00
Arjit Chaudhary 61b2f1a171 Minor change to poll log icon
Seems more apt for the log icon, Screenshot: http://i.imgur.com/YhS0iZj.png
2015-09-01 19:14:18 +05:30