Commit Graph

657 Commits

Author SHA1 Message Date
boudreau
d4f2ed53b3 Create runtime.inc.php 2016-09-19 10:56:17 -04:00
Aaron Daniels
f7b68c4714 fix: Graph formatting for udp-jitter graphs. (#4433) 2016-09-14 16:24:23 +01: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
crcro
6bc67b421e fix generic v3 multiline graph total (#4388) 2016-09-09 11:33:48 -05: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
David Bell
f42406e2b0 fix: Added options to make temperature graphs display y-axis correctly #4350 2016-09-05 16:19:53 +01:00
David Bell
0b9b85c224 fix: Added options to make voltage graphs display y-axis correctly #4326 2016-09-05 14:47:31 +01:00
Søren Rosiak
90b573d685 fix: Remove Cisco remote access stats graph transparency (#4331) 2016-09-03 08:50:58 -05:00
Søren Rosiak
b81e67c656 fix: Cisco remote access stats bugfix #4293 (#4309) 2016-09-02 13:12:01 -05: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
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
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
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
Neil Lathwood
191bed9dd8 Merge pull request #4038 from murrant/proxmox-ceph-fix
Proxmox rrd fix
2016-08-12 17:46:15 +01:00
Tony Murray
1949f2f4ea Proxmox rrd fix
Attempt to fix proxmox rrd naming. Create a separate function to generate it's file names.
2016-08-12 11:05:58 -05:00
Aaron Daniels
4c060a430a - Made module generic, not cisco specific. 2016-08-12 17:21:55 +10:00
Aaron Daniels
4c34541285 - Modified to use standardised RRD functions 2016-08-12 16:53:20 +10:00
Aaron Daniels
27eb389409 Merge branch 'master' into issue-3999 2016-08-12 16:34:13 +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
a296a27adf duplicate description field when area was used 2016-08-10 04:28:08 +03:00
crcro
d5b499bae3 ipmi sensors rewrite based on known hardware id 2016-08-10 00:20:51 +03:00
Tony Murray
21ad9c2a8b generic_v3_multiline: extra colin breaks the graph 2016-08-09 14:03:16 -05:00
Tony Murray
1182cb3f6d One more lint error 2016-08-08 22:46:58 -05:00
Tony Murray
aa859fe5c4 Fix php lint error 2016-08-08 20:33:41 -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
c97ef9651e Merge pull request #3989 from crcro/apps-fix
fixes for general apps page
2016-08-08 15:04:58 -05:00
laf
ec4535dae7 Added php lint checking for travis 2016-08-08 19:53:04 +01: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
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
Ahmed Sajid
081d64895b Removed newline from graph rrd_option
This new line was causing Error Drawing Graph.

Tested on Infoblox 7.3.4
2016-07-28 17:14:19 -04: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
047c5f5b7f Merge pull request #3857 from jaroug/issue-3856
Fix NFSen tab not showing
2016-07-26 20:34:12 +01:00
Tony Murray
465139d458 Merge remote-tracking branch 'upstream/master' into app-pdns-recursor 2016-07-23 23:44:20 -05:00
crcro
dd6b558077 fixed wrong graph template used 2016-07-23 17:26:42 +03:00