Commit Graph

100 Commits

Author SHA1 Message Date
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
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
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
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
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
Tony Murray
1182cb3f6d One more lint error 2016-08-08 22:46:58 -05:00
Tony Murray
68303a96da Merge remote-tracking branch 'upstream/master' into rrd-create-remote 2016-08-08 20:23:15 -05: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
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
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
crcro
8ef99b6085 Revert "app-os-updates"
This reverts commit cfc4a03c0e.
2016-07-23 17:14:36 +03:00
crcro
cfc4a03c0e app-os-updates
Fixed wrong graph template used
2016-07-23 17:01:57 +03: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
Tony Murray
01cfb960d1 Fix sensors rrd name issue
Use last instead of first, as last won't flush rrdcached
Only stream_select if timeout > 0
Attempt to fix mysql
2016-07-08 22:58:36 -05:00
Tony Murray
c01d8b7c4e Eradicate is file checks for our rrds (leave them for nfsen and collectd) 2016-07-08 15:09:11 -05:00
crcro
779701e2b2 fixed various legend alignment bugs, made more flexible general line template 2016-07-08 19:15:48 +00:00
crcro
f0f8886174 small fix not to show stack value on legend 2016-07-08 18:02:07 +00:00
crcro
6fc1dac1d8 added the posibility to or not to stack values, made nfs stats graph without stack 2016-07-08 17:32:41 +00:00
Tony Murray
c18c01c83f Fix scrut issues, pass by reference 2016-07-07 21:57:18 -05:00
Tony Murray
57650e4ffc Remove nfs requirement for distributed poller (with rrdtool 1.5+)
Use data_update instead of rrd_update/rrd_create and influx_update
Centralize rrd file check so we can check against a remote rrdcached server too
Use rrd_name() to generate rrd file names
2016-07-07 21:10:06 -05:00
crcro
6de8a0983f changed the graph type to allow custom colors and made lines ticker 2016-07-07 11:59:29 +00:00
crcro
93b891b9e3 added a new application monitoring: nfs server stats 2016-07-07 11:05:49 +00:00
Dimitry
84b78fc6d2 Fixed spelling 2016-06-15 14:51:23 +02:00
Tony Murray
36818e7a52 Add graphs to graphs menu page.
Use rrd_name() function
Add copyright headers
2016-06-09 00:40:04 -05:00
Tony Murray
60624c1ac0 Rrdcached application monitoring
Can collect data from the agent or by connecting directly
2016-06-08 20:48:53 -05:00
f0o
091cc822de Added Hit/Misses graphs for memcached 2016-05-05 14:47:08 +00:00
Tony Murray
40759c511f Correct stripos check 2016-04-24 07:47:16 -05:00
Tony Murray
b98ba8c1a4 Remove some deprecated functions 2016-04-24 01:05:14 -05:00
Tony Murray
9f22b18dc8 Split is removed in PHP7, replace with explode as none were using it as a regex.
Also fix two array keys without quotes in include/syslog.php
Fixes #2205
2016-02-25 14:34:06 -06:00
Paul Gear
0d2949f69e Overhaul use of rrdtool_lastupdate & STACK for rrdtool 1.4/1.5 compatibility 2015-11-15 11:48:39 +10:00
Mark Schouten
930d9b022d Move the ceph_rrd function to includes/common.inc.php 2015-11-10 12:33:52 +01:00
Mark Schouten
669eb872a5 Implement a function to fix the rrd path 2015-11-10 11:44:30 +01:00
Mark Schouten
a4eb4391c5 Add Ceph support 2015-11-10 11:10:06 +01:00
Mark Schouten
8543ca3d46 Fix some if-else-codeblocks according to codingstyle 2015-08-31 16:36:00 +02:00
Mark Schouten
45dd02d301 %s/mysql/proxmox/g 2015-08-31 16:36:00 +02:00
Mark Schouten
fce9b44c32 Add licenses 2015-08-31 16:34:55 +02:00
Mark Schouten
a211b3706d We don't seem to need a multiplier here 2015-08-31 16:34:55 +02:00
Mark Schouten
bf913f5a3b Add initial support for Proxmox VM network traffic. [WIP] 2015-08-31 16:32:28 +02:00
Job Snijders
d8693f05ae Fix coding style part 2 2015-07-15 11:04:22 +02:00