Commit Graph

1697 Commits

Author SHA1 Message Date
mcq8 5ff03d5942 refactor: Refactor alert transports to classes (#7844)
* Refactor alert transports to classes

* Fix linting

* Make Slack alert transport php 5.3 compatible

* Rename call method to deliverAlert for alert transport
2017-12-10 20:20:28 +00:00
Kevin Krumm b3f09e7587 docs: minor fixes to Performance doc (#7877) 2017-12-08 11:55:21 -06:00
Kevin Krumm 46cbc69660 docs: minor fix to device sensors doc (#7874)
I foobar the backticks. :)
2017-12-07 18:09:41 -06:00
Kevin Krumm 544bfcefc9 doc: create device sensor help doc. (#7868)
* doc: create device sensor help doc. 

this should help users that get confused when receiving alerts for sensors.

* Update mkdocs.yml

* Update Device-Sensors.md

* Update Device-Sensors.md

* Update Device-Sensors.md

changes requested
2017-12-07 15:48:45 -06:00
Kevin Krumm c6501a3dda docs: Update World Map doc (#7858)
* docs: Update World Map Doc

Updated Doc and removed old Globe Map info.

* image for world map settings

* Update mkdocs.yml
2017-12-07 08:08:31 -06:00
Neil Lathwood daa0773f48 api: Added support for wireless sensors (#7846)
* api: Added support for wireless sensors

* Added docs for new api calls
2017-12-06 22:27:30 +00:00
Paul Heinrichs 0dd3ec25d3 device: Update Cambium devices to the new wireless sensors (#7703)
* Inital cambium refactor

* Refactored tests

* Remove CMM from pmp group

* Add sensors / Give CMM individual OS

* Fix linting

* More Sensors / states and Revised Headers

* Added old graphs / more sensors

* Add modulation rate to sensor

* Fix Hardware detection bug

* Further hardware detection refinments

* Modify pmp hardware detection

* New Wireless Metric - SSR

* SSR Sensor Graph

* Migrate SSR to metric

* Added last metric file

* Add master check to isAp method

* Fix variables in epmp

* CMM Discovery and state addition

* Add another test for cmm
2017-12-06 21:36:01 +00:00
Kevin Krumm fed75d0aeb docs: added TOC for Statcked Graphs (#7857)
made it easy to find in the huge list of config options. :)
2017-12-04 20:54:58 -06:00
crcro 0cb3470be0 webui: Timezone support for graylog (#7799)
* added timezone support for graylog

* using default user timezone if none is configured

* newline fix, added copyrights

* copyright correction

* copyright correction

* copyright fix
2017-12-04 07:56:13 +00:00
Tony Murray 5405498ed6 alerts: Adde generic alerts for state sensors (#7812)
* feature: Generic alerts for state sensors
A bit of a hack, but gets the job done. Perhaps someone can refactor the ResolveGlues() function sometime to make it better.

* Fix mistakes

* Add docs and collection rules, critical enabled by default

* moved schema file to 221.sql
2017-12-02 23:03:36 +00:00
Neil Lathwood 5357dd9515 feature: Added support for entity values in sensors (#7805)
* Added info on using OIDs in skip_values for sensors

* added more docs + entity support

* remove whitespace
2017-12-02 22:56:57 +00:00
crcro 995b7069eb webui: Added support for stacked graphs (#7725)
* initial release

* newline fix

* missed some graphs in edit

* style fixes

* revert custom function, use Config

* unified config option
added webui graph config entry
added sql entry for webui config

* removed config_id from sql file

* remove graph stack from defaults

* moved transparency and stacked option to functions.php

* style fixes

* style fixes

* changes in code
added docs about stacked graphs

* return keyed array

* new colors and transparency

* sql rename
2017-12-02 20:28:03 +00:00
Tony Murray a21a3fb2b6 feature: Added support Entity State polling (#7625)
* Entity state sensors??

* feature: Entity State polling
Display entity state on the Inventory page.
Allows for alerting based on states.

* fix empty last changed, timezones, alarm parsing, and db updates

* do not display unavailable alarms (80)
add tooltip with state value

* remove debug

* Entity state sensors??

* feature: Entity State polling
Display entity state on the Inventory page.
Allows for alerting based on states.

* fix empty last changed, timezones, alarm parsing, and db updates

* do not display unavailable alarms (80)
add tooltip with state value

* remove debug

* Use a discovery module and only fetch the rest of the data if entStateLastChanged is updated.

* A little more efficient sql use in the case nothing has changed.

* disabled by default, add to docs.

* moved schema file to 220.sql
2017-12-02 20:23:56 +00:00
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 d00cb228bb doc: Updated sensor state doc (#7822) 2017-11-29 21:34:10 +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
Tony Murray ce913cd8d3 docs: Improve developer intro, add learning resources (#7811) 2017-11-29 08:08:18 +00: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
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
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 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 9c0a74debb docs: Don't suggest setting distributed poller name incorrectly (#7790) 2017-11-24 09:17:11 +00: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 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
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 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
Kevin Krumm 6a6ae97084 docs: snmp config for Mac OSX (#7767) 2017-11-19 12:50:55 -06:00
Tony Murray 3bd9920e38 docs: Continue to reorganize docs (#7762)
* docs: Continue to reorganize things
Make landing pages for /Installation, /API, etc.
Split API out into multiple docs
Properly use multi-level navigation
Add lower nav buttons (tops are bug so disable for now)
Add logo for fanciness
Refine index page a bit

* Improve API TOC layout

* Couple of fixes.

* Fix API/API-Docs, assumed it was at the right url.
2017-11-19 01:19:18 +00:00
Kevin Krumm 51a641c93b docs: added ports template to alert rules doc (#7763)
Ports utilization template
2017-11-17 19:33:35 -06:00
Tony Murray 59625dc836 Remove the duplicated API TOC (#7759) 2017-11-17 15:04:49 +00:00
Tony Murray af27195746 feature: Script to collect port polling data and compare full walk vs selective port (#7626)
* Script to collect port polling data and compare full walk vs selective port polling.

* Select hosts. Colors. Percent. Units (s). Enable sel poll.

* Moved the colors. Disable selective if needed. Report set status and count.

* Style fix.

* CLI help.

* Docs.

* Style fix.

* Allow comma separated device_id list.
Better color formatting for output
Fix issue when using &$device by reference
2017-11-17 09:10:37 +00:00
Kevin Krumm e57feab499 docs: minor changes to validate doc (#7752) 2017-11-16 17:17:52 -06:00
Neil Lathwood c6a0c9d124 api: Added support for Oxidized asking for a single host (#7705) 2017-11-16 21:21:52 +00:00
Kevin Krumm aad821c207 docs: Added alert rule mapping doc (#7748)
* doc: create rule mapping doc

* Update mkdocs.yml

* Add files via upload

* Update Rule-Mapping.md
2017-11-16 19:58:58 +00:00
Kevin Krumm 133313020f docs: Added how to add graph ports to dashboards (#7749)
* docs: added how to graph interface

added to the dashboard doc

* images for port graph

* Update Dashboards.md
2017-11-16 19:56:31 +00:00
Francesco M. Taurino 22f4974eb6 docs: Add sudo guidelines for Proxmox (#7739) 2017-11-15 20:52:48 +00:00
Francesco M. Taurino ae1cb5e6c4 docs: Add sudo suggestion for SMART monitoring (#7738) 2017-11-15 20:51:41 +00:00
Kevin Krumm e4a775a9cd docs: fix for VM images doc. (#7740)
* docs: fix for VM images doc. 

I messed up the backticks :(

* Update CentOS-image.md
2017-11-15 11:28:28 -06:00
Kevin Krumm e563931a03 docs: VM images recommended user update (#7737)
* docs: VM images recommended user update

Added note for the user to update LibreNMS.
and added Community Forum

* docs: VM image doc

recommend user to update.

* Update CentOS-image.md

requested changes made.

* Update Ubuntu-image.md

requested changes made.
2017-11-15 09:33:19 -06:00
Matthew "Mori" Fisk 52b338da76 docs: Added URL to shell script for DHCP Stats (#7736) 2017-11-15 08:49:03 +00:00
capitangiaco 5af3a4d6f2 Update Configuration.md (#7732) 2017-11-15 08:14:40 +00:00
Søren Rosiak ec2256c350 docs: Install Docs Update for min PHP ver (#7630)
* docs: Install Docs Update

* Some changes..
2017-11-15 08:12:14 +00:00
Neil Lathwood 8e61c6394a feature: Added support for setting php memory_limit in config.php (#7704) 2017-11-14 08:17:01 -06:00
Paul Heinrichs 06510bba5e Switching Multiplier and Divisor Position - Docs (#7720)
The Constructor declares multiplier first, so just re-arranging to avoid confusion
2017-11-13 19:48:22 +00:00
Kevin Krumm 1c3f0d8345 docs: added link to Documentation (#7716)
Added Markdown Cheatsheet, helpful when creating docs.
2017-11-13 08:47:35 -06:00
Kevin Krumm bb3e896ccb docs: general fixes to the Dashboards (#7715) 2017-11-13 08:28:05 -06:00
Neil Lathwood 24c8ac522b doc: Added video link showing how to add ping only device (#7711) 2017-11-12 17:33:06 +00:00