Commit Graph

13211 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
Arjit Chaudhary
debb945477 api: Limit get_graph_by_port_hostname() to one port and exclude deleted (#5936) 2017-02-17 21:19:15 +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
deutor
cdd9238b32 Installation-CentOS-7-Apache.md - fixed typo (#5918)
Fixed typo
2017-02-16 15:08:30 +00:00
towster
d06aaaa222 fix: Modify worldmap tooltip and popup to use ip_to_sysname (#5914)
* Update discovery-protocols.inc.php

Allow invalid hostnames if discovery by IP is true

* Update AUTHORS.md

signing

* Update AUTHORS.md

signing

* CDP discovery by IP modification

CDP would not discover devices that had invalid DNS value for cdpCacheDeviceId - modified to accept 
Also exclude adding devices whose hostname matches the IP

* Update AUTHORS.md

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

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

* Made tooltip and popup on worldmap show sysName when ip_to_sysname is config'd

* fixed style
2017-02-16 08:18:40 +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
FTBZ
e017f7a71b webui: Always show the Services menu if global show_service is enabled (#5906)
* Always show the Services menu if global show_service is enabled

* Add global service check if statement
2017-02-15 23:22:31 +00:00
Tony Murray
cbaab1462f Change the size of the bgp updates arrows. (#5913) 2017-02-15 23:16:03 +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
Craig
3fd56d7297 fix Indentation (#5902) 2017-02-15 09:33:03 +00:00
Neil Lathwood
e9d729eedc webui: added link to APs for alert details #5878 (#5898)
* webui: Add links to accesspoints in alerts #5878

* webui: added link to APs for alert details #5878
2017-02-15 07:55:03 +00:00
Craig
6850bd15ad docs: fix unbound, config options were missing (#5899)
This wasn't working, as relevant config options were missing. Also, statistics-interval: 0 just dumps stats to the log, if someone decides they want to do it; ok. It has no influence on functionality.
2017-02-15 00:40:55 +00:00
Craig
c5eb88cec2 I agree to the conditions of the Contributor Agreement contained in d… (#5900)
* I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md.

* Update AUTHORS.md
2017-02-15 00:40:24 +00:00
mobilemaclin
49b5844346 newdevice: Added support for more Mellanox infiniband switches (#5887)
* Update mellanox.yaml

* Update AUTHORS.md

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

* Create mellanox-i5035.snmprec

* Update OSDiscoveryTest.php
2017-02-15 00:06:00 +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
Florian Beer
8787d9d902 Update dark theme panel headings (#5892)
...to be consistent with navbar.
2017-02-14 23:19:27 +00:00
Tony Murray
ebb1516db1 Icon was updated to an empty variable because it was not set on the $device array() (#5893) 2017-02-14 23:04:55 +00:00
Robbie Penziol
0375d67a52 Update AUTHORS.md (#5896)
I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md.
2017-02-14 23:02:25 +00:00
Neil Lathwood
b4da5de452 refactor: Centralised the updating of device logo #5873 (#5874) 2017-02-14 12:56:16 +00:00
Neil Lathwood
1e2ab73239 tidy up some more eventlog things (#5885)
* tidy up some more eventlog things

* update sql file
2017-02-14 12:06:01 +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
3843346109 webui: Set the device logo and cell to have a max width (#5700)
* Set the device logo to have a max width and set the td cell to also have a set width

* Changed the width of the td cell to rather use CSS

* tried something else which allows for a more dynamic approach
2017-02-14 08:52:17 +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
NK74
f03d8b0a30 newdevice: Improve detection for Zyxel Zywall USG60 #5857
* Update zywall.yaml

Improve detection for Zyxel Zywall USG60 and graph hover

* added tests + changed disco
2017-02-13 23:53:00 +00:00
Richard Mayhew
e4f48e661e Add additional eventlog severity levels (#5879) 2017-02-13 22:32:02 +00:00
Michał Margula
a44d4254f8 docs: Update Applications to use correct link for exim-stats (#5876)
Changed link for exim-stats.sh that should point to the latest (not broken) version.
2017-02-13 16:17:11 +00:00
Michał Margula
530d01ee66 Update AUTHORS.md (#5877)
I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md.
2017-02-13 16:16:22 +00:00
barryodonovan
4ef0a2d719 newdevice: Canopy frame utilization and updated MIBs (#5858) 2017-02-13 14:25:15 +00:00
Neil Lathwood
9384d306ac docs: Added info on using munin scripts #2916 (#5871) 2017-02-13 00:17:21 +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
Tony Murray
a75ec7ab31 refactor: small function cleanups (#5865)
found while working on my snmp refactor
mac_clean_to_readable is about 33% improvement
hex2str is a moderate improvement
2017-02-12 13:20:06 +00:00
Richard Mayhew
3c7792a170 Mikrotik doc heading - SNMP Configuration (#5867) 2017-02-11 14:12:28 +00:00
Ahmad Khudeish
fe9867cb93 docs: Configuring SNMPv3 on Linux 2017-02-11 14:12:05 +00:00
Tony Murray
a488116c9a Remove code tag (#5864) 2017-02-11 09:15:51 +00:00
Neil Lathwood
492590bf38 changed ifLastChange to a bigint as we can hit the limits of a current signed int (#5835)
* changed ifLastChange to a bigint as we can hit the limits of a current signed int

* Rename 161.sql to 162.sql
2017-02-10 19:28:12 -06:00
Tony Murray
9dbc8767c4 Fix unordered list (#5863) 2017-02-10 19:27:51 -06:00
Neil Lathwood
3944185379 update tripplite divisor for certain versions #5364 (#5794) 2017-02-10 18:38:51 -06:00
FTBZ
ba2f0d8b51 fix: Remove the non-functional buttons for non-admins in devices/services (#5856)
* Remove the non-functional buttons for non-admins in devices/services

* Remove the non-functional buttons for non-admins in devices/services
2017-02-10 21:21:40 +00:00
Tony Murray
4ec373f749 docs: Add a getting started section to the Oxidized docs (#5861) 2017-02-10 21:19:17 +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
NK74
e2675d62bb webui: Update Zyxel image (os/logos to .svg) (#5855)
* Update AUTHORS.md

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

* Update/Add Zyxel logo 2016

* Missing SVG Optimisation
2017-02-10 11:39:08 -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