14063 Commits

Author SHA1 Message Date
18fb90ad25 fix: Corrected variable for timeout messages in unix-agent.inc.php (#7246) 2017-08-29 10:00:09 -05:00
de8bcf3a6c fix: update notification for users with updates disabled (#7253)
Don't show the toast when the notification is marked as read
2017-08-29 09:32:24 -05:00
b5d24a533a fix: Fixed the empty() vlan detection check (#7241) 1.31.01 2017-08-28 20:24:43 +01:00
e0f48ff6c4 Merge pull request #7243 from XioNoX/patch-1
Use $install_dir var for auth_mechanism require_once
2017-08-28 20:21:32 +01:00
33c8d38e57 Use $install_dir var for auth_mechanism require_once
This PR fixes the following error that showed up after upgrading to 1.31.
```
Array ( [0] => 1 [1] => Uncaught Error: Call to undefined function init_auth() in /srv/deployment/librenms/librenms-cache/revs/8c9da11850ecbf2a949b9317d1fce75301bfd13b/includes/init.php:152 Stack trace: #0 /srv/deployment/librenms/librenms-cache/revs/8c9da11850ecbf2a949b9317d1fce75301bfd13b/html/index.php(59): require() #1 {main} thrown [2] => /srv/deployment/librenms/librenms-cache/revs/8c9da11850ecbf2a949b9317d1fce75301bfd13b/includes/init.php [3] => 152 ) 
```
it's most likeley related to the fact that we use a symlink, and $config['install_dir'] is the symlink, and $install_dir is the real folder.
2017-08-28 12:07:00 -07:00
061add5eb1 fix: Re-added changes for #6959 removed by accident in #7128 (#7240) 2017-08-28 13:44:24 -05:00
951e09e925 fix: issues with Geist Watchdog sensors
fix: issues with Geist Watchdog
2017-08-28 19:19:32 +01:00
f4fd564f46 Update hddtemp.inc.php (#7232) 2017-08-28 13:10:09 -05:00
c8436d2a4f fix: issues with Geist Watchdog
miss-named variable in sensor pre-caching
internal humidity and temperature was discovered twice
humidity was mis-spelled in yaml discovery
temperature and current had incorrect divisor in yaml

remove redundant fahrenheit to celsius function

fixes #7236
2017-08-28 13:00:29 -05:00
aae852d6c0 Changelog improvements from kkrumm (#7231) 2017-08-28 08:36:03 -05:00
d5bfd1db35 Merge pull request #7229 from librenms/1.31
Changelog 1.31 August 2017
2017-08-27 21:42:50 +01:00
07991d677d Merge pull request #7227 from laf/docs/changelog-august-2017
Changelog 1.31 August 2017
2017-08-27 15:44:26 +01:00
laf
9287f93593 Changelog 1.31 August 2017 2017-08-27 15:14:26 +01:00
laf
267351f286 Changelog 1.31 August 2017 1.31 2017-08-27 15:08:34 +01:00
9f80d16cbf docs: Updated index page for new alerting structure (#7226) 2017-08-26 22:03:08 +01:00
0def643e09 feature: Notify about failed updates, block detectable bad updates (#7188)
* Feature: Notify about failed updates, block detectable bad updates
Ability to post notifications when the update fails.
Detect and roll back updates that will cause broken installs. (Needs testing)
Add severity to notifications, critical (2) notifications will display a toast.

This will be used for removing in-tree dependencies and raising the minimum php version.

* Improve naming a bit add phpdoc to new_notification
In case multiple notifications are created, remove them all.

* Remove notifications when update is disabled.

* update travis to use db testing

* added missing index
2017-08-26 21:35:39 +01:00
932b05c38c fix: Updated dump_db_schema() to use default 0 if available (#7225)
* fix: Updated dump_db_schema() to use default 0 if available

* added removed column for testing
2017-08-26 20:23:30 +01:00
b2c8f34039 refactor: Use anonymous functions for debug error_handler and shutdown_function in index.php (#7219) 2017-08-26 20:07:34 +01:00
96cc9bfaa0 feature: Improve install process (#7223)
Fix incorrectly updating session with build-ok before start of schema update
Set a timeout for progress on the schema build 40s (lock wait time is 30s, so must be more than that).  Allow the user to restart the process if this timeout is reached.
Animate the progress bar while waiting for the schema update. Stop animation on failure or success.
Properly destroy the session after install.  This allows the user to restart if they need to without any tricks.
Move next step buttons to the right.
2017-08-26 19:35:13 +01:00
38cf424417 webui: Added ability for users to configure selectable times for graphs (#7193)
* feat:add links for librenms graph

* added widescreen config
2017-08-25 20:11:01 +01:00
0a5b20c452 feature: Active Directory user in nested groups (#7175)
* Active Directory user in nested groups

* Active Directory user in nested groups

* Active Directory user in nested groups

* Use Config in new function
2017-08-25 00:24:43 -05:00
701813f3ad fix: Comware dBm Limits && Comware Sensor Descr (#7216) 2017-08-24 15:08:42 -05:00
e0d3083791 Fixed typo: Predicated -> Predicted (2 instances) (#7222)
The text that should have been "Predicted usage" was written as "Predicated usage" for both occurrences in the file.
2017-08-24 15:06:32 -05:00
f2c69f35d0 refactor: Updated validate.php to only warn users the install is out of date if > 24 hours (#7208)
* refactor: Updated validate.php to only warn users the install is out of date if > 24 hours

* Fix 24hrs, not 48hrs
2017-08-24 06:28:59 +01:00
30c1b79b3d fix: Update gen_rancid.php to the correct arista os name (#7214) 2017-08-23 19:29:40 +01:00
ee110d59c4 docs: Updated some old links for alerting (#7211) 2017-08-23 08:00:13 +01:00
53b3d5ff5f newdevice: Stop discoverying frequencies on Raritan devices that do not exist + added voltage (#7195)
* fix: Stop discoverying frequencies on Raritan devices that do not exist

* updated to include voltage as well

* Updated incorrect OID for voltage
2017-08-22 23:01:06 +01:00
03ff4cf236 docs: Updated CentOS 7 + Nginx install docs (#7209) 2017-08-22 21:15:19 +01:00
6bab347335 newdevice: Added FDB and ARP support for edgeswitch devices (#7199) 2017-08-22 20:55:39 +01:00
65c6240c2a newdevice: Added additional sensor support for Sentry4 devices (#7198) 2017-08-22 20:52:27 +01:00
e1ffdedb6b newdevice: Added additional vlan support for Juniper devices (#7203) 2017-08-22 20:52:01 +01:00
e890509b3d newdevice: Added Kemp LoadMaster Version Info (#7205) 2017-08-22 20:43:28 +01:00
31c641e97a fix: Use Correct Comware dBm Limits (#7207) 2017-08-22 20:42:41 +01:00
4c76ea4516 Raspbian Logo (svg) (#7201) 2017-08-22 11:29:40 +01:00
e68082d178 fix: Correct memory calculation for screenos (#7191)
correct memory calculation (SSG-140)
2017-08-21 22:56:13 +01:00
6d6d8cef37 docs: Update CentOS 7 + Nginx install docs to set SCRIPT_FILENAME (#7200)
Set SCRIPT_FILENAME to prevent white pages on PHP 7.1.x
2017-08-21 22:55:19 +01:00
ae02aa2489 docs: Update Component.md
Remove duplicated TOC
Remove named anchors
Some readability formatting
2017-08-21 18:49:07 +01:00
5eb002f553 docs: Update Two-Factor-Auth formatting
Removes duplicated TOC and named anchors
2017-08-21 16:52:32 +01:00
cf6de3dcda docs: Update IRC-Bot for systemd use (#7084)
* Update IRC-Bot.md

* Update IRC-Bot.md

would like 'Systemd start up script' to be bold type as I don't know how to do it via this editor

* Update IRC-Bot.md
2017-08-21 13:34:15 +01:00
f71c708183 docs: Updated API docs formatting
* Ignore docs/

* Fix indenentation

YAML's pretty strict

* Remove static anchor names

Markdown does this automatically for us

* Tabelize entities

* Remove tildes

They don't do anything

* Renamed to index.md

* Remove backticks for headings

* Switch output format

text -> json

* renamed to index.md

* Removed `top` links

Cause TOC generation problems.  A theme-wide `top` button would be more
appropriate

* Use [TOC]

Automatically generates everything

* Wrapped routes in backticks

* Moved logs around a bit

* Revert already pulled commits
2017-08-21 13:24:22 +01:00
b132686fd4 newdevice: Improved fans/temp detection for Brocade VDX devices
* This change allows discovery/polling of all sensors (fans and temperatures) from Brocade VDX devices
instead of only the first few. This is tested with VDX 6740, 6740T, 8770-4, 8770-8.

* Update nos.inc.php

* Update nos.inc.php
2017-08-21 08:12:42 +01:00
0ba372221f fix: Cambium ePMP CPU reporting fix (#7182)
* Commit merge to branch for Cambium CPU fix (#1)

* Remove division by 10

Removes unnecessary division by 10 from poller file; this is handled by processor_precision in the main include.

* Correct processor_precision

Adjusted processor precision divider from 100 to 10 (as sysCPUUsage.0 reports from 0-1000 as 0-100.0%)

* Delete cambium-cpu.inc.php

With the change to the discovery file (processor_precision set to the correct value of 10) this file is not required.
2017-08-21 08:02:51 +01:00
f6fe6f748b feature: sysV init script for the IRC bot (#7170) 2017-08-20 08:38:24 +01:00
25d79ce9d7 newdevice: Added further sensor support for Geist Watchdog (#7143)
* newdevice: Added further sensor support for Geist Watchdog

* relaxed if check
2017-08-19 20:22:23 +01:00
31993387e4 docs: Updated alerting docs / formatting (#7185)
* Ignore docs/

* Fix indenentation

YAML's pretty strict

* Remove static anchor names

Markdown does this automatically for us

* Tabelize entities

* Remove tildes

They don't do anything
2017-08-19 19:40:50 +01:00
f37f3ddff6 docs: Swap mdx_del_ins with pymdownx.tilde
It's actively developed and in the same package as pymdownx.tasklist
2017-08-19 19:39:00 +01:00
0a97c0a722 Merge pull request #7184 from librenms/1.30.01
security: Security Patch to deal with reported vulnerabilties (#7164)
2017-08-18 22:11:43 +01:00
7887b2e1c7 security: Security Patch to deal with reported vulnerabilties (#7164)
* WIP: Security Patch

* Update install.php

Styling fix

* Update install.php

* Update dbFacile.php

* Fix whitespace
1.30.01
2017-08-18 21:49:31 +01:00
d3094fa657 security: Security Patch to deal with reported vulnerabilties (#7164)
* WIP: Security Patch

* Update install.php

Styling fix

* Update install.php

* Update dbFacile.php

* Fix whitespace
2017-08-18 21:29:12 +01:00
3ed5aca8b4 multiple fixes under agentStpSwitchConfigGroup in EdgeSwitch-SWITCHING-MIB (#7180)
Specifically:
  agentStpPortTable should be at agentStpSwitchConfigGroup.9, not .7
  agentStpCstConfigGroup should be at .10, not .8
  agentStpCstPortTable should be at .11, not .9
  agentStpMstTable should be at .12, not .10
  agentStpMstPortTable should be at .13, not .11
  agentStpMstVlanTable should be at .14, not .12
  agentStpBpduGuardMode should be at .7, not .13
  agentStpBpduFilterDefault should be at .8, not .14

  ...and agentStpPortHelloTime should exist at agentStpPortEntry.10
2017-08-18 08:00:20 +01:00