Commit Graph
17185 Commits
Author SHA1 Message Date
Tony Murray dc110d2d97 fix: Do not issue non-master warning if on the release update channel (#7297) 2017-09-07 09:18:19 +01:00
Daniel Preussker e754e9503b docs: Elaborated on permission issues with dmidecode for snmp (#7288) 2017-09-05 11:39:25 +01:00
Stefan Funke c39f3c7468 fix: quotes breaking powerdns app data (#7111) 2017-09-04 23:30:08 -05:00
Neil Lathwood c16ca70c71 fix: Updated graph_types table so graph_subtype has no default value (#7285)
* fix: Updated graph_types table so graph_subtype has no default value

* added schema update
2017-09-04 23:04:33 -05:00
Neil Lathwood edae33507a feature: Added script to generate config for new OS (#7161)
* feature: Added script to generate config for new OS

* scrut fixes
2017-09-04 21:38:09 +01:00
Andrew Holmes da0dcda409 newdevice: Updated state sensor code for Netonix 2017-09-03 21:08:57 +01:00
Tony Murray 7b262a6851 refactor: Improve yaml state discovery (#7221)
* feature: Improve yaml state discovery
Handle state values that are returned as strings instead of int
Synchronize state values for existing state translations so we can change them without creating a new translation and losing historical data
More extensive/verbose yaml discovery phpunit tests
dbBulkInsert, use the first entry instead of requiring the first entry to be at index 0

* Update sensor state documentation
re-order values for better readability
remove os check
Use snmpwalk_group since it is more flexible

* Add some more debug output in dynamic discovery
2017-09-03 19:58:39 +01:00
Zmegolaz 5441bafc81 fix: Fixed IPv6 host renaming (#7275)
* Fixed IPv6 host renaming

* Added get_rrd_dir() and modified other files to use it where appropriate.

* rrd_name() now uses the new function get_rrd_dir(), to make it simpler to modify the escaping in the future.

* Wrong function name in rrdstep.php
2017-09-02 13:45:31 -05:00
sfini b85269f00e newdevice: Added Support for Radware / AlteonOS OS/Mem/Proc (#7220)
* Added Support for Radware / AlteonsOS OS/Mem/Proc

* Discovery processors alteonos.inc.php

* Delete alteonos.inc.php

* file for discovery mempools

* File for discovery  processors alteonos.inc.php

* file for polling mempools alteonos.inc.php

* Update alteonos.inc.php
2017-09-01 21:06:38 +01:00
Søren Rosiak 21283f4a5b fix: Fixed Comware Processor Discovery && Hardware Info (#7206)
* fix: Fix Comware Processor Discovery && Hardware Info

* Remove old info.
2017-09-01 21:01:01 +01:00
Layne d3149c9709 docs: Update Distributed-Poller.md to remove distributed_poller_host
removed all references to 'distributed_poller_host' as it's not used in any librenms code, and documentation doesn't actually document what it does or is for.
2017-09-01 19:04:25 +01:00
deepseth 809c9ea591 feature: Added Syslog hook for ASA support (#7268)
* Added limited support for ASA using emblem logging

* Updated documentation

* Updated ASA support to cover regular and emblem logging

* Gave the variable a more suitable name

* Removed debug output
2017-09-01 18:37:01 +01:00
Ryan Medlyn 6077d3a3db webui: Greatly reduces application memory leak for dashboard (#7215) 2017-09-01 17:27:01 +01:00
deepseth 2cbee2dc02 refactor: Added IOS-XR Bundle-Ether shortened/corrected forms (#7283)
* Added IOS-XR Bundle-Ether shortened/corrected forms
2017-09-01 17:14:03 +01:00
Tom Sealey 4c3562ea0f alerts: Added Slack mrkdwn support in alert messages (#7202) 2017-09-01 14:50:13 +01:00
Paul Heinrichs 6914666004 newdevice: Added support for DragonWave Horizon (#7264)
* Add Dragonwave Horizon Support

* Add snmprec and fix style issues

* Update logo and discovery oid

* Update horizon.yaml
2017-08-30 23:13:31 +01:00
kkrumm1 8ab2d05da0 docs: Added debug to services.md (#7238)
* docs added debug to services.md

* Update Services.md

added user librenms

* Update Services.md
2017-08-30 20:13:45 +01:00
Robert (KHobbits) e3fab24e1c fix: Added Extreme OS mapping to 'gen_rancid' (#7261)
This is based on git-rancid code base, seems to be mirrored in upstream.
2017-08-30 20:05:32 +01:00
Neil Lathwood 4683736fcf fix: Reverted previous active directory changes #7254 (#7257) 1.31.03 2017-08-29 19:53:05 +01:00
Richard Mayhew 51da2ba3af docs: Fixed API-Docs Link in webui (#7242)
* New event log severity model

* Revert "New event log severity model"

This reverts commit 0783527af8.

* Fix API-Docs Link
2017-08-29 19:41:20 +01:00
Tony Murray 21deb96d52 fix: Fixed Avtech sensor discovery (#7244)
$valid is no longer a global as it once was
2017-08-29 19:37:24 +01:00
kkrumm1 963ad16bdd docs: Updated Services.md include chmod +x (#7230)
* docs: Updated added in chmod +x  (#0000)

* Update Services.md

* Update Services.md
1.31.02
2017-08-29 10:05:30 -05:00
Zmegolaz 18fb90ad25 fix: Corrected variable for timeout messages in unix-agent.inc.php (#7246) 2017-08-29 10:00:09 -05:00
Tony Murray 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
Neil Lathwood b5d24a533a fix: Fixed the empty() vlan detection check (#7241) 1.31.01 2017-08-28 20:24:43 +01:00
Neil Lathwood 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
Arzhel Younsi 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
Neil Lathwood 061add5eb1 fix: Re-added changes for #6959 removed by accident in #7128 (#7240) 2017-08-28 13:44:24 -05:00
Neil Lathwood 951e09e925 fix: issues with Geist Watchdog sensors
fix: issues with Geist Watchdog
2017-08-28 19:19:32 +01:00
Daniel Preussker f4fd564f46 Update hddtemp.inc.php (#7232) 2017-08-28 13:10:09 -05:00
Tony Murray 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
Tony Murray aae852d6c0 Changelog improvements from kkrumm (#7231) 2017-08-28 08:36:03 -05:00
Neil Lathwood d5bfd1db35 Merge pull request #7229 from librenms/1.31
Changelog 1.31 August 2017
2017-08-27 21:42:50 +01:00
Neil Lathwood 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
Neil Lathwood 9f80d16cbf docs: Updated index page for new alerting structure (#7226) 2017-08-26 22:03:08 +01:00
Tony Murray 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
Neil Lathwood 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
Tony Murray b2c8f34039 refactor: Use anonymous functions for debug error_handler and shutdown_function in index.php (#7219) 2017-08-26 20:07:34 +01:00
Tony Murray 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
yac01 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
Frank Mogaddedi 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
Søren Rosiak 701813f3ad fix: Comware dBm Limits && Comware Sensor Descr (#7216) 2017-08-24 15:08:42 -05:00
darthsco 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
Neil Lathwood 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
Jonathan Thurman 30c1b79b3d fix: Update gen_rancid.php to the correct arista os name (#7214) 2017-08-23 19:29:40 +01:00
Neil Lathwood ee110d59c4 docs: Updated some old links for alerting (#7211) 2017-08-23 08:00:13 +01:00
Neil Lathwood 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
Neil Lathwood 03ff4cf236 docs: Updated CentOS 7 + Nginx install docs (#7209) 2017-08-22 21:15:19 +01:00