Lee Spottiswood
e3082873f6
api: Added retrieve BGP sessions by ID ( #7825 )
...
* add support for retrieving BGP sessions via id
* fix syntax, use router params
* use count properly
* add get_bgp docs
* streamlined get_bgp sql query
2017-11-30 22:51:20 +00:00
Neil Lathwood
5871ee1c67
fixed get_all_ports() for api ( #7829 )
2017-11-30 21:29:36 +00:00
Neil Lathwood
d00cb228bb
doc: Updated sensor state doc ( #7822 )
2017-11-29 21:34:10 +00:00
Neil Lathwood
e75e675b32
added nobulk: 1 for uniping devices ( #7821 )
2017-11-29 21:19:12 +00:00
Martin Zatloukal
d2227471ba
device: Update wireless sensors for Ray and Alcoma devices ( #7820 )
...
* Update wireless sensors Ray and Alcoma
* Update wireless sensors Ray and Alcoma
2017-11-29 21:14:12 +00:00
Tony Murray
cc4633c7d1
docs: Added info on fping / http for SELinux ( #7778 )
...
* docs: new SELinux docs
I am not feeling the best about this doc's location/integration.
What do we think about splitting apart the install docs? We could share some docs between the different docs...
Also would show up on the left toc and have the prev/next buttons. I just don't want too many sections.
* move docs into install
2017-11-29 20:56:39 +00:00
Richard Lawley
f0a908cfb1
api: Add Permission checks to API ( #7710 )
...
* Add Permission checks to API
* Consistent API Returns and SQL restrictions on list_devices, list_bills
* Scrut fixes
* Restore global for graph functions
* Minor fixes following review
2017-11-29 09:42:52 +00:00
Tony Murray
d6db01abb5
refactor: Refactor fix php codesniffer 3.x issues ( #7816 )
...
We cannot use 3.x because it requires php 5.4, so update to 2.9.1 or newer 2.x release.
2017-11-29 08:23:19 +00:00
Tony Murray
ce913cd8d3
docs: Improve developer intro, add learning resources ( #7811 )
2017-11-29 08:08:18 +00:00
Søren Rosiak
461b39e989
webui: Add ability to mark all notifications as read ( #7489 )
...
* feature: Add ability to mark all notifications as read
fixes:
https://community.librenms.org/t/ability-to-mark-all-notifications-as-re
ad/2368/1
* Do not add multiple read notifications_attribs
* not archive, yes non-admin
* Oops, hardcoded user_id
2017-11-28 21:22:53 -06:00
Tony Murray
d362cd3368
Validation require memcached extension for distributed pollers ( #7815 )
2017-11-28 21:19:06 -06:00
Adam Bishop
1c6b7a967f
Single Sign-On Authentication Mechanism ( #7601 )
...
* Allow the URL a user is sent to after logging out to be customised
This is required for any authentication system that has a magic URL for logging out (e.g. /Shibboleth.sso/Logout).
* Allow auth plugins to return a username
This is a bit cleaner than the current auth flow, which special cases e.g. http authentication
* Add some tests, defaults and documentation
* Add single sign-on authentication mechanism
* Make HTTPAuth use the authExternal/getExternalUsername methods
* Add to acknowledgements
* Add reset method to Auth
2017-11-28 20:40:17 -06:00
Chris A. Evans
3720f0e776
feature: Implement dynamic temperature scale detection and value conversion for siteboss ( #7734 )
...
* added comments describing changes needed to be implemented
* Added patch by laf to update the underlying function, modified OID value in yaml to poll string instead of integer
* Second patch to discovery function peer laf/murrant
2017-11-28 20:30:24 -06:00
mattie47
3206447326
device: Improve Allied Telesis support within LibreNMS ( #7670 )
...
* Add support for Allied Telesis AlliedWare Plus products
- Uses mibs from 5.4.7-2.1 for AlliedWare Plus products
- Updates Legacy AlliedWare mibs
- Added Allied Telesis svg
* Remove unnecessary "trim" from snmpget
* Add new line to end of file
* Minor fixes for commit
2017-11-28 20:18:39 -06:00
Tony Murray
6b5dccc169
refactor: AD Auth defer connection until it is needed ( #7768 )
...
* refactor: AD Auth defer connection until it is needed
Nice error if php-ldap is missing instead of http 500.
* Add the same error when ldap is missing to other auth methods.
Not as graceful looking in the authorizers since they do not defer connection.
2017-11-28 09:19:34 -06:00
Neil Lathwood
8d98fa5a5e
device: Added support for NetPing UniPing devices ( #7807 )
...
* device: Added support for NetPing UniPing devices
* Fix svg viewbox and remove useless style cdata
2017-11-28 08:15:22 -06:00
Martin Zatloukal
666c7b2700
Fix: Current tx power on Racom Ray ( #7813 )
2017-11-28 08:02:42 -06:00
Neil Lathwood
e1bb3261de
webui: Disabled page refresh on Add services page ( #7804 )
2017-11-27 17:45:02 +00:00
Martin Zatloukal
6b4241381f
fix: Fixed UPS time remaining in Mikrotik RouterOs ( #7803 )
...
* Fix UPS time remaining in Mikrotik RouterOs
* Fix UPS time remaining in Mikrotik RouterOs
* Remove space
2017-11-27 17:13:09 +00:00
Kevin Krumm
199d160fe0
docs: VM image install doc minor spelling fix ( #7801 )
...
* docs: VM image install doc minor spelling fix
* Update CentOS-image.md
2017-11-26 17:22:28 -06:00
Neil Lathwood
ae062f901b
device: Added additional sensors for Geist Watchdog devices ( #7795 )
...
* device: Added additional sensors for Geist Watchdog devices
* added missing divisor
* added os unit test
2017-11-26 21:53:14 +00:00
Kevin Krumm
90dced7dc8
docs: minor sentence fix cleanup options. ( #7800 )
2017-11-26 14:11:52 -06:00
Kevin Krumm
cf58d15838
docs: build new Cleanup Options doc ( #7798 )
...
* docs: build new Cleanup Options doc
* docs: create new cleanup options doc
* Update Cleanup-options.md
2017-11-26 11:37:02 -06:00
Kevin Krumm
b6abf158a0
alerting: Added more rules to collection ( #7797 )
...
Comware Sensors PSU, Fan
Cisco Sensors Fan, PSU
UBNT EdgeSwitch Chassis State
2017-11-26 14:32:32 +00:00
Kevin Krumm
d0a5be128b
docs: updated the user account types doc ( #7794 )
...
* docs: updated the user account types doc
added a bit more info on user account levels.
* added oxidized info
* Update Authentication.md
2017-11-25 15:21:45 -06:00
Kevin Krumm
4120bbc2a9
docs: Minor changes and fixes to Alert Rules ( #7789 )
...
* docs: minor changes and fixes to Alert Rules
* Update Rules.md
* Update Rules.md
2017-11-24 23:06:32 +00:00
Tony Murray
2e73b75297
fix: Use memcached to lock daily processes on Distributed Pollers ( #7735 )
...
* fix: use memcached to lock daily processes on Distributed Pollers
* All the locks!
2017-11-24 09:37:52 +00:00
Tony Murray
9c0a74debb
docs: Don't suggest setting distributed poller name incorrectly ( #7790 )
2017-11-24 09:17:11 +00:00
Martin Zatloukal
8c8a2e05c6
feature: Added additional sensors for ups-nut
...
* Add db schema for ups-nut alerting
* Add db schema for ups-nut alerting
* Add db schema for ups-nut alerting
* Add db schema for ups-nut alerting
2017-11-23 20:37:05 +00:00
Tony Murray
9113f81272
fix: Allow discovery to check if devices are down before skipping ( #7780 )
...
* fix: allow discovery to check if devices are down before skipping
We could also exclude snmp_disable devices from SQL query, worthwhile?
* also skip ping only devices
2017-11-23 08:31:15 +00:00
Tony Murray
257a314fca
feature: Validate session directory is writable ( #7784 )
2017-11-23 08:29:10 +00:00
Neil Lathwood
b45302bf70
newdevice: Updated Checkpoint Gaia detection and added storage ( #7656 )
...
* newdevice: Updated Checkpoint Gaia detection and added storage
* update db_schema
* added murrants discovery options
* Rename 216.sql to 217.sql
2017-11-22 23:28:33 -06:00
Kevin Krumm
6fe5ac60d6
docs: rules doc small changes ( #7787 )
...
some minor movements to the alert rules doc.
2017-11-22 19:37:39 -06:00
Kevin Krumm
381f4b0cdf
docs: fix link clean options ( #7786 )
...
well, the link didn't work as planned. :(
2017-11-22 19:04:15 -06:00
Kevin Krumm
998a797bcd
docs: added links/alerts/Cleanup Options ( #7785 )
...
* docs: added link to the alerts collection
* docs: added link to clean options
added link under setup to help users locate Clean options.
2017-11-22 18:34:10 -06:00
Tony Murray
cfe4cecc8e
Precache undefined variable $array_data ( #7781 )
...
Not sure of the implications of this but I'm pretty sure it should be $oid
2017-11-22 21:50:22 +00:00
Tony Murray
0dee809607
fix: Discovery os changes weren't properly reflected if os changed ( #7779 )
2017-11-22 21:48:28 +00:00
Tony Murray
6371e47fea
fix: Fixed precache data ( #7782 )
...
Missed one pre-cache data layout
fixes : #7777
2017-11-22 21:42:19 +00:00
Tony Murray
67e83cc2ea
fix: Reduce chance of incorrect os detection ( #7776 )
...
I think using the strict check was causing some of our odd incorrect os detection. The previous php code was not using a strict check, so revert to that.
2017-11-22 08:18:55 +00:00
Tony Murray
ea684c3543
webui: Allow deletion of dead poller nodes ( #7721 )
...
* webui: allow deletion of dead poller nodes
* improve messages
2017-11-22 07:50:29 +00:00
Neil Lathwood
ccbe3ea2e3
fix: Use correct entity columns for sensors ( #7775 )
...
* fix: Use correct entity columns for sensors
* updated schema
* Update custom rules too
2017-11-21 22:41:22 -06:00
Tony Murray
a56267e5ba
fix: poller-wrapper.py keeps running when a poller takes too log ( #7722 )
...
name space the memcache variables for each polling interval based on the rrd.step value.
Make poller-wrapper.py respect the rrd.step setting
2017-11-21 09:22:53 +00:00
Kevin Krumm
f04d7f1e94
docs: added note to adding device ( #7774 )
...
* docs: added note to adding device
added a note to SNMP port.
* Update Adding-a-Device.md
2017-11-20 23:00:10 -06:00
Tony Murray
d10047c32e
fix: bgp-peers fails when ip parsing fails ( #7773 )
...
Don't try to call ->getFamily() if we didn't parse an IP
2017-11-20 18:46:15 -06:00
Neil Lathwood
ba51dc263e
refactor: Only update sensor/bgp tables when values are changed ( #7707 )
...
* refactor: Only update sensor table when sensor values are changed
* included bgp peers in as well
* updated with comments from github
2017-11-20 12:37:02 -06:00
Richard Lawley
c56f04e1e2
fix: Set API log start at 0 rather than 1( #7772 )
2017-11-20 15:31:21 +00:00
Tony Murray
0c83bd051b
Fix: Authentication on CentOS6 ( #7771 )
...
There is no need to redeclare abstract functions if the class is already abstract and they are declared in parent.
For some reason the PHP on CentOS7 throws an error with this where all other php versions I tested were fine with it.
2017-11-19 21:59:05 -06:00
Tony Murray
e205c93c07
remove extra backtick ( #7770 )
2017-11-19 20:53:25 -06:00
Kevin Krumm
8a4a5b2987
docs: added Web UI rename device. ( #7769 )
2017-11-19 20:20:02 -06:00
Tony Murray
1cc0e7cd6d
fix: Fixed empty group query for devices ( #7760 )
...
* fix: empty device group query
* fix: empty device group query
Optimize it a bit to use the relationship.
2017-11-19 21:54:09 +00:00