Commit Graph

122 Commits

Author SHA1 Message Date
Tony Murray
d5105e29da feature: Capture device troubleshooting info (discovery, poller, snmpwalk)
Admins can capture device troubleshooting info from the webui by clicking the gear and selecting Capture.
2016-09-19 23:36: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
Rosiak
7fecb5169b Device Page UI Changes
#4008
2016-08-10 21:46:06 +02:00
jaroug
78170213d2 fix: strstr won't return anything if nfsensuffix is empty 2016-07-20 12:49:38 +02:00
jaroug
87eb2a6d5f fix: wrong variable used 2016-07-20 12:45:48 +02:00
Adam Winberg
3873aaf01e Extend if statement to support hostnames in rancid with or without domain suffix 2016-04-11 08:32:13 +02:00
Tony Murray
28216f67b0 Merge branch 'master' into config_diff 2016-02-12 10:36:18 -06:00
Neil Lathwood
a9e81c2bfb Merge pull request #2955 from arjitc/patch-24
Merge launch, SSH, telnet and settings into 1 dropdown
2016-02-11 21:43:26 +00:00
Tony Murray
b5106f4e17 Generate and display diffs between versions. Clicking show diff generates a diff between the shown version and the selected version. 2016-02-10 14:51:40 -06:00
Arjit Chaudhary
9cd0820445 use bootstraps own pull-right so that the dropdown draws inside the page width 2016-02-08 22:55:18 +05:30
Arjit Chaudhary
729a0d6a62 Merge launch, SSH, telnet and settings into 1 dropdown
Screenshot: http://i.imgur.com/vV30EKQ.png
2016-02-08 22:51:09 +05:30
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
Neil Lathwood
d3132a190b Merge pull request #2690 from vitalisator/stp
add basic STP/RSTP support
2016-01-10 22:45:24 +00:00
Vitali Kari
e20f114a95 Update device.inc.php 2016-01-08 11:12:49 +01:00
Paul Gear
7170a240a8 Don't display MIB menu items if MIB-based polling is disabled 2016-01-07 09:26:48 +10:00
vitalisator
d12c7803e0 add basic STP/RSTP support 2016-01-03 21:10:35 +01:00
Paul Gear
5c2231a7a7 Add device MIB association browser 2016-01-02 07:10:42 +10:00
Paul Gear
b8601b5896 Skeleton framework for allowing MIB values to feed CPU & memory health graphs 2016-01-02 07:10:41 +10:00
Louis Bailleul
8961a5f2c1 Use media query to reduce font and img size when width is < 960px
Avoid having horizontal scrollbars.
2015-11-26 17:16:35 +00:00
laf
bbae6e9c48 Removed ping + performance graphs and tab if skip ping check 2015-10-17 18:49:01 +00:00
Sławomir Paszkiewicz
73e3626318 - show Config tab only if device isn't excluded from oxidized 2015-10-12 23:02:29 +02:00
Arjit Chaudhary
8c34a1bd61 Wrap header in panel
http://i.imgur.com/vObwD4w.png
2015-09-23 01:17:29 +05:30
Rosiak
62328dab91 Add Device Notes Field
Add a “Notes” field for devices to accommodate #1897
2015-09-17 16:19:48 +02:00
laf
7eed295897 Rebased 2015-07-15 20:46:04 +01:00
Job Snijders
d8693f05ae Fix coding style part 2 2015-07-15 11:04:22 +02:00
laf
eb2f0d7a54 More network map updates 2015-07-14 11:47:42 +01:00
laf
c8232887d3 Merge branch 'master' of github.com:laf/librenms into smokeping 2015-07-07 19:58:37 +01:00
laf
432fa5cadd Updated smokeping to support Rosiaks integration 2015-06-24 11:41:10 +01:00
laf
eee2ae5be1 Added support for logging packet loss and min/max/avg response times on fping 2015-06-22 21:55:31 +01:00
laf
f0395e453e Final final updates to get better map support 2015-06-02 00:37:34 +01:00
laf
95b5eec674 Updated nfsen directory checking 2015-05-24 17:48:41 +01:00
Mike Rostermund
68e9cbb054 Removed the last '/' to not generate /tab=showconfig// 2015-05-20 16:42:17 +02:00
Mickael Marchand
769f6b95c1 rewritten to check for input type 2015-05-11 09:43:20 +02:00
Mickael Marchand
af09cd1af9 allow to search a device by its hostname 2015-05-10 19:11:12 +02:00
laf
dc0d12936c Added support for Oxidized 2015-05-06 22:52:54 +01:00
Søren Rosiak
8a68c91f4f Basic Alert Stats Page
- Diagrams from visjs
- Basic Alert Stats Global Page
- Basic Alert Stats Device Specific Page

Big thanks to lafwood for the help.
2015-04-12 01:10:48 +02:00
laf
c6c2a77716 Added title popovers to the device quick links (ssh/telnet/https) 2015-03-12 21:55:46 +00:00
Paul Gear
e03934dffd Merge pull request #470 from laf/issue-laf-117
Added telnet/ssh/https links to device pages
2015-03-09 08:53:28 +10:00
laf
e1b460320a Tidying up 2015-02-26 23:04:14 +00:00
Neil Lathwood
2159fd48fe Updated files pointing to invalid tables 2015-02-18 21:31:01 +00:00
Neil Lathwood
04a4d7fef8 Added telnet/ssh/https links to device pages 2015-02-16 21:05:02 +00:00
f0o
42de11884e Added:
039.sql: create a new table processes
	processes.inc.php: show all processes from given device including sort-options

Changed:
	unix-agent.inc.php: insert all processes reported by check_mk_agent
	device.inc.php: added tab with link to process-list
2015-01-15 07:18:10 +00:00
laf
54c3b7bc14 Refreshed visually the Device overview page 2014-02-26 22:33:45 +00:00
Adam Amstrong
b273e04241 /// -> //
git-svn-id: http://www.observium.org/svn/observer/trunk@3240 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-25 12:24:34 +00:00
Adam Amstrong
cacf913a55 # -> / for phpdoc
git-svn-id: http://www.observium.org/svn/observer/trunk@3239 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-25 11:29:53 +00:00
Adam Amstrong
d3796004ae accesspoint support (probably) from ethan sommer (#50)
git-svn-id: http://www.observium.org/svn/observer/trunk@3223 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-21 18:17:23 +00:00
Tom Laermans
86348b92bb syntaxer run
git-svn-id: http://www.observium.org/svn/observer/trunk@3218 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-20 23:14:08 +00:00
Adam Amstrong
4db1454e92 move from port_id to interface_id. make ports discovery only discover. add some cleaner functions. add a tiny bit of alerting infrastructure.
git-svn-id: http://www.observium.org/svn/observer/trunk@3195 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-16 13:25:50 +00:00