Commit Graph

1047 Commits

Author SHA1 Message Date
Neil Lathwood
ee110d59c4 docs: Updated some old links for alerting (#7211) 2017-08-23 08:00:13 +01:00
Neil Lathwood
03ff4cf236 docs: Updated CentOS 7 + Nginx install docs (#7209) 2017-08-22 21:15:19 +01:00
Barry Smith
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
Bennett Blodinger
ae02aa2489 docs: Update Component.md
Remove duplicated TOC
Remove named anchors
Some readability formatting
2017-08-21 18:49:07 +01:00
Bennett Blodinger
5eb002f553 docs: Update Two-Factor-Auth formatting
Removes duplicated TOC and named anchors
2017-08-21 16:52:32 +01:00
allano337
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
Bennett Blodinger
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
Bennett Blodinger
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
Bennett Blodinger
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
Tony Murray
149857f246 Update Using-Git.md (#7178) 2017-08-17 12:49:44 -05:00
Neil Lathwood
1f98bf46a5 Update Using-Git.md (#7159) 2017-08-15 15:59:58 +01:00
Neil Lathwood
262a3967ec docs: Centralised the Metric storage docs (#7109) 2017-08-13 19:18:19 +01:00
Aldemir Akpinar
34d0fc3199 refactor: Ability to edit default alert template (#7121)
* newfeature: ability to edit default alert template

* Fix style errors

* Added missing db query

* Removed unnecessary code, and added faq section

* Minor documentation about default alert template. And put back wrongly removed lines

* Fixing the silly old mistakes... again
2017-08-12 20:21:13 +01:00
kedearian
38cb8ab5db docs: Allow host renames with selinux enforcing for CentOS installs
* Allow host renames with selinux enforcing

you have to change the fcontext of /opt/librenms/rrd/ to allow read/write.

* Update Installation-CentOS-7-Nginx.md

Changed to add semanage fcontext -a -t httpd_sys_content_t '/opt/librenms/rrd(/.*)?' to complete the selinux change.

* Update Installation-CentOS-7-Apache.md
2017-08-11 09:34:21 +01:00
Tony Murray
1d777693e1 feature: New IP parsing classes. Removes usage of Pear Net_IPv4 and Net_IPv6. (#7106)
* Refactor remove use of pear Net_IPv4 and Net_IPv6

Caution, I added tests to test the functionality of the new functions, but I'm not 100% certain the replaced usages match 100%.  Please test.

Left usage in generate-iplist.php because I'm not sure the use of that script, so I didn't want to implement additional functionality to support it.

Add support for ipv6 fo ipInNetwork() function

Add phpdocs to functions
Remove accidental inclusion

Use binary operations instead of string for networKFromIp()
Tidy up binary operations in ipInNetwork()

tidy parsing cidr network

Change to a class based implementation.

Update phpdocs.
Fully catch exceptions for hex parsing.

Fix mistake.

support older phpunit versions

Fix php shifting to negative with php 5

* Fix graph authorization. Uncaught exception and checking an ipv4 against an ipv6 network == fail.

* Also remove colons from hex strings.

* Fix typo in bgp polling
Two passes of removing invalid characters from hex strings. (That way we don't mangle valid IPs)
2017-08-08 14:14:58 -05:00
Neil Lathwood
707b6c6954 feature: Added support to cisco sensors to link them to ports + macro/docs for alerting (#6959)
* feature: Added support to cisco sensors to link them to ports + macro/docs for alerting

* renamed sql
2017-08-04 19:37:50 +01:00
Tom Sealey
6a908affc8 fixed typo 2017-07-31 13:26:17 +01:00
Neil Lathwood
7eb1bf0391 Added Changelog for v1.30 (#7091) 2017-07-30 16:32:59 +01:00
Neil Lathwood
fc2041caaf api: Added api routes for eventlog, syslog, alertlog, authlog (#7071) 2017-07-27 19:56:38 +01:00
Neil Lathwood
66008a0fd5 feature: Added script to test alerts (#7050)
* feature: Added script to test alerts

* actually added the file

* Add text when no alert is found.
2017-07-23 19:56:22 +01:00
Neil Lathwood
75ea45d275 changed the way snmpwalk is done for yaml sensors (#7069) 2017-07-22 15:03:11 +01:00
kkrumm1
ac5b2c663c docs: Update Performance.md (#7061)
* Update Performance.md

added more info for cron job for the poller wrapper.

* Update Performance.md

fixed formatting error.
2017-07-20 20:08:36 +01:00
Aldemir Akpinar
c592f901b0 feature: Added jira alert transport (#7040)
* feature: added jira transport

* Trying to fix travis-ci sql problem

* Surpress mysql warnings

* Fix for typo

* Update Alerting.md
2017-07-19 16:25:03 +01:00
sorano
dedfc6c1d8 Set correct device_perf_purge in Support docs (#7049)
It is 7 according to defaults.inc.php
2017-07-18 15:46:44 +01:00
Steven Barnes
5c46ad1a72 corrected proxmox script path (#7048) 2017-07-17 21:20:22 +01:00
Yacine Benamsili
294ec4d73d feature: Added support for sending metrics to OpenTSDB (#7022)
* Create OpenTSDB.md

* Send collected data to OpenTSDB

* Send collected data to OpenTSDB

* Update build.sql

* Send collected data to OpenTSDB

* Delete 200.sql

* Update db_schema.yaml

* Update datastore.inc.php

* Update OpenTSDB.md

* Added OpenTSDB to mkdocs.yaml
2017-07-15 10:28:27 +01:00
network-guy
b289081dfe docs: Updated SNMP configuration Documentation (#7017)
* Add IOS-XE Support for FDB Table

* Update SNMP Documentation

* removed includes/discovery/fdb-table/iosxe.inc.php
2017-07-13 11:59:42 +01:00
drid
a9cef701ee docs: Added C.H.I.P. snmp extend support (#7007)
* Update Applications.md

C.H.I.P. power stats script setup

* Update Applications.md

Short description and link

* Update Applications.md

Added download link (will work when agent PR is approved)
2017-07-12 20:54:59 +01:00
Neil Lathwood
d30e5660f9 feature: Added ability specify options for sensors yaml discovery (#6985)
* feature: Added ability specify options for sensors yaml discovery

* travis fix for new line + skip_values_* -> skip_value_*
2017-07-10 16:27:46 -05:00
Tony Murray
50b3ffb3cf feature: add timeout to AD auth, default is 5s (#6967)
* feature: add timeout to AD auth, default is 5s
Can be configured by $config['auth_ad_timeout']

* only set timeout during bind operation
2017-07-07 23:05:40 -05:00
John
8b627bfec9 Update Ubuntu-image.md (#6960)
advise 

http://blog.oxforddictionaries.com/2014/05/advise-advice/
2017-07-05 07:48:29 +01:00
Tom Sealey
51d50edc87 docs: Added SSL config docs (#6951)
* SSL config docs

Moving from https://github.com/librenms/librenms/pull/6932 to a new file

* rename to match other docs

* tidying the formatting

* update to add SSL-configuration

* tidied up docs a little
2017-07-04 22:31:27 +01:00
Christopher
4a2f07cdca typo: Update Applications.md (#6953)
Typo: "postgres" changed to "powerdns-recursor" in powerdns SNMP section
2017-07-04 20:35:39 +02:00
Tony Murray
f810265cc0 feature: parallel snmp-scan.py (#6889)
* feature: parallel snmp-scan.py
Reduces scan time of a /24 from 5 minutes to 14 seconds
Work is done by addhost.php

Just tries to addhost.php hostname/ip right now
Might need some more complexity added there, but I wasn't sure what.

* respect autodiscovery.nets-exclude

* Improvements in ip handling and output
Add compatibility arguments so it can be used as a drop in replacement for snmp-scan.php

* tidy

* Handle errors from config_to_json.php

* Handle Ctrl-C better.  This is likely to get hit when someone scans a /16 or larger or an IPv6 network :)

* Move undefined outcome to proper location

* remove snmp-scan.php
2017-07-03 15:57:56 -05:00
Neil Lathwood
573a4b0e62 Updated validate to detect lower case tables + added support for checking mariadb 10.2 timestamps (#6928)
* Updated validate to detect lower case tables + added support for checking mariadb 10.2 timestamps

* updated install docs
2017-07-03 15:46:45 -05:00
Tony Murray
d8913baded docs: a couple of small fixes to the dynamic sensor docs (#6922) 2017-06-30 06:22:44 +01:00
brokerdavelhr
9a2b2ad07d docs: Update Rancid Integration
* Update and rename doc/Support/Configuration.md to doc/Support/Rancid Integration/Configuration.md

* tidy up files

* fixed config doc
2017-06-29 21:52:34 +01:00
Tony Murray
5975980dee Emphasize web isntall.php (#6913) 2017-06-28 20:33:04 -05:00
Neil Lathwood
2ee679276a updated alerting docs to correct macro link (#6898) 2017-06-27 23:57:09 -05:00
Neil Lathwood
5e32474d26 feature: Added support for sensors to be discovered from yaml (#6859)
* feature: Added support for sensors to be discovered from yaml

* added discovery definitions

* Updated docs, more code updates + tests

* removed the oid_name use

* pre-set variable from scrut output

* small updates as per comments in pr

* Allow index in descr

* Added ability to skip values

* Check for numeric values

* small update of oid name
2017-06-26 23:27:57 +01:00
rzig
1ba6381d61 security: Enable support for secure cookies (#6868)
* Enable secure cookies for authentication

Enables secure cookies for authentication when HTTPS is used.

* Add line with example secure session cookies

* Fix comment line that's too long

* Remove session secure cookie config

* Added secure cookie config to init.php

Commented out because having this enabled will prevent the server from sending cookies over HTTPS.

* Enable secure cookies if config value provided

* Make code formatting consistent

* Remove secure cookie config

* Use $config['secure_cookies'] to set cookies

* Add default option to turn secure cookies on

* Fix formatting issues

* Set secure cookies to default to false

* Add info about secure cookies

* Fix formatting

* Remove trailing whitespace

* move secure cookie default config to defaults.inc.php

* Remove trailing whitespace

* Fix formatting

* Remove empty line by rrd config

* Remove whitespace
2017-06-26 14:21:21 +01:00
Neil Lathwood
da733b32ee Added changelog for 1.29 (June 2017) (#6888) 2017-06-25 21:42:22 +01:00
Neil Lathwood
84814efc8b docs: Reorganised alerting docs + added some clarifications (#6869) 2017-06-24 21:27:42 -05:00
Nicolas
fb548a9732 docs: Update Ubuntu and CentOS nginx install doc with a better nginx config (#6836)
* docs: Update install doc with a beter nginx config

* Updated LibreNMS API Location to v0

* Updated LibreNMS API Location to v0
2017-06-22 22:49:13 +01:00
Tony Murray
03a273f722 docs: Reorganize auto-discovery docs and add a little info in some places. (#6875) 2017-06-22 20:43:33 +01:00
Tony Murray
52fabcb770 api: Add search by os to list_devices (#6861) 2017-06-19 19:49:43 +02:00
deepseth
bcc618a3ad feature: Added Syslog hooks for Oxidized integration (and more) (#6785)
* Creating syslog hooks with example script for Oxidized integration

* Corrected IOS-XR matching and stopped spurious calls to Oxidized
2017-06-17 15:21:21 +01:00
Tony Murray
013beb63f9 docs: Fix the Ubuntu 16 rrdcached config (#6846)
*  Fix the Ubuntu 16 rrdcached config

Missing user and group to run as and the -R option

* Create RRDCached.md

Add write threads in case users need to tune performance (4 is the default)
2017-06-16 12:58:48 +01:00
network-guy
c66f6c9704 docs: Update custom OS graphs doc to current standard. (#6837) 2017-06-14 20:32:56 +01:00
Aldemir Akpinar
572277bfaa Also fix the graph generating code for NfSen rrds (#6835)
* Also fix the graph generating code for NfSen rrds

* Updated NfSen document as well
2017-06-14 20:32:30 +01:00