Commit Graph
166 Commits
Author SHA1 Message Date
Stefan FunkeandTony Murray c39f3c7468 fix: quotes breaking powerdns app data (#7111) 2017-09-04 23:30:08 -05:00
crcroandNeil Lathwood 96f066189e feature: Added pi-hole application support (#6782)
* added data to webui

* added last step on docs

* fix scrutinizer issue

* fix blank lines
2017-06-05 23:00:09 +01:00
Neil LathwoodandTony Murray 6d0e5794b2 fix: Strip " from memcached application + pass string to update_application() (#6725) 2017-05-25 07:35:20 -05:00
SlashdoomandNeil Lathwood c52b38b9ee fix: Fixed variable setting for new Bind poller in agent mode (#6671)
* Update unbound.inc.php

* Update unbound.inc.php

* Create unbound_cache.inc.php

* Update AUTHORS.md

* Update apps.inc.php

* Update bind.inc.php

* Update bind.inc.php

* Update bind.inc.php

* Update bind.inc.php
2017-05-19 11:18:36 +01:00
Neil LathwoodandTony Murray 1ce58cd33d feature: Added functionality to support recording status info (#6628)
* feature: Added functionality to support recording status info

* updated phpdoc block
2017-05-13 06:55:38 -05:00
Tom van LeeuwenandNeil Lathwood af9954610f fix: Sanitized nginx application output for ubuntu-16.04 2017-05-08 20:07:37 +01:00
Tony MurrayandNeil Lathwood 379176ceac fix: MySQL app graphs with rrdcached (#6608)
Do not send -1 values when we set the minimum as 0.  Send the proper U for non-values.
fixes: #6223
2017-05-08 19:57:51 +01:00
Neil LathwoodandTony Murray 4ba8be2dfe fix: fail2ban application was setting the wrong variables (#6582) 2017-05-04 13:22:13 -05:00
SlashdoomandNeil Lathwood bdf1616c76 feature: Added additional Unbound chart for query cache info (#6574)
* Update unbound.inc.php

* Update unbound.inc.php

* Create unbound_cache.inc.php

* Update AUTHORS.md

* Update apps.inc.php
2017-05-04 11:04:10 +01:00
VVeloxandNeil Lathwood 62a562b39a feature: Updated BIND application (#6218)
* add BIND named poller

* add BIND named graphs

* add BIND stuff

* add the color pallete used by this

* add app support

* white space cleanup

* document the bind stuff

* expand the linux package stuff a bit

* note the agent and zero_stats value

* now include the $mib stuff

* white space cleanup

* whoops, add the update app bit

* correct a error added when merging

* readd copyright info

* note myself in the copyright info
2017-05-03 15:23:33 +01:00
SvenndandNeil Lathwood 0211c5864b feature: Added NFS-server application support (#6320)
* update

just realized the pull script is a bad idea. not really portable. no
nfsv2 stats for centos 7+

* some php errors

* fixed v4ops

removed nfs-server.sh, as only cat /proc/net/rpc/nfsd is needed as an
extend.

* split rrd

split rrd to store and pull them seperatly

* scrutinizer-ci fix

scrutinizer-ci fix

* phpcbf

* messed up

* stuck, please ignore

* applied reviews murrant suggestions

applied reviews murrant suggestions

* dirty scope

dirty scope was the issue

* style fix ?

* style PSR2

* file handle chart

* fixed style + added documentation

* applied review tasks by murrant, thx murrant!

* applied laf's review, also added tabs in the view to reduce the amount of graphs per page
2017-04-28 22:48:26 +01:00
crcroandNeil Lathwood 238ca0266b feature: Added sdfsinfo application support (#6494)
* initial version

* various fixes, docs updated

* various style fixes

* added missing copyright

* docs correction

* docs correction

* new split char for bash script

* docs correction

* scrutinizer issue

* newline meh

* doc changes
2017-04-27 20:54:39 +01:00
SvenndandNeil Lathwood b2e6d8abef feature: Added opengridscheduler job tracker application (#6419)
* opengridscheduler job tracker

* wrong copy of file

* applied laf's review. Thx laf!

* now including the modified files; thx laf for the review!

* Update Applications.md
2017-04-24 14:19:36 +01:00
VVeloxandNeil Lathwood c222aa41a0 add multi DB support to the Postgres app (#6222)
* now creates a component with all the DBs in it

* add the function get_postgres_databases

* add multi DB support to the Postgres device app page

* add multi DB support to the Postgres graphs

* whoops removed the udpate bit, readd it

* white space cleanup

* now use json for storing DB names

* provide the list of DBs in a cleaner manner

* Update postgres.inc.php
2017-04-12 10:45:12 +01:00
Neil LathwoodandGitHub a0abcbb649 fix: Fix broken mysql application polling (#6317) 2017-04-01 22:22:04 +01:00
Neil LathwoodandTony Murray a6391ed3e8 fix: Update applications poller to use numeric oid instead of nsExtendOutputFull (#6277)
* fix: Update applications poller to use numeric oid instead of nsExtendOutputFull

* Accidental m
2017-03-30 22:01:40 -05:00
Tony MurrayandNeil Lathwood 890350e457 feature: support powerdns-recursor SNMP extend (#6290)
Update direct API access to support version 4
Documentation cleanups
2017-03-30 22:11:50 +01:00
Neil LathwoodandGitHub 63533666c9 Revert "Add missing datasources for postfix app" (#6310)
* Revert "use components for fail2ban jails list (#6221)"

This reverts commit acd11955d2.

* Revert "fix: Add missing datasources for postfix app (#6173)"

This reverts commit 3ac4e3c8d5.
2017-03-30 17:04:39 +01:00
VVeloxandTony Murray acd11955d2 use components for fail2ban jails list (#6221)
* add get_fail2ban_jails functions

* now do component stuff for fail2ban for tracking jails

* now use get_fail2ban_jails for getting a list of jails

* readd the accidentally deleted update app bit

* white space cleanup

* Update fail2ban component code

* remove unneeded variable
2017-03-29 22:54:02 -05:00
Florian BeerandNeil Lathwood 3ac4e3c8d5 fix: Add missing datasources for postfix app (#6173)
* Add missing datasources for postfix app

* Re-order data
2017-03-29 22:59:59 +01:00
Simon MottandNeil Lathwood 359d5004f2 remove quotes from snmp result #6239 (#6244)
* remove quotes from snmp result #6239

* add some spaces
2017-03-23 08:26:22 +00:00
VVeloxandNeil Lathwood 0a4b2658b5 feature: Added SMART application support (#6181) 2017-03-22 14:28:50 +00:00
VVeloxandNeil Lathwood cd16a071ef update Unbound to work with SNMP polling as well (#6151)
* enable polling via SNMP

* document doing Unbound as a SNMP extend
2017-03-19 18:03:51 +00:00
Neil LathwoodandTony Murray 66d1006d91 feature: Added app_state support for applications #5068 (#6061)
* feature: Added app_state support for applications #5068

* moved schema file 173 -> 174

* Re-arrange code

* added device_id to dbUpdate call

* updated function + missing apps

* Rename 174.sql to 176.sql

* Remove $device, it is unneeded when updating.  Rename update_applications() -> update_application()

* Some apps can return simply 0
2017-03-11 08:39:32 -06:00
VVeloxandNeil Lathwood 93a43eddbf properly UC a few things that were improperly LCed for the FreeBSD NFS poller (#6087)
* properly UC a few things that never got UCed after LCing everything

* properly UC a few things that were not UCed post LCing everything
2017-03-04 16:00:32 +00:00
VVeloxandNeil Lathwood 30937af1d3 GAUGE/COUNTER were not UCed after LCing the whole file... fixed (#6086) 2017-03-04 16:00:06 +00:00
VVeloxandNeil Lathwood 671654d155 feature: Added Nvidia GPU application support (#6024) 2017-03-03 20:41:20 +00:00
VVeloxandNeil Lathwood ab2043c634 feature: Add Squid application support (#6011) 2017-03-03 18:55:33 +00:00
VVeloxandNeil Lathwood 354bd2144d feature: Add FreeBSD NFS Client/Server application support (#6008) 2017-03-03 14:48:46 +00:00
VVeloxandNeil Lathwood de6b1d9722 feature: Add Postgres application support (#6004) 2017-03-01 23:46:03 +00:00
VVeloxandNeil Lathwood 002f4157b6 feature: Added support Postfix application 2017-03-01 18:34:22 +00:00
VVeloxandTony Murray 6cf5add528 feature: add fail2ban application support (#5924)
* add single pool based poller for php-fpm

* add the page for php-fpm

* add graph for php-fpm

* I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md.

* use named OID as suggest by @laf

* document PHP-FPM monitoring

* link it in the index

* clean up the named oid

* add how to grab the script in question

* add f2b poller

* add f2b app page

* add f2b graph

* add fail2ban notes

* minor formatting cleanup

* ...more formatting cleanup

* rename it so it can be called via the app page

* Revert "rename it so it can be called via the app page"

This reverts commit 0bde88a038.

* *rename it so it can be called via the apps page
*setup the apps page to call it

* renamed the graph

* now include fail2ban in the apps properly

* correct the wget command so it does not stomp on phpfpm-sp

* update the fail2ban poller for the newest fail2ban script and now build multiple RRDs

* update for now graphing firewalled and banned

* update fail2ban docs to match the newest snmpd extend method

* search automatically for jails and graph them

* graphs the currently banned for a fail2ban jail

* change the tital of the graph for the total banned to make it more descriptive

* Add a explanation of the two variables in the total graph.

* misc. white space cleans ups

* misc. white space cleanup

* minor white space cleanup

* correct descr lenght

* correct descr lenght

* Update fail2ban.inc.php

* Use rrd_name properly

* note the cache file bits

* make caching optional and note why

* Update to new RrdDefinition class

* And the use statement ;/

* Messed the second rrd_def

* correct two minor errors that did not seem to be causing issues

* don't use $vars as per pull #5994

* don't use $vars as per pull #5994

* fix jails graphs

* Remove loops and temp variables

* whitespace

* Change graph so we don't get fractions
2017-02-24 11:50:33 -06:00
Neil LathwoodandGitHub fad5aca1b7 feature: Allow customisation of rrd step/heartbeat when creating new rrd files (#5947)
* feature: Allow customisation of rrd step/heartbeat when creating new rrd files

* revert defaults

* added docs + webui config option

* Move RrdDefinition to an Object to make them easier to create and remove the possibility of typos.

* Fix style/lint issues and missing use statements

* 3 more missing use statements

* updated doc + moved schema file
2017-02-23 22:45:50 +00:00
Michał MargulaandNeil Lathwood c6f6cf1f09 Update apache.inc.php (#5938)
Same situation as with pull request https://github.com/librenms/librenms/pull/5919 . snmpget returns multiline output inside quotes (first and last line have quotes).
2017-02-17 22:18:02 +00:00
Michał MargulaandNeil Lathwood 07c9535c37 Update exim-stats.inc.php (#5919)
* Update exim-stats.inc.php

Output from debug of poller.php:

SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -M /opt/librenms/mibs:/opt/librenms/mibs/supermicro udp:HOSTNAME:161 .1.3.6.1.4.1.8072.1.3.2.3.1.2.10.101.120.105.109.45.115.116.97.116.115]
"0
0"

 exim-statsRRD[update /opt/librenms/rrd/monitoring2/app-exim-stats-5.rrd N:0:0]

So we have two resulting variables from that outpu (note additional quotes there)
$frozen = '"0';
$queue = '0"';

And it fails. My graphs contain nan instead of real values. I think same issue is with apache application.

* Update exim-stats.inc.php

Updated to remove quote from string and then convert it to integer.
2017-02-17 21:31:38 +00:00
VVeloxandNeil Lathwood 872eac10aa feature: add PHP-FPM support for snmpd (#5912)
* add single pool based poller for php-fpm

* add the page for php-fpm

* add graph for php-fpm

* I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md.

* use named OID as suggest by @laf

* document PHP-FPM monitoring

* link it in the index

* clean up the named oid

* add how to grab the script in question
2017-02-16 15:10:42 +00:00
Søren RosiakandNeil Lathwood 414efb3539 refactor: Various Code Cleanup (#5777)
* refactor: Various Code Cleanup

* moar
2017-02-05 22:37:08 +00:00
Richard MayhewandNeil Lathwood c8ba28a1e3 feature: updated rrdcached stats app to support Fedora/Centos (#5768)
* feature: updated rrdcached stats app to support Fedora/Centos

* tabs to spaces
2017-02-04 18:19:46 +00:00
Neil LathwoodandTony Murray 5cdaee16f6 fix: Stripslashes from memcached polling application data #5265 (#5704) 2017-02-01 00:41:42 -06:00
crcroandNeil Lathwood a9a02a0f80 feature: Added exim-stats to applications #5008 2017-01-20 08:47:13 +00:00
crcroandTony Murray db7c49225d fix as reported by @Compizfox (#5473) 2017-01-16 13:27:56 -06:00
crcroandNeil Lathwood 1eca69e001 fix: Add missing ups-apcups application poller #5428 2017-01-16 10:14:16 +00:00
arrmoandNeil Lathwood 0cc9e774f9 refactor: Updated Ups nut support 2016-12-20 09:34:42 +00:00
Neil LathwoodandTony Murray 63569b5bbe fix: Strip out " returned from Proxmox application #4908 (#5003)
* fix: Strip out " returned from Proxmox application

* updated to str_replace
2016-11-21 08:05:22 -06:00
Karl SheaandNeil Lathwood daf2cf7a24 app: Add GPSD application (#4754) 2016-10-08 21:25:50 +01:00
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
crcroandTony Murray 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