Commit Graph

1697 Commits

Author SHA1 Message Date
Tony Murray b79d106c56 fix: Errors with missing posix extension (#7666)
* fix: errors with missing posix extension
It should be an optional dependency

* add php71w-process to the CentOS 7 install docs
2017-11-10 15:20:47 +00:00
Richard Lawley 925a713a1c docs: Moved ARP function docs from Bills section (#7701) 2017-11-10 12:42:51 +00:00
Jonathan Lassoff fe8d011dce refactor: Allow setting the target shorthost length. (#7453)
* Create a target shorthost length. Addresses #7452.

* Update defaults.inc.php
2017-11-09 20:47:52 +00:00
Neil Lathwood a14539a55a refactor: Switch to using discovery-wrapper.py by default (#7661) 2017-11-09 11:19:47 -06:00
Kevin Krumm f06df46d0b docs: fix layout changes to dashboard. (#7693)
* docs: layout changes to dashboard.

images are not lining up correctly. :(

* fix for images inline
2017-11-09 09:06:37 -06:00
Maximilian Wilhelm 95024af2c0 feature: Added purge-port scipt to allow deleting of ports from the CLI. (#7528)
* Add purge-port scipt to allow deleting of ports from the CLI.

  This script allows deleting single ports by their port_id or a list
  of ports read from a file or STDIN.

  LibreNMS Port purge tool
        -p <port_id>    Purge single port by it's port-id
        -f <file>       Purge a list of ports, read port-ids from <file>, one on each line.
                        A filename of - means reading from STDIN.

Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>

* Update CLI-Tools.md
2017-11-09 12:57:41 +00:00
Zmegolaz e31b884cc9 Feature: selected_ports per OS. Fixed layout of example MySQL table. (#7674)
* selected_ports per OS. Fixed layout of example MySQL table.

* Better table markdown.
2017-11-09 12:57:00 +00:00
Kevin Krumm d4dab47c75 docs: Create new docs on using dashboards (#7688)
* docs: create new dashboards doc

* docs: added new dashboard doc

* docs: images for dashboard doc

* Update Dashboards.md

* docs: dashboard minor changes

spelling changes.
2017-11-09 12:00:49 +00:00
Kevin Krumm c4e0b8e2e0 doc: minor spelling fix for device-troubleshooting (#7689) 2017-11-08 21:54:43 -06:00
Kevin Krumm 1aa971375c docs: added Ping Only Device (#7687)
* docs: Adding Device - Ping Only Device

* image for adding ping only device

* Update Adding-a-Device.md

* Update Adding-a-Device.md

* Update Adding-a-Device.md
2017-11-08 16:57:23 -06:00
Kevin Krumm 288b7e5a6e docs: minor changes to Device Troubleshooting/Auth (#7686)
* docs: minor changes to Device Troubleshooting

* docs: minor change to Authentication

* docs: fix link for Alerting take 3

* Update Testing.md
2017-11-08 16:27:23 -06:00
Kevin Krumm b19f132659 docs: fix for link in Alerts Testing.md (#7685)
I messed up the link..minor fix to link.
2017-11-08 14:11:58 -06:00
Kevin Krumm c7430dc970 docs: alert rules update info (#7681)
* docs: testing alert rule link

added link to the device troubleshooting page.

* Update Rules.md

fix link

* Update Testing.md

fix link

* Update Rules.md

removed link - not useful for this part.

* image for alert rules collection

* image for alert rules collection

added image alert rules collection
2017-11-08 13:21:47 -06:00
Kevin Krumm 467d38dcba docs: added more info capture debug (#7683)
* docs: added more info capture debug

* Update Device-Troubleshooting.md
2017-11-08 13:11:42 -06:00
Kevin Krumm 99fc28f8f5 docs: added in example rule and Link (#7680)
* docs: added in example rule and Link

Link to Device Troubleshooting page

* Update Rules.md
2017-11-08 11:28:23 -06:00
Kevin Krumm 0bc70f0d3b docs: fix Install Validation.md (#7679) 2017-11-08 10:15:08 -06:00
Kevin Krumm 2f703d1788 docs: added allow graphs without login (#7675) 2017-11-08 09:41:38 -06:00
Kevin Krumm c2cee47a5c fix for device troubleshooting (#7659)
I missed the g in troubleshooting.png :(
2017-11-07 10:51:45 +00:00
Kevin Krumm e7d4716996 docs: Added device-troubleshooting page (#7638)
* docs: create device-troubleshooting page

using the capture debug info page.

* Update device-troubleshooting.md

* capture debug info images

* Update and rename device-troubleshooting.md to Device-Troubleshooting.md

* added Device-Troubleshooting.md

* Update Device-Troubleshooting.md
2017-11-06 21:52:32 +00:00
Kevin Krumm e3ba042379 Fix Weathermaps (#7645)
minor spelling error.
2017-11-06 20:39:13 +00:00
Kevin Krumm f1ef6d20d8 docs: Updated FAQ on Graph Spikes and why they occur (#7653)
from murrant post in https://community.librenms.org/t/very-spiky-graph-on-one-host/2550/5
2017-11-06 20:37:00 +00:00
Kevin Krumm 00470df10e docs: Added WebUI to Validate docs (#7635)
* docs: Validate to the Web UI

* Add files via upload

images for web ui validate.
2017-11-05 20:25:26 +00:00
Kevin Krumm 532bb60052 docs: Added example on how to add Weathermaps to Dashboards (#7636)
* docs: How to add Weathermaps to Dashboards

* image for weathermap dashboard
2017-11-05 20:24:49 +00:00
Kevin Krumm d060eed6ad docs: Added Windows example for syslog client setup (#7632)
added in how to for windows send logs to syslog.
2017-11-05 18:55:04 +00:00
Tony Murray 4dd56bc72e refactor: Wifi cleanup (#7607)
* refactor: remove duplicated data collection in old wifi module
Still a bit more work before we can fully remove it

* remove unused graphs
update overview graphs for some wireless os
2017-11-02 21:07:58 +00:00
Tony Murray 0d07f85257 feature: Allow snmpget in os discovery yaml (#7587)
* feature: Allow snmpget in os discovery yaml

Re-submit after release

* Remove extra trim in discovery and in snmp_get.
also trim() always returns a string, so is_string() check is a waste of cpu cycles.
2017-11-02 12:41:18 +00:00
Kevin Krumm e3b4fa12b1 docs: Added syslog cleanup option to syslog docs (#7581)
* docs: added syslog cleanup option

syslog purge

* Update Syslog.md
2017-10-31 20:33:17 +00:00
Kevin Krumm 82ac4f59a4 docs: fixed the discovery.md (#7590)
was missing the py
2017-10-31 13:18:00 +00:00
Tony Murray 9d73cd401a feature: LDAP auth update: alerts, api, remember me (#7335)
* feature: LDAP auth update: alerts, api, remember me
Defer ldap connection until it is needed (saves connections from pollers)
Add ability to use a bind account if the server does not allow anonymous bind.
If the server does allow anonymous bind, no config change is needed.
Use Config class

FYI, I have no way to test this.

TODO: update/validate docs

* prevent duplicate users in get_userlist()

* fix bug in Config get for auth_ldap_uid_attribute, `.` should have been `,`
Change case of uidNumber to match common configs (should be case insensitive anyway)

* revert uidnumber case changes and fix up user supplied ones as it is unintuitive that they need to be lowercase.
Add auth_ldap_binddn setting to allow more a more specific way to enter the bind user.
2017-10-30 19:28:40 +00:00
Neil Lathwood e55c68de3b docs: Added changelog for 1.33 (#7580) 2017-10-29 21:39:24 +00:00
Neil Lathwood f36a954976 Revert "docs: updated info for graylog" (#7578)
* Revert "Revert "feature: Allow snmpget in os discovery yaml (#7558)" (#7576)"

This reverts commit 426916dbe4.

* Revert "fix: lldp find_port_id finds not the most correct port (#7564)"

This reverts commit 7e05fff615.

* Revert "fix: Update RFC1123 Hostname Check (#7572)"

This reverts commit ebcfa45a93.

* Revert "docs: updated info for graylog (#7538)"

This reverts commit 6fab5166c5.
2017-10-29 20:10:49 +00:00
Tony Murray 426916dbe4 Revert "feature: Allow snmpget in os discovery yaml (#7558)" (#7576)
This reverts commits:
193db02475
b73c4e9d6e
a93bb6635d
2017-10-29 14:04:26 -05:00
Kevin Krumm 6fab5166c5 docs: updated info for graylog (#7538)
* docs: updated info for graylog

per user in the forums with Graylog 2.2.3 this is needed.

* Update Graylog.md

* Update Graylog.md

* Update Graylog.md
2017-10-29 10:05:58 +01:00
Kevin Krumm 9d41301200 ssl config fix for centos apache (#7562)
* docs: ssl config fix for cent os apache

fixed line syntax error.

* Update SSL-Configuration.md

accident did not mean to remove that.
2017-10-28 13:09:52 +01:00
Kevin Krumm 090157779d Fix for WeatherMaps SELinux (#7569)
* docs: Fix for WeatherMaps SElinuix

SELinux command.

* Update Weathermap.md
2017-10-28 11:00:36 +01:00
Zmegolaz f8d7ccfe0d feature: Support for up/down detection of ping only devices.
* Added support for ping only devices.

* Renamed sql-schema/206 to 207.

* Discovery tried to detect the OS when it shouldn't.

* Updated db_schema.yaml

* Added ping icon.

* Don't show unused graphs and tabs when SNMP is disabled.

* Allow the user to specify OS of ping only devices.

* Removing custom OS now changes it to 'ping'.

* Removed unnecessary use of mres().

* UI select box for SNMP enable/disable.

* Hide device_ping_perf if ping is disable on device.

* Fixed SNMP settings update status messages.

* Added functionality to add ping only devices via the web ui.

* Added ping only option to addhost.php

* Added ping only support to snmp-scan.py

* Moved sql 208 to 211

* Fixed scrutinizer issues.

* Fixed broken ossearch.

* Added ping only support to the API.

* Updated API doc.

* Added (optional) to OS and hardware description. Hid Port Settings, Applications, Modules, Storage, Processors, Memory and Components from the edit menu

* Style fix.

* Updated ping icon.

* clean() instead of mres(). More escaping. Better help in snmp-scan.py and addhost.php

* Fixed scrutinizer issue.

* Always try SNMP in snmp-scan.py, new option for it in addhost.php. Slice instead of chunk in ajax_ossuggest.php. Other minor style changes.

* Updated sql modifications to insert the new column in the same place as in db_schema.yaml.
2017-10-27 22:59:25 -05:00
Kevin Krumm a81ce594c7 Weathermap fix for configs dir (#7560)
* docs: Weathermap fix for configs dir

Instead of setting the ownership of the Weathermap/configs directory to apache or www-data, leave it as librenms and chmod 775 librenms/html/plugins/Weathermap/configs
The apache user should already have librenms as a secondary group, so just granting group r/w permissions fixes access for Weathermap and prevents validate.php from complaining. @robdb

* Update Weathermap.md

* Update Weathermap.md

spelling fix

* Update Weathermap.md

added "WeatherMappper"

* Update Weathermap.md
2017-10-27 21:55:38 +01:00
Kevin Krumm d4b2f6ee91 docs: Weathermaps minor fix to the steps (#7557)
* docs: Weathermaps minor fix to the steps

minor fix to the steps cut down to 5 steps. and added in example pic.

* network weather map

example network weather map picture

* Update Weathermap.md

added pic to .md

* Delete network-weather-map.PNG

* network weather map example pic

example pic.

* changes to steps

* Update Weathermap.md

added or to user

* Update Weathermap.md

* Update Weathermap.md

* Update Weathermap.md

fixes for grammar and spelling.

* Update Weathermap.md
2017-10-26 21:35:03 +01:00
Kevin Krumm 017e3cd7ca docs: Update network map.md (#7554)
* docs: Update network map.md

* networkmap

network map example picture.

* Update Network-Map.md

added in the example network map picture.

* Update Network-Map.md

* Delete networkmap.PNG

* networkmap

example network map

* Update Network-Map.md

* Update Network-Map.md

* Update Network-Map.md

* Update Network-Map.md
2017-10-26 21:34:36 +01:00
Joel Kociolek b2a845adaf docs: Include Freeswitch in applications doc (#7556)
* Add doc for Freeswitch Application

* Add Freeswitch Application to doc table of content
2017-10-26 21:03:00 +01:00
Tony Murray 193db02475 feature: Allow snmpget in os discovery yaml (#7558)
* feature: Allow snmpget in os discovery yaml
Convert all remaining os except airos.

Affected OS: asuswrt-merlin, ddnons, dsm, extrahop, huaweiups, ibmtl, pcoweb, pktj, qnap, remoteeye4, sentry3, sentry4, tomato

There should be not change in detection.

* Fix, asuswrt-merlin and tomato with snmpsim.  May not have been an issue with actual devices because of -Oa leading " was a bit odd.

* missed file
2017-10-26 20:48:33 +01:00
barryodonovan e968e37cdc docs: Updated default list of modules in poller and discovery support docs. (#7532)
* updated default list of modules in poller and discovery support docs.

*  changed PollerSupport.md and DiscoverySupport.md to relect config.php as the correct location for local per-os module overrides

* removed 'tnms-nbi' module from docs and from defaults file. Removed 'wifi' from docs.
2017-10-26 11:43:09 +01:00
Tony Murray 51ba934e11 feature: Added web validation (#7474)
* refactor: convert validations to modules to prep for gui integration

* accidentally dropped, schema update

* fix accidental output to webui

* mention discovery-wrapper.py and re-arrange.

* refine some fix statements

* rename the Config validation group to Configuration.

* fix some scrutinizer issues
remove as many local functions from validator.php as possible
move extensions from pre-check
remove duplicate timezone check
looks like there is some db schema differences between mariadb 10.1 and 10.2, investigating

* mariadb version diff take2

* Check schema version first for database.
Remove stop to go back to command line for install docs.
Add helpful link when there is no devices added to /addhost

* fix incorrect validation for empty string defaults

* Fix style

* Add additional file permissions checks

* catch exception and fail for invalid timezone
Change visuals a bit.

* add php version warning

* fix space
2017-10-26 07:56:09 +01:00
Kevin Krumm bf2f948197 docs: fix for Network map.md (#7545)
fixed the bracket.
2017-10-25 08:56:22 -05:00
Kevin Krumm 0432d34d9a docs: Added doc for weathermap integration (#7536)
* docs: new doc for weathermap

* Update Weathermap

* Update Weathermap

* Update mkdocs.yml

added in Weathermap.md

* Update Weathermap

minor grammar fix

* Rename Weathermap to Weathermap.md

* Update Weathermap.md
2017-10-25 14:10:59 +01:00
Kevin Krumm e99ba67d88 docs: Added more example hardware (#7542)
Work and Home Setup.
2017-10-25 08:16:19 +01:00
bdg-robert 9053efa311 docs: Added Dynamic Configuration UI for Network-Map.md (#7540)
The network map has a built in configuration UI that can be tweaked interactively and provide the text parameters that can be placed in the librenms/config.php file. This option allows for faster configuration of the map instead of updating config.php and reloading the page.
2017-10-24 22:28:16 +01:00
kkrumm1 c50ddc3555 docs: SSL config for CentOS 7 with Apache (#7529)
* docs: SSL config for CentOS 7 with Apache

* docs: SSL update for CentOS and Apache

minor sentence change.

* docs: SSL conig centos and apache

fixed missed spelled word.

* docs: SSL CentOS 7 and apache

minor fix for spelling and grammar.

* Update SSL-Configuration.md
2017-10-23 23:09:14 -05:00
kkrumm1 a5dc4b2dc7 docs: OpenManage including info for windows. (#7534)
* docs: OpenManage included info for windows.

* docs: OpenManage

minor fix for the structure of doc.

* Update Dell-OpenManage.md
2017-10-23 21:59:31 +01:00
terrytibbles aace3b169e docs: Update Git commands (#7525)
Change to installation directory to run Git commands.
2017-10-22 19:25:09 +01:00