Commit Graph

960 Commits

Author SHA1 Message Date
Neil Lathwood d5b20dbd1f webui: Added support for skipping snmp check on edit snmp page for devices (#4896) 2016-11-01 17:58:55 +00:00
Neil Lathwood a2f2ccfd2c security: Fix some reported security issues (#4807) 2016-10-15 20:45:18 +01:00
Eldon Koyle 7ca80410d5 feature: Add q-bridge-mib tagged VLAN membership #3285 2016-10-11 22:29:06 +01:00
Neil Lathwood 6c324cd03e refactor: Improve sensors polling for performance increase (#4725)
refactor: Improve sensors polling for performance increase
2016-10-11 19:34:09 +03:00
Karl Shea daf2cf7a24 app: Add GPSD application (#4754) 2016-10-08 21:25:50 +01:00
Aaron Daniels a2563c5b67 feature: Added Cisco Integrated Management Console inventory and sensor support #4454 2016-10-06 01:40:37 +01:00
Neil Lathwood f4bbba1b7d fix: Updated edit snmp to set default poller_group (#4694) 2016-10-02 07:28:22 +00:00
Neil Lathwood faeb5e4984 webui: Individual devices now use bootgrid syslog (#4584) 2016-09-28 14:15:57 -05:00
Neil Lathwood 9936aa77ff Feature: Added alerts output to capture system (#4574)
* Feature: Added alerts output to capture system

* Renamed $output to $content

* removed duplicate functions
2016-09-26 16:27:27 -05:00
crcro b0491b698e new line in files 2016-09-25 00:00:06 +03:00
crcro 7f8f302686 rewrite ups-apcups 2016-09-24 23:49:35 +03:00
Neil Lathwood be611e6f16 Merge pull request #4448 from crcro/app-ups-nut-update1
app: ups-nut update 1
2016-09-24 18:29:25 +01:00
boudreau 9a5b5c41a4 cosmetic change runtime 2016-09-23 09:31:10 -04:00
Bennett Blodinger ac2b878607 font-awesome datetimepicker
Forces jquery-datetimepicker to use font-awesome icons
2016-09-22 10:47:25 -04:00
Bennett Blodinger 07574b27d8 Move to Font Awesome
Keeps the look more in line with the navigation bar icons.
In the future with Bootstrap 4, Glyphicons will not be included, so this
starts the transistions away.
2016-09-22 10:44:17 -04:00
crcro 780d8b2139 removed snmp query from webui, changed and added echo if file is missing 2016-09-20 22:01:29 +03:00
Neil Lathwood a8e712070f Merge pull request #4490 from boudreau/master
feature: Added Runtime support for APC ups
2016-09-20 18:09:40 +01:00
Tony Murray c5ea25a7d4 Disable horizontal resizing of textarea, bootstrap takes care of this for us 2016-09-20 09:03:12 -05:00
Neil Lathwood eb2078b04d Some small visual updates 2016-09-20 14:40:53 +01:00
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
boudreau ae9d36175b Create runtime.inc.php 2016-09-19 11:02:15 -04:00
boudreau a9a2e7e742 Update overview.inc.php 2016-09-19 11:01:29 -04:00
boudreau 4bd0e75b18 Create runtime.inc.php 2016-09-19 11:00:15 -04:00
boudreau 7a0085d410 Update health.inc.php 2016-09-19 10:59:20 -04:00
crcro 7d7621fd3e removed file versions from comments 2016-09-15 23:24:25 +03:00
crcro 0dd523be45 app-ups-nut update 1 2016-09-15 19:37:52 +03:00
Neil Lathwood fe9d0c18ce fix: Call was always being done to check for local files (#4427) 2016-09-13 20:26:28 -05:00
crcro 7da4cca4e4 feature: new app: ups-nut (#4386)
* app: ups-nut

* newline ...

* removed code from another pr

* added battery charge status

* added battery charge status

* be happy travis...

* added UPS-nut to Applications
2016-09-12 21:59:33 -05:00
crcro de707a259f refactor: ntp apps (#4333)
* updated nicecase function for ntp server and client app

* ntp applications refactoring

* removed agent for ntp-server: reported as not working

* removed ntpd from agent polling. thx @murrant
2016-09-10 07:37:00 -05:00
David Bell c61f2c183a webui: Add check to display make bill on port page only if billing is enabled (#4361) 2016-09-06 17:42:31 +01:00
Aaron Daniels 948d4f67a1 feature: extended graphing for sla - icmp-jitter #4341
* - Added more graphs for rtt_type: icmpjitter

* - use $fields as that is the standard throughout the code.
2016-09-06 17:19:10 +01:00
Tatermen 19f231d408 Freeswitch support (#4203)
* Added support for freeswitch via unix_agent

* Fixed display of graphs on apps overview

* Removed tab indents

* Fixed not sending port_descr_type (#4188)

* Removed / Updated version info to just be LibreNMS (#4193)

* Remove requirement for ['enable_printers'] (#4192)

* ricoh devices returning garbage as toner level (#4180)

* ricoh devices returning garbage as toner level

* ricoh toner extra check

* more ricoh rules

* Fix remote rrdtool_check_rrd_exists() calls (#4196)

It was comparing with the full name when rrdcached only printed out the relative name.
Thanks mikmak on irc for lots of troubleshooting.

* check for no motd line (#4200)

Fixes #4199

* Only push the toc down, not the content
the toc is on top when the header switches to two lines, so we only need to push that down.

* IRC bot - detect lost communication

Force reconnect if no data received from server for config['irc_conn_timeout'] seconds (that may happen when network/VPN goes down - in such case IRC bot won't get immediately notification that connection was lost, at least till it tries to send anything).

* Update irc.php

* Update irc.php

* Update irc.php

* Update irc.php

* fix ifName randomly defined, breaking influxdb updates (#4202)

* IRC bot - allow to disable ssl check

In PHP 5.6.x stream wrappers verify peer certificates and host names by default when using SSL. That fix allows to turn off that verification with config option $config['irc_disable_ssl_check'] = true; 
It is useful when you want to use self generated certificate for your own IRC server.

* Update irc.php

* More more docs (#4197)

* Updated docs + some small code changes

* Added validating code doc for developers

* Doc updates

* Updates and improvements

* Add ntpd to the list of agentapps (#4194)

* Fix deprecated constructors
This small change should't prevent easy updates to libraries and fixes the lint check on php7

* Don't allow php7 failures anymore

* Fix defunct process issues: create Proc class (#4210)

* Proc class
Encapsulate processes in a class, when they go out of scope, we can use the __destruct() process to make sure the process terminates.

* Fix rrdtool_last checks failing

* Don't close rrdtool in rrd_graph
Try to start rrdtool process if they haven't been started yet
Remove some extra debug output

* phpdocs added
several cleanups
should still be functioning the same
Only open one  rrdtool process for graph.php

* include common.php in definitions.inc.php (#4198)

definitions.inc.php makes a call to dbFetchRow, which uses c_echo()
It is safe to include common.php here as it only has function definitions.

* Use pre-commit.php in for travis-ci tests (#4212)
2016-08-26 12:08:48 +01:00
Søren Rosiak edab8aa191 Merge pull request #4153 from laf/issue-4152 2016-08-21 17:05:15 +03:00
laf ab8acf2773 Fixed ntpd application graphs 2016-08-21 14:58:02 +01: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
laf 2a54c096af Fixed namespace issue 2016-08-18 22:06:00 +01:00
Neil Lathwood ac2ff295d8 Merge pull request #4071 from murrant/move-libs
Move third party software to html/lib from html/includes
2016-08-17 20:59:02 +01:00
Neil Lathwood a42ba9a221 Merge pull request #4005 from adaniels21487/issue-3999
CISCO-NTP-MIB
2016-08-17 21:09:50 +02:00
Tony Murray fe784aec83 Merge pull request #4074 from OpcaoTelecom/unbound
Added Unbound graph support
2016-08-17 10:01:48 -05:00
Tony Murray 232fdc2516 Merge pull request #4006 from adaniels21487/issue-3550
Change the IPSLA feature to allow different metrics to be collected…
2016-08-16 08:55:44 -05:00
Alan Gregory 772d7fa28d Added Unbound Support 2016-08-15 17:46:10 -03:00
Tony Murray bf2c522c89 Move third party software to html/lib form html/includes 2016-08-15 13:16:10 -05:00
Tony Murray 5db9256baf Fix rrd_name escaping * used with glob()
Thanks tuxis-ie for finding the issue and fix.
2016-08-12 14:42:57 -05:00
Aaron Daniels 4c060a430a - Made module generic, not cisco specific. 2016-08-12 17:21:55 +10:00
Aaron Daniels 27eb389409 Merge branch 'master' into issue-3999 2016-08-12 16:34:13 +10:00
Aaron Daniels 0fbea91be3 - files should have a blank line at the end. 2016-08-12 16:32:40 +10:00
Neil Lathwood 2aaf9559ea Merge pull request #4016 from crcro/ipmi_rewrites
ipmi sensors rewrite based on known hardware id
2016-08-11 23:37:40 +01:00
Aaron Daniels 70a05369fb Merge branch 'master' into issue-3550
Conflicts:
	html/includes/graphs/device/sla.inc.php
	includes/polling/cisco-sla.inc.php

- Use standardised RRD functions
2016-08-12 08:22:40 +10:00
Neil Lathwood e09f5c552c Merge pull request #3800 from murrant/rrd-create-remote
RRD Cleanup: centralize rrd_exists check, utilize data_update() and rrd_name()
2016-08-10 18:44:45 +01:00