Commit Graph

121 Commits

Author SHA1 Message Date
crcro f87043eca7 readded ds 2016-09-24 20:09:27 +03:00
crcro 0eea180151 removed file version and unused vars 2016-09-20 22:03:30 +03: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
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
Tony Murray 9284bc60ff Update code in includes to be PSR-2 compliant (#4220)
refactor: Update code in /includes to be psr2 compliant #4220
2016-08-28 18:32:58 +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
Tony Murray de9c02d66e Fix rrd_name 2016-08-21 08:06:15 -05:00
Neil Lathwood 637d01cd13 Merge pull request #4077 from murrant/ntpd-app
NTPD Application
2016-08-18 21:30:33 +01:00
Tony Murray 22de3fca31 Merge pull request #4103 from vitalisator/issue-4094
DSname too long
2016-08-18 07:45:07 -05:00
vitalisator 2ecc764c8a trim to 19 characters 2016-08-18 14:35:48 +02:00
vitalisator 6f7c62ce50 DSname too long 2016-08-18 11:26:52 +02:00
Tony Murray 984dafda4b Merge remote-tracking branch 'upstream/master' into ntpd-app 2016-08-17 15:40:38 -05:00
Florian Beer a61c1b2ebf Add snmp polling capability for Proxmox 2016-08-17 21:56:23 +02:00
Alan Gregory 9de3d43056 Fix unused variable 2016-08-17 09:38:38 -03:00
Tony Murray f3a78d8136 NTPD Application
Support the unix agent
Add to documention.
Renamed so it will be automatically enabled by the unix-agent.
2016-08-15 23:54:13 -05:00
Alan Gregory 8c0735d64e Fix parameter order 2016-08-15 18:17:41 -03:00
Alan Gregory 00c5c65d47 Fix array declaration 5.3 compatible 2016-08-15 18:07:36 -03:00
Alan Gregory 772d7fa28d Added Unbound Support 2016-08-15 17:46:10 -03:00
Tony Murray f526cb7d8d Ceph: only parse ceph data
Was parsing through all agent data, rather than just ceph data.
2016-08-12 14:33:17 -05:00
Tony Murray 0bc79a3b5f put rrd_name back 2016-08-12 13:50:49 -05:00
Tony Murray 9ac73b8eb2 Fix Ceph
compact() accepts strings naming the variables, not actual variables...
2016-08-12 13:31:11 -05:00
Neil Lathwood f02b4c9253 Merge pull request #4037 from murrant/fix-ceph-app
Fix ceph filenames
2016-08-12 17:46:45 +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
Tony Murray 224ebb0c0c Fix ceph filenames 2016-08-12 10:29:27 -05:00
Tony Murray 68303a96da Merge remote-tracking branch 'upstream/master' into rrd-create-remote 2016-08-08 20:23:15 -05:00
laf 34feda8613 Fixed ./includes/polling/applications/rrdcached.inc.php for php 53 2016-08-08 20:20:18 +01:00
laf 544fd95a63 Updated to support php 5.3 2016-08-08 20:03:40 +01:00
Tony Murray ead28f6acd Merge remote-tracking branch 'upstream/master' into rrd-create-remote 2016-08-07 08:22:32 -05:00
Florian Beer 7d362315c6 Fix array element resolution bug 2016-08-06 01:51:53 +02:00
Florian Beer 12f441b2bc Fix array return value
Scrutinizer bug, reset() expects a reference.
2016-08-05 20:53:48 +02:00
Florian Beer b3a5f3b61c Use unserialize() and full OID number 2016-08-05 20:37:50 +02:00
Florian Beer 6e3b01e204 Add snmp polling capability for memcache 2016-08-05 20:37:50 +02:00
crcro 1476650740 app-dhcp-stats initial release 2016-08-05 14:46:29 +03:00
Daniel Preussker c63728c552 Merge pull request #3932 from murrant/spelling-fix
PowerDNS-Recursor improvements
2016-08-04 05:38:26 +00:00
Tony Murray 3950f9dd4c Update powerdns-recursor.inc.php
Debug print the correct url for direct connection
2016-08-02 20:42:04 -05:00
crcro 7dfc4db15a app-os-updates initial release 2016-08-02 18:42:31 +03:00
Tony Murray e8af37ef03 PowerDNS-Recurosor improvements
Add config variables for direct connection
Fix spelling
2016-08-02 08:27:06 -05:00
Tony Murray d4670d9a7b update nfs-v3, minor cleanup nfs-stats to match. 2016-08-01 11:51:06 -05:00
Tony Murray 97daf3dd54 Merge remote-tracking branch 'upstream/master' into rrd-create-remote 2016-08-01 10:18:28 -05:00
Tony Murray aa23c19b78 Use derive instead of counter to avoid spikes 2016-08-01 08:32:17 -05:00
Tony Murray 2c98fd7426 Merge remote-tracking branch 'upstream/master' into rrd-create-remote 2016-07-26 19:29:11 -05:00
Tony Murray 76d5311647 Update nfs-stats.inc.php to use data_update
filter tags in ports.inc.php, and update the phpdoc for rrd_array_filter()
2016-07-25 20:42:37 -05:00
Tony Murray 465139d458 Merge remote-tracking branch 'upstream/master' into app-pdns-recursor 2016-07-23 23:44:20 -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
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 a1ab19047e Merge remote-tracking branch 'upstream/master' into rrd-create-remote 2016-07-07 21:28:47 -05:00