Commit Graph

980 Commits

Author SHA1 Message Date
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
crcro
96ed9c072c run rename only for ipmi type sensors, added the power usage sensors, updated rewrite for known hosts 2016-08-10 04:55:30 +03:00
crcro
d5b499bae3 ipmi sensors rewrite based on known hardware id 2016-08-10 00:20:51 +03:00
Tony Murray
3d945d2bbe Merge pull request #3938 from laf/issue-3877
Update BGP Discover + Polling and WebUI
2016-08-09 15:50:21 -05:00
Tony Murray
68303a96da Merge remote-tracking branch 'upstream/master' into rrd-create-remote 2016-08-08 20:23:15 -05:00
Aaron Daniels
b9747b2002 CISCO-NTP-MIB
A new Discovery/Poller module to collect NTP statistics from devices which support the CISCO-NTP-MIB
Discovered peers are stored using components and statistics are displayed using 'applications'
A critical alarm is raised when a stratum of 16 is reported.
2016-08-09 07:14:25 +10:00
Aaron Daniels
ae7bb069ff - Change the IPSLA feature to allow different metrics to be collected per type.
- UDP Jitter metrics collected.
- Added opstatus code and DB field
- Discovery sets opstatus
- Added Status selector to SLA page
- Merged master and moved SQL
2016-08-09 06:59:17 +10:00
Tony Murray
ead28f6acd Merge remote-tracking branch 'upstream/master' into rrd-create-remote 2016-08-07 08:22:32 -05:00
crcro
a2e7726cd0 fixes for general apps page 2016-08-07 06:24:34 +03:00
Tony Murray
d489554121 Merge pull request #3963 from crcro/nfs-v3-stats-fix
nfs-v3-stats fixes
2016-08-05 13:32:45 -05:00
crcro
1476650740 app-dhcp-stats initial release 2016-08-05 14:46:29 +03:00
crcro
055ea768fc fix files names/layout for app page display 2016-08-04 21:59:26 +03:00
Tony Murray
ccf5b993b5 Use nicecase on device apps page
Add powerdns-recursor
Indentation
2016-08-04 13:24:59 -05:00
Neil Lathwood
055a512f29 Merge pull request #3955 from florianbeer/syslog-html
Update Syslog form HTML
2016-08-04 18:55:41 +01:00
Florian Beer
4d2a39995d Update Syslog form HTML 2016-08-04 14:36:31 +02:00
Florian Beer
6bdcd20d94 Update device Apache graph HTML 2016-08-04 13:44:30 +02:00
laf
08c77862b9 Renamed variable for sql query 2016-08-02 23:38:08 +01:00
laf
e54881df14 Improved junos BGP code + WebUI 2016-08-02 22:28:57 +01:00
crcro
7dfc4db15a app-os-updates initial release 2016-08-02 18:42:31 +03:00
Tony Murray
97daf3dd54 Merge remote-tracking branch 'upstream/master' into rrd-create-remote 2016-08-01 10:18:28 -05:00
Rosiak
1bad01fbc1 OSPF Display Update 2016-07-31 01:05:02 +02:00
Tony Murray
2c98fd7426 Merge remote-tracking branch 'upstream/master' into rrd-create-remote 2016-07-26 19:29:11 -05:00
Neil Lathwood
57499c456f Merge pull request #3869 from murrant/app-pdns-recursor
New App: Powerdns Recursor
2016-07-26 20:51:19 +01:00
Neil Lathwood
42a8c27237 Merge pull request #3821 from adaniels21487/issue-3272-1
Component Update - Status
2016-07-25 20:13:25 +01:00
Rosiak
bc18e1a85c Prettify Cisco IPSec Tunnel Display
Bootstrapify etc.
2016-07-24 11:36:20 +02:00
Tony Murray
465139d458 Merge remote-tracking branch 'upstream/master' into app-pdns-recursor 2016-07-23 23:44:20 -05:00
Neil Lathwood
d792dbed1e Merge pull request #3853 from crcro/app-nfs-v3-stats
app: nfs-v3-stats
2016-07-23 14:01:12 +01:00
Tony Murray
8f00f49b79 Group sensors of the same type together, then order by index, oid 2016-07-22 18:36:10 -05:00
Tony Murray
94467671b3 New App: Powerdns Recursor
Polling must have access to stats for the device, port 8082 (Agent file could be added to avoid that)

**Graphs:**
Questions
Answers
Cache Performance
Cache Size
Outbound Queries

**Graph changes**
generic_multi:print_total added, allow per-dataset colors, document variables
generic_multi_line: allow per-dataset colors, document variables
2016-07-22 14:29:29 -05:00
crcro
ff5b6c9a2b app: nfs-v3-stats
Rewrite of the original nfs-stats app.
Includes more stats, nicer graphs, no more nfsstats bin requirement.
2016-07-20 02:14:30 +03:00
Tony Murray
1f5cfe283e Merge remote-tracking branch 'upstream/master' into rrd-create-remote 2016-07-18 15:58:56 -05:00