Commit Graph

14239 Commits

Author SHA1 Message Date
Tony Murray
51ba934e11 feature: Added web validation (#7474)
* refactor: convert validations to modules to prep for gui integration

* accidentally dropped, schema update

* fix accidental output to webui

* mention discovery-wrapper.py and re-arrange.

* refine some fix statements

* rename the Config validation group to Configuration.

* fix some scrutinizer issues
remove as many local functions from validator.php as possible
move extensions from pre-check
remove duplicate timezone check
looks like there is some db schema differences between mariadb 10.1 and 10.2, investigating

* mariadb version diff take2

* Check schema version first for database.
Remove stop to go back to command line for install docs.
Add helpful link when there is no devices added to /addhost

* fix incorrect validation for empty string defaults

* Fix style

* Add additional file permissions checks

* catch exception and fail for invalid timezone
Change visuals a bit.

* add php version warning

* fix space
2017-10-26 07:56:09 +01:00
Alan Gregory
383557f628 newdevice Disable poller/discovery modules for fibrehome devices 2017-10-25 21:21:06 +01:00
Tony Murray
6367c81977 device: Always allow empty ifDescr on fortigate (#7547)
fixes: #3859
2017-10-25 20:57:18 +01:00
Chris A. Evans
a6ad9b86be newdevice: Added Mitel Standard Linux OS detection (#7513)
* Added Mitel Standard Linux OS Support

* removed duplicate svg, added snmprec test file, un-enable vmware discovery module

* msl os definition/polling improvements, mitel mib_dir creation
2017-10-25 16:38:53 +01:00
Kevin Krumm
bf2f948197 docs: fix for Network map.md (#7545)
fixed the bracket.
2017-10-25 08:56:22 -05:00
Kevin Krumm
0432d34d9a docs: Added doc for weathermap integration (#7536)
* docs: new doc for weathermap

* Update Weathermap

* Update Weathermap

* Update mkdocs.yml

added in Weathermap.md

* Update Weathermap

minor grammar fix

* Rename Weathermap to Weathermap.md

* Update Weathermap.md
2017-10-25 14:10:59 +01:00
Neil Lathwood
e751206f74 newdevice: Added more detection for IgniteNet FusionSwitch (#7384)
* newdevice: Added more detection for IgniteNet FusionSwitch

* fixed current graphs descr

* small updates

* small updates recommended by murrant
2017-10-25 08:10:02 -05:00
Søren Rosiak
6701fad686 fix: Fix some YAML formatting (#7544) 2017-10-25 13:22:06 +01:00
Kevin Krumm
e99ba67d88 docs: Added more example hardware (#7542)
Work and Home Setup.
2017-10-25 08:16:19 +01:00
barryodonovan
fea6351088 newdevice: Removed unused poller and discovery modules for ceraos devices
* added poller modules to ceraos.yaml

* added disabled discovery modules to ceraos.yaml

* removed default disabled modules from ceraos.yaml
2017-10-24 22:37:35 +01:00
bdg-robert
9053efa311 docs: Added Dynamic Configuration UI for Network-Map.md (#7540)
The network map has a built in configuration UI that can be tweaked interactively and provide the text parameters that can be placed in the librenms/config.php file. This option allows for faster configuration of the map instead of updating config.php and reloading the page.
2017-10-24 22:28:16 +01:00
TomEvin
2e54108197 newdevice: Moved Riverbed temp/state into yaml (#7535)
Riverbed Temperature and State discovery move to Yaml and fixed State display
2017-10-24 22:22:12 +01:00
Alan Gregory
50413ff9ae newdevice: Added support for logmaster(ups vendors) devices (#7524)
* added logmaster icon

* added LogMaster Ups Mibs

* Added battery temperature

* Added LogMaster Os discovery

* Added PPC UPS top level mib

* Added more sensors

* Added test for Os

* Added log image

* Disable unused modules to improve polling

* Changed discovery to match all second level.

* Fix logo size to 32x32

* Remove duplicated mib.

* Removed .mib extension

* Fix mib name.

* Added rfc1628 compatibility.

* Removed duplicated sensors due to rfc support

* Added sensor that differs from rfc 1628.
2017-10-24 14:37:36 +01:00
Tony Murray
f01cf38a3a fix: lldp discovery change local port resolution (#7443)
* fix: lldp discovery change local port resolution
dot1dBasePortIfIndex seems to skip some ports in certain configurations on Cisco devices.
Add quirk for Calix devices that return different port labels than they actually are.

* bdcom uses NMS-LLDP-MIB too.

* use dot1dBasePort to look up ifIndex if we can.
2017-10-24 08:21:32 +01:00
kkrumm1
c50ddc3555 docs: SSL config for CentOS 7 with Apache (#7529)
* docs: SSL config for CentOS 7 with Apache

* docs: SSL update for CentOS and Apache

minor sentence change.

* docs: SSL conig centos and apache

fixed missed spelled word.

* docs: SSL CentOS 7 and apache

minor fix for spelling and grammar.

* Update SSL-Configuration.md
2017-10-23 23:09:14 -05:00
tomarch
42b1fc48de fix: Don't discard storage_cache array (#7531)
This array has already been init in the mempools polling.
Be deleting this init, we use the $storage_cache array  populated by mempools polling, so we bypass a new snmp call.
This not just a optimisation, this also resolve issue with some WINDOWS (it timeout the second time we call hrstorage in a few second) like in #4929
2017-10-23 20:30:03 -05:00
kkrumm1
a5dc4b2dc7 docs: OpenManage including info for windows. (#7534)
* docs: OpenManage included info for windows.

* docs: OpenManage

minor fix for the structure of doc.

* Update Dell-OpenManage.md
2017-10-23 21:59:31 +01:00
Neil Lathwood
a4388e6010 fix: Fixed ospf polling not removing stale data (#7503)
* fix: Fixed ospf polling not removing stale data

* Fixed arrays

* Fix port_id check for neighbors
2017-10-23 06:59:25 -05:00
Tony Murray
1cd4fcb8b1 feature: issue warning notification if php version is less than 5.6.4 (#7418)
* feature: issue warning notification if php version is less than 5.6.4
rename set_notification function in daily.sh to set_notifiable_result
print output when a daily.sh process fails

* further notifiable clarification

* Update the notification message.

* make sure to remove the notification when updates are disabled
move the notification code into the php check
2017-10-22 19:30:31 +01:00
terrytibbles
aace3b169e docs: Update Git commands (#7525)
Change to installation directory to run Git commands.
2017-10-22 19:25:09 +01:00
Tony Murray
1f7274d371 docs: document discovery and poller module enable/disable (#7505) 2017-10-21 23:51:28 +01:00
Alan Gregory
0f8966a564 newdevice: Added temperature sensor to datacom switches. (#7522)
* Update most recent Mib

* Added switch emeperature sensor.

* Revert manual limits.
2017-10-21 15:04:28 +01:00
Neil Lathwood
e3c0714ede docs: Updated references for ##librenms to discord (#7523)
* docs: Updated references for ##librenms to discord

* updated channel -> server

* updated channel -> server
2017-10-20 14:22:18 -05:00
Alan Gregory
a99e6526b3 newdevice: Added support for new Fiberhome OLT Models (#7499)
* Added suporte for new medium model 5506-04

* Added tests for AN5516-04B

* Added tests for AN5516-04

* Added sysObjectID test for olts.

* Commit to trigger travis-ci

* Update fiberhome.yaml
2017-10-20 16:50:16 +01:00
crcro
2a15da2228 fix: Ignore OEM ipmi sensors that returns unreadable values (#7518)
* fix for OEM ipmi server that doesn't return hreshold

* escape chars, typo
2017-10-20 16:43:27 +01:00
Paul Heinrichs
f2c4563c85 newdevice: Added initial detection for netmodule NB1600 (#7514) 2017-10-20 16:41:32 +01:00
Tony Murray
84a06f4596 docs: Update syslog docs to prevent dates in the future/past (#7519)
Extracted docs changes from: #7282
2017-10-20 16:25:26 +01:00
kkrumm1
8ae64fa4ea docs: callback stats (#7515)
* docs: callback stats

A minor sentence fix.

* docs: call back stats Q and Q

minor formatting change for the Q and A

* docs: call back stats

forget the A. on one of the Q.

* docs: call back stats

removed "google mailing list" no longer applicable.

* Update Callback-Stats-and-Privacy.md

* Update Callback-Stats-and-Privacy.md

* Update Callback-Stats-and-Privacy.md
2017-10-20 09:16:50 -05:00
gitwuethrich
4e5f250400 Update RRDCached.md (#7521) 2017-10-20 07:31:58 -05:00
Paul Heinrichs
f038bcb6a1 device: Add more Procera interfaces (#7422)
* Add procera MIBS

* Add Channel ports to procera

* Fix whitespace

* CI Fix

* Remove unnecessary procera mib_dir

* Use snmpwalk_group

* CI fix

* Add more fields and change depth to snmpgroup_walk

* Minor style updates

* Add interface regex to procera.yaml
2017-10-19 08:09:45 -05:00
kkrumm1
e235c3d495 docs: Added in the alert rules videos to alert rules page (#7512)
* docs: alert rules, added in the alert rules video

alert rules, added in the alert rules video from youtube. On libreNMS channel.

* docs:alert rules

changed some of the formattings.
2017-10-19 09:22:05 +01:00
Tony Murray
186ff42ef8 newdevice: Updated Unifi AC HD detection (#7516)
* fix Unifi AC HD detection
dot11manufacturerName.5 doesn't exist, only .30-.33

* add unit test
2017-10-19 08:07:00 +01:00
FTBZ
23389de928 Readd PA Active Session graph (#7517) 2017-10-19 08:01:44 +01:00
Florian Beer
ab1658e90a webui: Show only authorized services in availability map (#7498)
* Show only authorized services in availability map

Up until now, normal users could see all configured services in availability map. This PR checks for permissions first, before displaying the items. I haven't looked at the dashboard widget yet, maybe it needs similar changes.

* Update to use userlevel helper function
2017-10-19 07:49:07 +01:00
FTBZ
163d0b4f88 fix: Errors in the documentations for CentOS 7 (#7510)
* fix: Erros in the documentations for CentOS 7

* fix: Erros in the documentations for CentOS 7

* fix: Erros in the documentations for CentOS 7

* fix: Erros in the documentations for CentOS 7

* Some corrections to make docs work as intended.

* re-add httpd_execmem for nginx
2017-10-18 14:38:56 -05:00
FTBZ
fc6386bf5f fix: Add missing MIB for Palo Alto Networks firewall (#7509)
* fix: Add missing MIB for Palo Alto Networks firewall

* fix: MIBs directory
2017-10-18 13:34:53 -05:00
Neil Lathwood
1205f12f10 security: Stop accepting other variables in install that we do not use (#7511) 2017-10-18 13:19:16 +01:00
Benedict Law
3dab275f14 Fixed poller-wrapper.py so it can connect to database (#7507) 2017-10-18 08:59:36 +01:00
ZedTheYeti
ee5c223669 Supply MySQL database hostname when using Unix sockets to connect (#7471)
* Supply MySQL database hostname when using Unix sockets to connect

* Pass unix_socket parameter when db_socket is set

* Set db_host to localhost when db_socket is set
2017-10-17 21:55:41 -05:00
Chris A. Evans
04bb65b762 newdevice: Added Brocade IronWare interface dBm sensor support (#7434)
* Added IronWare iface dBm sensor and related OID pr~e-cache

* fixed syntax violations

* added return_num() function and modified ironware dbm sensor to use it

* Update functions.php

* Update ironware.inc.php
2017-10-17 17:36:49 +01:00
tomarch
c643d13cb5 newdevice: Added vpn state and flash usage for zywall usg (#7500) 2017-10-17 17:09:52 +01:00
FTBZ
89ff05ebea newdevice: Added firewall graphs for Palo Alto Networks firewall (#7483)
* Features: Add firewall graphs for Palo Alto Networks firewall

* Features: Add firewall graphs for Palo Alto Networks firewall

* Update db_schema.yaml
2017-10-17 12:42:13 +01:00
Tony Murray
96ccc49026 security: Escape sql credentials during install (#7494) 2017-10-17 11:49:56 +01:00
Martin Zatloukal
6e379bfbbd newdevice: Added support for Alcoma wireless devices (#7476)
* New os Alcoma

* New os Alcoma

* Update AlcomaAlmp.php
2017-10-17 08:57:31 +01:00
Neil Lathwood
cdf31c47e1 Revert "bug: fail isPingable if fping errors" (#7496)
* Revert "fix: Fixed clickatell alert transport (#7446)"

This reverts commit 9774acd055.

* Revert "newdevice: Added support for Eaton ATS devices (#7448)"

This reverts commit 1318e5871c.

* Revert "newdevice: Updated Zhone MXK detection (#7488)"

This reverts commit 81667b9e20.

* Revert "docs: Added HipChat V2 WebUI Config Example (#7486)"

This reverts commit a31eaa9839.

* Revert "fix: Fail isPingable if fping errors (#7426)"

This reverts commit 1998845f06.
2017-10-16 11:56:47 +01:00
Neil Lathwood
9774acd055 fix: Fixed clickatell alert transport (#7446)
* fix: Fixed clickatell alert transport

* Set a default value for two config columns to ensure mysql strict

* fixed schema

* fixed schema
2017-10-15 23:49:51 -05:00
tomarch
1318e5871c newdevice: Added support for Eaton ATS devices (#7448)
* eaton-ats: add definition, voltage, frequency and state

* eaton-ats: missing snmprec file

* fix some syntax error

* fix some syntax error, again

* exclude eaton-ats from eaton-mgeups definition

* change eaton-ats definition

* move state and output voltage to yaml syntax

* Update eaton-mgeups.yaml
2017-10-15 21:06:11 +01:00
Søren Rosiak
81667b9e20 newdevice: Updated Zhone MXK detection (#7488)
* newdevice: Improve Zhone MXK Discovery

* Fix test name
2017-10-15 21:02:39 +01:00
Søren Rosiak
a31eaa9839 docs: Added HipChat V2 WebUI Config Example (#7486) 2017-10-15 21:02:10 +01:00
Daniel Preussker
1998845f06 fix: Fail isPingable if fping errors (#7426) 2017-10-15 20:29:08 +01:00