13465 Commits

Author SHA1 Message Date
3f5bf56b55 added changelog for v1.25 (#6018) 1.25 2017-02-26 22:14:06 +00:00
252d0c1055 add a nicecase instance for PHP-FPM (#6007)
* add single pool based poller for php-fpm
2017-02-26 13:46:16 +00:00
7956f94eb8 Add a title for the RANCID section (#6012)
* Remote monitoring using tinc VPN

* Added 2 # command-pefixes

* Add bash source code highlighting

* Updated file name + some commands

* update docs

* Add a title for the RANCID section
2017-02-26 13:44:21 +00:00
0c2edcca6e Fix my typo :( (#6010)
* Add librenmsv2 users fields.

* Rename 168.sql to 169.sql

* Update 169.sql

* updated to unicode

* Fix my typo :(
2017-02-26 13:44:08 +00:00
253cbe59e2 require specific snmpsimd version (#6015)
* require specific snmpsimd version

* require specific snmpsimd version
2017-02-26 12:13:54 +00:00
c5531f7067 webui: added opensuse svg logo (#5999)
* webui: added opensuse svg logo

* added logo svg and icon svg
2017-02-25 12:11:33 +00:00
7b2926a659 Add v2 users fields. (#6000)
* Add librenmsv2 users fields.

* Rename 168.sql to 169.sql

* Update 169.sql

* updated to unicode
2017-02-25 12:10:15 +00:00
e0bfad015e fix: Adding state sensor support for Synology DSM (#5991)
* Adding state sensor support for Synology DSM

* Removing UPS MIB file

* Removing spaces and returns

* Adding spaces...

* removing blank line

* Removing unnecessary cache_multi
2017-02-25 11:52:45 +00:00
ecd467fee7 fix: hardware detection for Sub10 2.1.7 hardware (#5985) 2017-02-25 11:38:00 +00:00
0ec02360d9 feature: Add Eaton UPS Charge Sensor (#6001) 2017-02-25 11:19:23 +00:00
5637399b95 webui: fix device edit health update icons (#5996)
Allow 0 and "" for valid health update values.
2017-02-25 10:37:13 +00:00
853dd1e138 extended poll_mib_def() to take rrd_name as optional parameter (#5993)
* extended poll_mib_def() to take rrd_name as optional parameter

* removed tabs
2017-02-24 18:42:17 +00:00
dde32667f0 removed default values for rrd step + heartbeat, rely on db (#5997) 2017-02-24 18:40:16 +00:00
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 0bde88a03840138fa28b75606e3cd269ce023f67.

* *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
fdb0656c17 cleanup graph $vars used (#5994)
* cleanup graph $vars used

* updated riverbed graphs
2017-02-24 15:22:15 +00:00
dfac70be69 1min polling doc (#5995)
* added doc link

* added doc link
2017-02-24 13:00:09 +00:00
0f663b3a82 feature: Add Smseagle transport support (#5989)
* added alert transport for SMSEagle hardware gateway (smseagle.eu)

* added newline

* schema file update + small code refactor

* added docs
2017-02-24 11:55:53 +00:00
20ae9e2ecd webui: Improve device header layout (#5990)
* webui: Improve device header layout

* Update css style version to break caches
Remove unused css.
2017-02-24 09:59:30 +00:00
097a827759 webui: display QR codes for API access (#5988)
* Generate qr code for api hash

Added qrcodejs ( https://github.com/davidshimjs/qrcodejs )

* Add head to modal window

* updated to use fontawesome
2017-02-23 22:19:22 -06:00
6a8318b7ec refactor: Updated storing of sensors data to be used in unix-agent #5904 (#5923)
* refactor: Updated storing of sensors data to be used in unix-agent #5904

* updated from scrut output

* another scrut update

* added missing dbUpdate

* small change

* small change
2017-02-23 19:25:05 -06:00
171e8da4bf fix: Remove sensors_to_state_indexes data before carrying on with generic data removal for delete_device() (#5982) 2017-02-23 23:03:07 +00:00
16c4425469 change validate to check if sql_mode is blank (#5981) 2017-02-23 23:02:51 +00:00
80093d3934 updated htaccess to check for mod_filter (#5980)
* updated htaccess to check for mod_filter

* added mod_deflate check
2017-02-23 23:02:30 +00:00
4273b9a727 Update svg graph clarity (#5979) 2017-02-23 23:02:14 +00:00
3e01de724f newdevice: Add CPU and memory for Entera devices #5974
* Add CPU and memory for Entera devices

* Renaming file for consistency

* split -> explode

* Added graphs to overview page, changed oid used for CPU, and added storage

* Remove uneeded code

* Fixed storage
2017-02-23 23:01:56 +00:00
3512b19e2b feature: Update LLDP discovery to use IP address if discovery_by_ip is enabled #5872
* Update LLDP discovery to use IP address if discovery_by_ip is enabled

* Update as per laf's suggetions

* Fix indentation

* Updated with Laf's suggestion

* Add more debugging

* Trim MAC address

* Remove debug statements
2017-02-23 22:47:58 +00:00
92433f3511 feature: Added snmp_check() to decide if a device is up/down for snmp #5946 (#5948)
* feature: Added snmp_check() to decide if a device is up/down for snmp #5946

* added missing line

* Update snmp.inc.php
2017-02-23 22:47:18 +00:00
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
0997172b37 refactor: Remove the specific services files with the same content as the main services.inc.php (#5934) 2017-02-22 23:53:47 +00:00
ad58af6e6c webui: Update services pages
* Update services page

- Bring services overview page in line with the rest of the interface
using bootstrap classes, panels, colors etc.
- Getting rid of most of the tables using bootstrap's grid classes.

Device services page might need a bit more work but I'm not ready yet.

* Fix style check issues

* Bigger status labels
2017-02-22 23:53:17 +00:00
a8691680ab feature: Added ability to output graphs as svg (#5959)
* feature: Added ability to output graphs as svg

* Update graph.inc.php

* added ability to gzip various files for web servers
2017-02-22 06:08:18 -06:00
1c9cbc42f5 api: Add ability to return all device info for get_devices_by_group() (#5971)
* Changed GetDevicesFromGroup to output all columns if  is defined in url
2017-02-22 09:37:40 +00:00
8d528124a9 fix: addhost.php throw proper exception when database add fails (#5972)
* fix: addhost.php throw proper exception when database add fails
createHost() now throws an exception when adding to the database fails with a hint to run ./validate.php
Add phpdocs to createHost()
2017-02-22 09:12:31 +00:00
edc1368535 webui: Port totals match the colors of the interface links below (#5968) 2017-02-21 16:29:22 +00:00
2f924cb47b fix: syslog, pull out pam program source (#5942)
* Clean up syslog integration

* Fix syslog test

* Fix some more tests I missed earlier
2017-02-21 08:40:16 -06:00
29d19c6be7 Update SEOS processor OID (#5967) 2017-02-21 14:05:32 +00:00
ca2662fead fix: Load wifi module for sub10 OS (#5963) 2017-02-21 11:37:57 +00:00
acbdda94b8 fix: show sysName on network map when ip_to_sysname enabled (#5962) 2017-02-21 08:04:18 +00:00
847587244f newdevice: Added SEOS CPU discovery #5917 2017-02-20 23:54:07 +00:00
53cf4ad9c8 webui: New Cumulus Logo (#5954) 2017-02-20 15:07:53 +00:00
dc7e6f17c6 fix: exim queue graph (#5945)
* fixed exim app queue graph to show queue and not frozen messages

* I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md.
2017-02-19 22:27:43 +00:00
bf7656923e feature: Scripts to easily apply and remove github Pull Requests
Scripts to easily apply and remove github Pull Requests
2017-02-18 17:43:15 +00:00
03d07f978b Add php-fpm graphs to application overview (#5912) (#5937)
* Add php-fpm graphs to application overview (#5912)

* Rename graph to php-fpm_stats
2017-02-18 05:23:55 +00:00
9f3ac03233 newdevice: Added support for Linksys Smart Switch devices #5754 (#5921)
* newdevice: Added support for Linksys Smart Switch devices #5754

* Update linksys.svg
2017-02-17 22:12:00 -06:00
3b1358b996 fix: Added message column to component_statuslog table #5431 (#5929) 2017-02-17 18:04:04 -06:00
13e6409571 newdevice: Added further detection for CiscoSB (ex Linksys) devices (#5922) 2017-02-17 17:56:25 -06:00
33b93db074 Order application overview panels by hostname (#5939) 2017-02-17 23:09:32 +00:00
7692d890f1 feature: Add additional service checks (#5941) 2017-02-17 23:08:39 +00:00
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
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