Commit Graph

1606 Commits

Author SHA1 Message Date
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
Richard Mayhew
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 Lathwood
a19b2614dc fix: added some timeout safeguards for curl calls (#5743) 2017-02-03 08:12:42 -06:00
Svennd
5733fb27fa fix: Fixed system temperature from ipmi descr including a space at the end
based on @laf's help, this issue was resolved.
2017-02-03 12:49:22 +00:00
Richard Mayhew
76c91f8486 fixed sanitizing of google map information (#5738) 2017-02-03 09:26:04 +00:00
FTBZ
ab6f78d1fe newdevice: Exterity AvediaPlayer support (#5732)
* Exterity AvediaPlayer support

* small updates + changed to sysObjectId for disco
2017-02-02 23:04:41 +00:00
David Bell
f76fc5a897 new device: Added detection for new dasan device, and fixed the poll for serial n… (#5713)
* Added detection for new dasan device, and fixed the poll for serial number

* Actually add new files to commit...
2017-02-01 20:07:03 +00:00
Neil Lathwood
5cdaee16f6 fix: Stripslashes from memcached polling application data #5265 (#5704) 2017-02-01 00:41:42 -06:00
rockyluke
e90875bee1 feature: Added generic hardware rewrite function 2017-01-31 08:09:56 +00:00
FTBZ
713176f6db Adding a better way to fetch data (#5674) 2017-01-30 17:43:08 +00:00
FTBZ
01ab0dc326 newdevice: Add serial, model and version support for HPE MSL (#5667) 2017-01-30 14:11:35 +00:00
Søren Rosiak
c11e2bfd13 fix: Fix Riverbed optimization polling (#5622) 2017-01-26 22:37:33 +00:00
Richard Mayhew
08edfc60e0 Sanitize Location string (#5589) 2017-01-26 08:11:11 +00:00
Neil Lathwood
14a2d290ae newdevice: Add support for Array Networks ArrayOS #5257 (#5604)
* newdevice: Add support for Array Networks ArrayOS #5257

* preg_replace -> str_replace
2017-01-25 16:02:54 -06:00
Aldemir Akpinar
4d5d612704 newdevice: Moxa EtherDevice Industrial Switch (#5598) 2017-01-25 21:51:41 +00:00
Richard Mayhew
6e2513eda9 feature: Added additional information to Radwin discovery. (#5591) 2017-01-25 17:54:32 +00:00
Richard Mayhew
f707da4cfb feature: added Serial number support for Mikrotik Devices (#5590) 2017-01-25 17:44:17 +00:00
Søren Rosiak
f4b21ae279 fix: Fix broken netstats ip forward polling (#5575) 2017-01-24 22:40:26 +00:00
Tony Murray
56bb0d2b97 fix: support hosts added by ipv6 without DNS #5567 2017-01-24 21:48:03 +00:00
Neil Lathwood
32da1bceea fix: Changing device type now is persistant (#5529) 2017-01-22 09:49:13 +00:00
Neil Lathwood
53df1d0b2c fix: Fixed JunOS bgpPeers_cbgp mistakenly removed + better support for mysql strict mode #5531 (#5536) 2017-01-22 08:25:53 +00:00
Neil Lathwood
376323f00e newdevice: Added support for Ericsson ES devices #5195 (#5479)
* newdevice: Added support for Ericsson ES devices #5195

* removed logo

* s/2016/2017/
2017-01-20 08:27:22 -06:00