Commit Graph
4611 Commits
Author SHA1 Message Date
VVelox 354bd2144d feature: Add FreeBSD NFS Client/Server application support (#6008) 2017-03-03 14:48:46 +00:00
towster 6612cb029d When 'mydomain' is set have host_exists check for both sysName and sysName.mydomin (#6052) 2017-03-03 14:27:56 +00:00
VVelox 57f27fbad2 newdevice: Added support for Digipower PDU (#6014) 2017-03-03 14:26:21 +00:00
Neil Lathwood 46198b2caa feature: Added ability to show links to fixes for validate (#6054)
* feature: Added ability to show links to fixes for validate

* Finish this PR up and add a few more messages
Move collation checks to print_list()
2017-03-02 08:04:29 +00:00
Søren Rosiak 87a50465ad newdevice: Add Basic FortiWLC Support (#6016)
* newdevice: Add Basic FortiWLC Support

* altered the sysObjectId discovery
2017-03-01 23:48:13 +00:00
VVelox de6b1d9722 feature: Add Postgres application support (#6004) 2017-03-01 23:46:03 +00:00
Tony Murray a2599115de newdevice: basic Lantronix UDS support (#6042)
* newdevice: basic Lantronix UDS support
Update Lantronix logo to SVG

* Fixed an issue with the logo

* less specific sysObjectId
2017-03-01 23:33:21 +00:00
Neil Lathwood aa24fb62be fix: Do not try and only include files once when they are needed again! #5881 (#6053) 2017-03-01 17:06:11 -06:00
Søren Rosiak 1f59322c2d feature: HPE Comware Processor Discovery (#6029)
* feature: HPE Comware Processor Discovery

* fix format

* Use database entPhysical info

* Remove database check
2017-03-01 14:21:02 -06:00
barryodonovan 11e52b5e69 refactor: Mib poll def to seperate MIB name from RRD name (#6028)
* extended poll_mib_def() to take rrd_name as optional parameter

* removed tabs

* refactored to use
2017-03-01 19:35:48 +00:00
VVelox 002f4157b6 feature: Added support Postfix application 2017-03-01 18:34:22 +00:00
David Bell b21758d456 newdevice: Add detection for more Dell switches (#6048) 2017-03-01 10:43:19 -06:00
Tony Murray 6ecb3acc51 Improve stats data scrubbing (#6041)
Include Darwin (OSX) in the Linux hostname scrubbing, add underscores too.
Way more generic serial number replacement.  Preserves the format of the serial number, but removes the data.
2017-03-01 10:23:38 +00:00
Neil Lathwood 24a5f6bd37 Db collation standardisation (#5932)
* initial work to standardise collation

* more updates

* final bits for collation update (famous last words)

* Rename 165.sql to 166.sql

* Update schema version inside 166.sql

* moved schema file 166->171
2017-02-27 18:28:01 +00:00
Neil Lathwood bbc7d71cf9 some small updates (#6022) 2017-02-27 14:39:02 +00:00
FTBZ 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
Thom Seddon ecd467fee7 fix: hardware detection for Sub10 2.1.7 hardware (#5985) 2017-02-25 11:38:00 +00:00
Søren Rosiak 0ec02360d9 feature: Add Eaton UPS Charge Sensor (#6001) 2017-02-25 11:19:23 +00:00
barryodonovan 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
Neil Lathwood dde32667f0 removed default values for rrd step + heartbeat, rely on db (#5997) 2017-02-24 18:40:16 +00:00
VVelox 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
barryodonovan 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
Tony Murray 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
Neil Lathwood 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
Neil Lathwood 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
David Bell 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
David Bell 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
Neil Lathwood 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
Neil Lathwood 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
FTBZ 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
gilrim 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
Tony Murray 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
Florian Beer 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
David Bell 29d19c6be7 Update SEOS processor OID (#5967) 2017-02-21 14:05:32 +00:00
Thom Seddon ca2662fead fix: Load wifi module for sub10 OS (#5963) 2017-02-21 11:37:57 +00:00
David Bell 847587244f newdevice: Added SEOS CPU discovery #5917 2017-02-20 23:54:07 +00:00
Neil Lathwood 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
Neil Lathwood 13e6409571 newdevice: Added further detection for CiscoSB (ex Linksys) devices (#5922) 2017-02-17 17:56:25 -06:00
Florian Beer 7692d890f1 feature: Add additional service checks (#5941) 2017-02-17 23:08:39 +00:00
Michał Margula 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ł Margula 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
Neil Lathwood 1140be1a01 newdevice: Updated ibmnos support for Lenovo branded devices #5894 (#5920) 2017-02-17 14:44:04 +00:00
Neil Lathwood ced759105e fix: Updated qnap sensor code to be more generic #5910 (#5925)
* fix: Updated qnap sensor code to be more generic #5910

* small change to check for valid data

* small code change
2017-02-17 14:43:30 +00:00
Robert Verspuy 8b2bc22272 Fixed a few small bugs, introduced by the Poller tidy up of laf (#5930)
* Fix for #5734 - incorrect hostname in the mouse-over of the services in the availability-map

* Fixed a few small bugs, introduced by the Poller tidy up of laf
2017-02-17 08:51:48 +00:00
VVelox 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
Tony Murray 0b7b24fd9d Add tests for functions (#5915)
cast isHexString to bool
2017-02-16 08:15:20 +00:00
FTBZ 44c3f1f00c newdevice: Basic support for HPE MSA storage (#5907)
* Basic support for HPE MSA

* Basic support for HPE MSA

* Padawan needs to follow master Murrant to become a Jedi.

* Trying to correct snmpsim
2017-02-16 08:14:28 +00:00
Tony Murray 24aaf17f56 powerconnect detection for M8024-k (#5911)
fixes: 5905
2017-02-15 17:43:42 +00:00
Neil Lathwood e7c46b0fe9 newdevice: Additional TPLink JetStream support (#5908) 2017-02-15 11:35:55 -06:00
Neil Lathwood 38168832a6 refactor: Centralise device up/down check and use in disco #5862 (#5897)
* refactor: Centralise device up/down check and use in disco #5862

* Remove extra indentation
2017-02-15 15:22:09 +00:00