Commit Graph

13904 Commits

Author SHA1 Message Date
Tony Murray
181b0fb7d5 refactor: Use the new locks for schema updates (#6931)
* Use the new locks for schema updates

* removed schema lock from discovery

* Add the ability to wait for a lock.
Add unit tests

* Add MysqlLock
Use that for the schema updates
Wait up to 30s for other schema updates to complete.

* Switch the schema lock back to a file lock for now.
Make FileLock support indefinite locking without polling.
Add a warning to MysqlLock for scenarios where it won't work.

* Delete MysqlLock.php

* Removed MySQL lock tests
2017-07-17 19:35:08 +01:00
Tony Murray
1e77d4b3ea refactor: validate.php improvements (#6973)
Always output header (may be missing mysql data)
Improve version display, now looks like '1.28-129-g74e6c3edf' <tag>-<commits since tag>-<shortag>
Add mysqli to the list of required extensions, check extensions before init
Add dbIsConnected() function, used to check if we have db in version_info()
Do not die on IPv4 and IPv6 so validate can print errors.
Move git checks so they are output together
fix rrdtool 1.7.0 reports version as 1.7.01.7.0
2017-07-17 19:02:28 +01:00
Tony Murray
97828eceba device: Added FDB support for IOS-XE devices (#7044) 2017-07-17 19:01:37 +01:00
Tony Murray
fb121923b0 improve text when ipaddress module is missing (#7043) 2017-07-17 19:00:58 +01:00
Tony Murray
fabf0c54f4 Merge pull request #7046 from librenms/1.29
Added changelog for 1.29 (June 2017)
2017-07-17 09:41:47 -05:00
Neil Lathwood
534595d71d newdevice: Added detection for Gestetner printers (#7038)
* newdevice: Added detection for Gestetner printers

* added missing snmprec test file

* reverted ports change from debug
2017-07-17 07:00:48 -05:00
Neil Lathwood
20ce209b27 Return more descriptive error when adding duplicate devices on sysName (#7019)
* Return more descriptive error when adding duplicate devices on sysName

* clean up functions to make more clear and reduce duplication

* moved return to correct place
2017-07-16 22:01:07 +01:00
InfraTeam
579bfd4c3e newdevice: Added additional sensors for APC IRRP100 Air Conditionner series (#7006)
* 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

* Synchro Fork

* Synchro Fork

* Added additional sensors for APC IRRP100 Air conditionner series

* Updated apc.yaml

@laf I modified the yaml file according to your comment. I forgot the index line in a few definitions...

* Rollback hirschmann.inc.php to original file

* Roolback to original hirschmann.inc.php file

* Updated apc.yaml file to include data section

* Update apc.yaml

* Update apc.yaml

* Updated apc.inc.php after @laf requests

Modified $current calculation, including $multiplier in place of static value and added 'PowerNet-MIB' as an argument of the snmp_get function (detached from OID writing)

* missing new line

* reverted hirschmann updates

* reverted hirschmann updates
2017-07-15 11:44:56 +01:00
Yacine Benamsili
294ec4d73d feature: Added support for sending metrics to OpenTSDB (#7022)
* Create OpenTSDB.md

* Send collected data to OpenTSDB

* Send collected data to OpenTSDB

* Update build.sql

* Send collected data to OpenTSDB

* Delete 200.sql

* Update db_schema.yaml

* Update datastore.inc.php

* Update OpenTSDB.md

* Added OpenTSDB to mkdocs.yaml
2017-07-15 10:28:27 +01:00
dennypage
db84d3bfe9 Fix EPSON logo (#7029)
* Fix EPSON logo

* Trim padding

* Update epson.svg
2017-07-14 21:57:13 +01:00
Tony Murray
b36d3d3408 fix: Don't use Enum in snmp-scan.py (#7036) 2017-07-14 21:56:47 +01:00
kkrumm1
e8282a4b6b fix: Allow discovery of IAP radios on Aruba Virtual Controller
* Update Arubaos.php

Allow discovery of IAP radios on Aruba Virtual Controller -

* Fix up changes
2017-07-14 21:30:57 +01:00
Søren Rosiak
fd140888ab newdevice: Added CPU / Mem support for HPE MSM (#7026)
* newdevice: Improve HPE MSM Support

fix #6972

* remove unneeded polling file

* Update to use numerical OID
2017-07-14 21:06:22 +01:00
Aldemir Akpinar
550e412808 webui: Added an empty option for delete device selection, and a minor db performance fix (#7018)
* webui: Added an empty option, also minor performance fix on the db query

* Added missing backtick

* Added html options per Laf's suggestion
2017-07-14 11:40:29 +01:00
Lasse Leegaard
039e410d6d fix: Change .htaccess to compensate for Apache bug (#6971)
Fix for https://github.com/librenms/librenms/issues/3810 and workaround for bug in Apache 2.4.21+ https://httpd.apache.org/docs/2.4/mod/mod_proxy_fcgi.html#ProxyFCGIBackendType
2017-07-14 06:38:25 +01:00
Neil Lathwood
9dbb6c3262 fix: When force adding, use the provided snmp details rather than from $config (#7004) 2017-07-13 19:17:59 -05:00
Neil Lathwood
83cb39a7fd fix: Netbotz state sensors using wrong value (#7027)
* fix: Netbotz state sensors using wrong value

* actual fix
2017-07-13 19:02:26 -05:00
Neil Lathwood
898f59cb72 newdevice: Added sensor metrics for APC IRRP 100/500 devices (#7024) 2017-07-13 23:23:40 +01:00
James Andrewartha
ba8fcdf8cc newdevice: Changed UBNT Airos type to wireless (#6867) 2017-07-13 18:27:17 +01:00
FTBZ
138fd2923a fix: Fixed Rittal LCP sensor divisors (#7014)
* Better values for some graphs

* Change definition order

* Update rittal-lcp.yaml
2017-07-13 18:23:55 +01:00
Tony Murray
c874fc5b1e fix: Standardise UPS divisors (#6942)
Set default divisors for all devices and remove per-os overrides for them.
We should only use per-os overrides for non-standard behavior.

High possibility for breakage here if devices not listed here have non-standard behavior.
2017-07-13 18:09:56 +01:00
Tony Murray
dcca74dcc4 fix: Show fatal config.php errors on the web page. (#7023) 2017-07-13 18:01:01 +01:00
Tony Murray
9be5359c3f Update dependencies, Make sure autoloader is updated (#6988) 2017-07-13 13:59:38 +01:00
Aldemir Akpinar
821dbefefb fix: Set event type alert for alert log entries (#7013) 2017-07-13 13:30:05 +01:00
network-guy
b289081dfe docs: Updated SNMP configuration Documentation (#7017)
* Add IOS-XE Support for FDB Table

* Update SNMP Documentation

* removed includes/discovery/fdb-table/iosxe.inc.php
2017-07-13 11:59:42 +01:00
drid
a9cef701ee docs: Added C.H.I.P. snmp extend support (#7007)
* Update Applications.md

C.H.I.P. power stats script setup

* Update Applications.md

Short description and link

* Update Applications.md

Added download link (will work when agent PR is approved)
2017-07-12 20:54:59 +01:00
Tony Murray
282e4b77a5 newdevice: Savin printer support (#6982)
Toner supply levels supported
2017-07-12 08:16:05 +01:00
Tony Murray
5bc2444499 fix all mib errors in base mib directory (#7002)
Move cabletron mibs into enterasys directory
move CISCO-LWAPP mibs into cisco directory and fix errors
remove MPLS-LDP mibs as I couldn't reconcile them and they seem unused
move watchguard IPSEC-ISAKMP-IKE-DOI-TC into watchguard directory
update several cisco mib files to remove errors
Fix typo in tripplite mib
Fix RADWIN-MIB-WINLINK1000 based on pdf I found online, some lines were missing, added the bare minimum to make it valid
2017-07-12 08:07:21 +01:00
Tony Murray
09b4a9d9ce fix: snmp-scan.py now runs on python 2.7 as well as python 3 (#7011)
* fix: snmp-scan.py now runs on python 2.7 as well as python 3

* remove unnecessary comment about -r
chop down long lines

* fix network argument overwriting -r argument
2017-07-12 08:00:01 +01:00
Tony Murray
2ab5962cbb newdevice: Added Valere system sensors and os detection. (#6981)
* Add Valere system sensors and os detection.

* update yaml data layout
2017-07-12 07:56:45 +01:00
Tony Murray
2bf99c65a0 fix: no data for yaml discovery (#7010)
fixes: #7008
2017-07-11 16:02:38 -05:00
Neil Lathwood
d30e5660f9 feature: Added ability specify options for sensors yaml discovery (#6985)
* feature: Added ability specify options for sensors yaml discovery

* travis fix for new line + skip_values_* -> skip_value_*
2017-07-10 16:27:46 -05:00
Tony Murray
431d15aad9 fix: issues with http-auth when the guest user is created before the intended user (#7000) 2017-07-10 21:48:24 +01:00
crcro
61103938dc normalized file names fixing the webui (#6991) 2017-07-09 21:17:57 +01:00
Tony Murray
93a7929513 device: Updated IOS-XE detection for 3000 series devices (like 3850) (#6983)
* device: improve IOS-XE detection for 3000 series devices (like 3850)

* add additional snmprec
2017-07-08 09:01:57 +01:00
Tony Murray
5185e19d9a device: Updated Toshiba Tec e-Studio printers (#6984) 2017-07-08 08:59:57 +01:00
Tony Murray
50b3ffb3cf feature: add timeout to AD auth, default is 5s (#6967)
* feature: add timeout to AD auth, default is 5s
Can be configured by $config['auth_ad_timeout']

* only set timeout during bind operation
2017-07-07 23:05:40 -05:00
Tony Murray
fa2b3f57f0 newdevice: Added Eltek Valere initial detection (#6979)
* newdevice: Eltek Valere initial detection

* Add the snmprec file, no joke the sysDescr is "Sys Description"
2017-07-07 20:26:52 +01:00
Tony Murray
81617e8422 Include the sensor state description in the eventlog (#6977) 2017-07-07 18:15:53 +01:00
Tony Murray
527a989b4c newdevice: Added wireless sensors for SAF Tehnika (#6975)
Add new sensor type MSE (Mean Squared Error) which is similar to SNR
2017-07-07 16:05:55 +01:00
Tony Murray
aeedf515c5 fix: Include state descriptions in eventlog (#6968)
* fix: include state descriptions in eventlog
Pull in array_column compat library for php < 5.5

* Add state descriptions to eventlog messages
2017-07-06 08:27:02 +01:00
Neil Lathwood
a3f7daff5f more specific on bugs (#6970) 2017-07-06 08:23:06 +01:00
djamp42
394c4393a4 newdevice: Add Calix AXOS/E5-16F Detection (#6926)
* Add Calix AXOS/E5-16F Detection

* Update calix.yaml

* Create calix_e5-16f.snmprec

* Split out Calix to AXOS

* Delete axos.inc.php
2017-07-05 21:21:48 +01:00
Svennd
6c449b41d0 webui: Split up the complex nfs v3 graphs (#6963)
* split up the complex graph

* overview page had some excessive graphs
2017-07-05 20:20:30 +01:00
FTBZ
39d3639733 newdevice: Added support for Rittal LCP Liquid Cooling Package (#6626)
* newdevice: Rittal LCP

* Add snmpsim file

* Change state sensor to YAML

* Clean old file

* Add state_name
2017-07-05 19:58:35 +01:00
John
8b627bfec9 Update Ubuntu-image.md (#6960)
advise 

http://blog.oxforddictionaries.com/2014/05/advise-advice/
2017-07-05 07:48:29 +01:00
Bitency
2ba7093d9c api: Added ability to call get_graph_by_port_hostname() with hostname or id (#6936)
* Fix bug get_graph_by_port_hostname() only hostname

From the documentation:

Function: get_graph_by_port_hostname top
Get a graph of a port for a particular device.

hostname can be either the device hostname or id

But the function is only works with a hostname and not with a ID.
I have modified a few things that solve the problem.

* Update api_functions.inc.php
2017-07-04 22:41:22 +01:00
Tom Sealey
51d50edc87 docs: Added SSL config docs (#6951)
* SSL config docs

Moving from https://github.com/librenms/librenms/pull/6932 to a new file

* rename to match other docs

* tidying the formatting

* update to add SSL-configuration

* tidied up docs a little
2017-07-04 22:31:27 +01:00
Aldemir Akpinar
9c957ee1d4 webui: Minor visual changes in schedule maintenance window and its modal (#6934)
* webui: minor visual changes in schedule maintenance window and it's modal

* Removed unnecessary comments

* Auto close alerts
2017-07-04 22:29:54 +01:00
Tony Murray
b56c6b6adf fix: fdb tables multiple IPs and IPs from other devices adding extra rows (#6930)
Fix missing IPs because the ARP entries are on different port_id
Update arp discovery to use snmpwalk_group() additional fix in that function
Fix removal of arp entries
Fix a debug output type in fdb discovery
2017-07-04 22:27:43 +01:00