Commit Graph
2254 Commits
Author SHA1 Message Date
Neil LathwoodandGitHub 98e8e7e407 fix: Compare existing device ip to host lookup like for like (#6316) 2017-04-01 22:17:32 +01:00
Neil LathwoodandGitHub ae73109159 fix: Fixed CPU/Mem polling for Cyberoam-UTM devices (#6315) 2017-04-01 22:17:08 +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
Neil LathwoodandGitHub 90e2c74209 fix: Fixed F5 ports not using hc counters (#6294) 2017-03-29 16:43:09 +01:00
barryodonovanandNeil Lathwood 8404eef42e newdevice: Added Rx levels on Ubiquiti Airfibre (#6160)
* poll and graph Rx levels

* some final(?) changes
2017-03-24 20:54:11 +00:00
InfraTeamandTony Murray bc14b9137e newdevice: Added detection for Hirschmann Railswitch #6161 (#6207)
* Added detection for Hirschmann Railswitch

* Update AUTHORS.md

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

* Fixes for PR 6207 requested changes

* Fixes for PR 6207 requested changes

* Fixes for PR 6207 requested changes

* Fix for PR 6207 requested changes

* Fix for PR 6207 requested changes

* Fix for PR 6207 requested changes (old states and temperatures directories removal)

* fix for PR 6207 : state fileupdated
2017-03-23 14:36:25 -05:00
David BellandGitHub a1b62cea73 Update ports.inc.php (#6253) 2017-03-23 14:11:18 +00: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
Falk SternandTony Murray affe5090f4 feature: Send collected data to graphite server (#6201)
* Initial support for graphite

* Enable graphite include

* fixed typos.

* Fixed port naming to graphite metric names

* Added documentation for Graphite

* added documentation for graphite

* fixed style

* replace / with _ in interface names for graphite

* sets default graphite port

* adds rrd-name tags to the metric, otherwise metrics get lost

* add suggested storage schema for graphite

* add whitespace

* Updated to show some output

* bad english
2017-03-22 10:35:44 -05:00
VVeloxandNeil Lathwood 0a4b2658b5 feature: Added SMART application support (#6181) 2017-03-22 14:28:50 +00:00
Søren RosiakandTony Murray 5cf779c60b refactor: Cisco ASA Polling Performance Improvements (#6139) 2017-03-22 00:22:48 -05:00
David BellandTony Murray 31ae41beed Use HC counters even if one direction is reporting as 0 (#6106)
* Use HC counters even if one direction is reporting as 0

* Change to >=

* Change this to a for loop

Treats each item individually.  I left it as >, because if the HC value is 0, then the normal value is 0. And it no longer affects other values as we treat each one individually.

* Change check again...

* Update test for HC being used

* Last time?

* Typo
2017-03-22 00:20:58 -05:00
crcroandTony Murray 716441eeda fix: cisco 4948 device information 2017-03-21 09:11:42 -05: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 LathwoodandGitHub 38cebc5fd7 feature: Added better BGP support for Arista (#6046)
* feature: Added better BGP support for Arista
2017-03-11 23:16:49 +00:00
Neil LathwoodandTony Murray 9868e517dc fix: Record actual sensor value for unix-agent hddtemp #5904 (#6089)
* fix: Record actual sensor value for unix-agent hddtemp #5904

* Update hddtemp.inc.php

* Update hddtemp.inc.php
2017-03-11 08:46:47 -06:00
barryodonovanandTony Murray d53f666221 ensure mib-name passed as parameter (#6135)
* ensure mib-name passed as parameter

* use str_contains instead of stristr
2017-03-11 08:42:57 -06: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
Tony MurrayandNeil Lathwood a3c26d07f7 newdevice: Basic Zebra Print Server detection (#6162) 2017-03-11 14:05:13 +00:00
Xavier BeaudouinandTony Murray fa29839d36 newdevice: Added Coriant support (#6026)
* Added Coriant TNMS MIB and MEF (Metro Ethernet Forum) MIB

* Coriant Logo

* Added Basic Librenms Support and MEF support

* Forgot snmpsim

* Better like this

* Spaces !

* Renamed sql file

* Space

* Fix spaces

* svgo optimized logo

* Removed modules that are by default to 0

* Added sysDescr as requested

* Fix conflict file

* Setting right severity id in the discovery log_event()

* Since MEF-EVC can be used on other devices than Coriant's one, lets this be used by the poller/discovery itself

* Fixed spaces

* Rename 173.sql to 174.sql

* Moved logo from os/  to logos/
Addd Icon

* Fix name

* minimize file

* Change l/w to viewbox and minify

* Renamed mef-evc to mef on request from @laf

* Rename 174.sql to 175.sql
2017-03-11 07:30:31 -06:00
Neil LathwoodandTony Murray 1395071aa4 refactor: Organised Extremeware and XOS tests #5850 (#6096)
* refactor: Organised Extremeware and XOS tests #5850

* updated as per comments from murrant
2017-03-10 22:27:23 -06:00
Neil LathwoodandTony Murray 255d5fb598 newdevice: Added state support for HP servers #5113 (#6124) 2017-03-09 16:05:01 -06:00
Søren RosiakandTony Murray faf5517362 newdevice: Improved APC NetBotz Support (#6157)
* initial

* woops

* remove quote
2017-03-09 15:40:39 -06:00
Neil LathwoodandTony Murray 58442e0a75 refactor: Further speed improvements to port poller (#6037) 2017-03-07 21:14:24 -06:00
David BellandNeil Lathwood 2a211e86dc newdevice: Added extrahop detection (#6097) 2017-03-06 14:11:10 +00:00
Neil LathwoodandGitHub df05f3dc37 a small amount more logging for uptime (#6055)
* a small amount more logging for uptime

* do not format
2017-03-04 20:41:07 +00:00
David BellandNeil Lathwood 0227dd655f Correction to netstats (#6088) 2017-03-04 18:14:20 +00: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
pblasquezandNeil Lathwood 680ef0645f newdevice: Added support for F5 Traffic Management Module memory 2017-03-03 20:38:59 +00:00
VVeloxandNeil Lathwood ab2043c634 feature: Add Squid application support (#6011) 2017-03-03 18:55:33 +00:00
VVeloxandNeil Lathwood 5805a55483 newdevice: Added support for Cyberpower PDU (#6013) 2017-03-03 18:40: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 57f27fbad2 newdevice: Added support for Digipower PDU (#6014) 2017-03-03 14:26:21 +00:00
VVeloxandNeil Lathwood de6b1d9722 feature: Add Postgres application support (#6004) 2017-03-01 23:46:03 +00:00
barryodonovanandNeil Lathwood 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
VVeloxandNeil Lathwood 002f4157b6 feature: Added support Postfix application 2017-03-01 18:34:22 +00:00
Thom SeddonandNeil Lathwood ecd467fee7 fix: hardware detection for Sub10 2.1.7 hardware (#5985) 2017-02-25 11:38:00 +00:00
barryodonovanandNeil Lathwood 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
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 LathwoodandTony Murray 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
David BellandNeil Lathwood 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
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