Commit Graph

1627 Commits

Author SHA1 Message Date
Neil Lathwood
58442e0a75 refactor: Further speed improvements to port poller (#6037) 2017-03-07 21:14:24 -06:00
David Bell
2a211e86dc newdevice: Added extrahop detection (#6097) 2017-03-06 14:11:10 +00:00
Neil Lathwood
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 Bell
0227dd655f Correction to netstats (#6088) 2017-03-04 18:14:20 +00:00
VVelox
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
VVelox
30937af1d3 GAUGE/COUNTER were not UCed after LCing the whole file... fixed (#6086) 2017-03-04 16:00:06 +00:00
VVelox
671654d155 feature: Added Nvidia GPU application support (#6024) 2017-03-03 20:41:20 +00:00
pblasquez
680ef0645f newdevice: Added support for F5 Traffic Management Module memory 2017-03-03 20:38:59 +00:00
VVelox
ab2043c634 feature: Add Squid application support (#6011) 2017-03-03 18:55:33 +00:00
VVelox
5805a55483 newdevice: Added support for Cyberpower PDU (#6013) 2017-03-03 18:40:33 +00:00
VVelox
354bd2144d feature: Add FreeBSD NFS Client/Server application support (#6008) 2017-03-03 14:48:46 +00:00
VVelox
57f27fbad2 newdevice: Added support for Digipower PDU (#6014) 2017-03-03 14:26:21 +00:00
VVelox
de6b1d9722 feature: Add Postgres application support (#6004) 2017-03-01 23:46:03 +00: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
Thom Seddon
ecd467fee7 fix: hardware detection for Sub10 2.1.7 hardware (#5985) 2017-02-25 11:38:00 +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
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
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
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
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
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
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
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
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
Neil Lathwood
cc51a68f85 feature: Optional partial port polling (#5805)
* feature: Added ability to switch port polling mode

* update, speed things up slightly by walking certain tables

* more fixes

* updates

* updates

* update to exclude ports that are down

* wrong variable used

* update to set previous port status when null

* small update to port disco
2017-02-14 17:26:07 -06:00
Neil Lathwood
b4da5de452 refactor: Centralised the updating of device logo #5873 (#5874) 2017-02-14 12:56:16 +00:00
barryodonovan
4176379ae3 newdevice: Epmp utilization calculation and graphing for Cambium devices 2017-02-14 11:47:50 +00:00
Neil Lathwood
c5c560328b fix toner dbUpdate call (#5889) 2017-02-14 11:44:16 +00:00
Richard Mayhew
d6495dcac9 newdevice: Added more Linux Server hardware detection (#5866)
* New event log severity model

* Revert "New event log severity model"

This reverts commit 0783527af8.

* Added hardware information through snmp extend

* formatting

* Added some documentation in the examples

* changes

* formatting

* removed the mib reference
2017-02-14 08:51:46 +00:00
Richard Mayhew
e4f48e661e Add additional eventlog severity levels (#5879) 2017-02-13 22:32:02 +00:00
barryodonovan
4ef0a2d719 newdevice: Canopy frame utilization and updated MIBs (#5858) 2017-02-13 14:25:15 +00:00
Richard Mayhew
5bfd23e7eb webui: New eventlog severity classification (#5830)
* New event log severity model

* Revert "New event log severity model"

This reverts commit 0783527af8.

* New event log severity model

* Fixed spaces vs tabs

* Learning the format requirements

* Learning the format requirements

* Moved the colours in to the stylesheet

* change SQL file to stop conflicting

* refactor log_event so severity isn't last, but reference is.

* keep having to move the file due to new PR conflicts

* Revert "keep having to move the file due to new PR conflicts"

This reverts commit f3030e7218.

* extended support to dashboard and eventlog page

* formatting
2017-02-12 22:41:05 +00:00
Neil Lathwood
2e235b27c6 fix: Various variables will all be updated if they are blank #5811 (#5836) 2017-02-10 14:42:46 -06:00
barryodonovan
5184ce01ad Cambium ePMP sysDescr (#5859)
* Changed cambium poller to get sysDescr and sysObjectID from poll_device array.

* missing newline

* overgraph for registered SMs makes no sense if device not AP
2017-02-10 11:36:12 -06:00
barryodonovan
4397ed4a72 fix: Correct snmp_get of sysDescr.0 to identify PMP450 as AP (#5849) 2017-02-10 11:51:00 +00:00
Neil Lathwood
55843eba74 fix sensors db update call (#5842) 2017-02-09 09:23:03 +00:00
Neil Lathwood
f7d65d0ee2 device: Added proc and mem support TPLink JetStream devices #5462 (#5817) 2017-02-09 08:46:59 +00:00
Neil Lathwood
d2d8b05987 device: Added proc, mem and sensor support for FabricOS #5295 (#5815) 2017-02-09 08:13:19 +00:00
Neil Lathwood
c3a9bcc1b3 device: Added further support for Zynos / Zyxell devices #5292 (#5814)
* device: Added further support for Zynos / Zyxell devices #5292

* correct year
2017-02-09 08:12:10 +00:00
rockyluke
8559137587 device: Improved hardware detection for Xerox (case issue) (#5831) 2017-02-08 18:13:35 +00:00
Neil Lathwood
45af9566df newdevice: Added support for Cyberoam UTM devices #5542 (#5819) 2017-02-08 08:14:20 +00:00
Neil Lathwood
21898a3c29 Disco / Poller tidy up + Added display of module mem usage (#5778)
* tidyup + added mem usage for poller modules

* tidied up discovery modules

* fix sensors
2017-02-07 22:54:30 -06:00
rockyluke
1fb8135133 Add one more trim() for (very) old printers (#5810)
* Add one more trim()

* Update sample
2017-02-07 11:41:17 +00:00
David Bell
37b84f36d3 newdevice: Updated DCN serial/hardware/version detection #5785 2017-02-06 22:40:34 +00:00
David Bell
a98bfdb6fb newdevice: Add F5 Hardware and S/N detection (#5797)
* Add detection for hardware and serial number

* Removed redundant options

* Trim "'a

* Wrong quote
2017-02-06 19:15:44 +00:00
Søren Rosiak
414efb3539 refactor: Various Code Cleanup (#5777)
* refactor: Various Code Cleanup

* moar
2017-02-05 22:37:08 +00:00
Daniel Preussker
883095deac fix: Arista watts to dbm conversion 2017-02-05 20:46:13 +01:00