Commit Graph

1865 Commits

Author SHA1 Message Date
Danislav
36dbe0484e
Add quotes around the word mail (#11267)
* Add quotes around the word mail

The word 'mail' needs quotes around it so php will use it as a string instead of a variable name.

* Double quotes to Single as is in the rest
2020-03-10 15:48:15 +01:00
Jozef Rebjak
ce7a454434
Update SNMP-Trap-Handler.md (#11263)
* Update SNMP-Trap-Handler.md

* Update SNMP-Trap-Handler.md

* Update SNMP-Trap-Handler.md

* Update SNMP-Trap-Handler.md

* Update SNMP-Trap-Handler.md

* Update SNMP-Trap-Handler.md

Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
2020-03-10 11:05:22 +01:00
Fredrik Holmberg
6a97862211
Update SSL-Configuration.md (#11223)
Isn't this a typo?
2020-03-06 21:33:59 +01:00
PipoCanaja
6d56b9699b
Fix autodiscovery vs discovery on LLDP/xDP links (#11189)
* Fix xdp autodiscovery consistency (discovery vs autodiscovery)

* Update documentation related to xDP autodiscovery
2020-03-05 13:27:20 +01:00
Dan Langille
c69b4a5898
Fix includes/defaults.inc.php references (#11249)
Now that includes/defaults.inc.php has gone away, refer to
misc/config_definitions.json instead.
2020-03-04 09:18:56 +01:00
Heath Barnhart
12f8e72406
Doc: Health Sensor Advanced Discovery Example (#11179)
* Update Health-Information.md

Adding example

* Update Health-Information.md

Grammar and wording pass 1.

* Update Health-Information.md

Proofread pass 2

* shorter lines

Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
2020-03-03 06:19:23 -06:00
Tony Murray
4d917b7a5e Changelog for 1.61 2020-03-01 22:03:30 -06:00
pepperoni-pi
c25551ac98
IOSXE ignore macSecControlledIF and macSecUncontrolledIF ifTypes (#11214)
* Added bad_iftype to iosxe.yaml definition

* Update Configuration.md

Updated file location from includes/defaults.inc.php to misc/config_definitions.json and added an example of OS specific bad_iftype entries.

* Added OS Specific example for ignoring interfaces and updated file location.

* Updated bad_if selection documentation
2020-02-27 14:50:36 -06:00
Mathieu Poussin
baf2f9a4ce
BGP API: Add filter by remote ASN (#11204)
* BGP API: Add filter by remote ASN

* Fix blocked merge
2020-02-26 14:29:44 +01:00
gabrielRojasNew
2d14a57986
Added documentation to edit, delete services and locations (#11193) 2020-02-25 19:57:54 -06:00
PipoCanaja
4c6b017035
Typo - Chromatic dispersion (#11188)
* Typo

* Update Health-Information.md

force re-run tests
2020-02-25 18:28:04 +01:00
gabrielRojasNew
f023be1edf
Document add and remove parents from API (#11148) 2020-02-13 23:58:01 +01:00
Atroskelis
2bd17690ba
Added yum-config-manager to Remi install (#11033)
Hello,

If you follow the original Rumi config, the path to the binaries are not changed, so you cannot do php -v after the yum install line. 

If you install the yum-package-manager then apply the repo, all php packages become rumi php packages.

I hope the yum install line is correct, as i've tried to edit it and i hope i didnt miss any packages.
2020-02-13 22:22:41 +01:00
SourceDoctor
53dc564ef5
Puppet Agent Monitoring (#10827)
* puppet agent monitoring

* change position of last run graph

* device overview panel

* updating documentation

* mouseover for Overview Dashboard

* adding blank line for code climate
2020-02-12 08:26:02 +01:00
Guillermo
c8fab3a13f
Add alert_rule filtering to API ROUTE "list_alerts" (#11109)
* Add alert_rule filtering to API ROUTE "list_alerts"

* move alert_rule filter before "order by"

* $_GET to $request->get

* spacing

* multiple empty-lines
2020-02-11 19:04:55 +01:00
SourceDoctor
6fe840dc8d
Added steps to split DB off to its own server (#11130)
I struggled to get this working, so thought I would add my steps to the FAQ to help future users. Thanks to @murrant for the step about the .env file, that was the last piece of the puzzle.

Co-authored-by: Hans Erasmus <erasmushans27@gmail.com>
2020-02-11 15:49:16 +01:00
Neil Lathwood
6e9329b4a9
Change log for 1.60 Release (#11099) 2020-02-04 10:29:59 +00:00
Martijn Schmidt
a64bd45dbc
Update IronWare sensors & bgp-peers discovery, allow skip_values to target a specific index appended to the OID (#10941)
* Migrate ironware sensor discovery from php to yaml.

* More sensors, add grouping.

* dynamic_discovery_get_value() becomes getValueFromData()

* Target a specific index with skip_values.

* Improve Brocade BGP session discovery/polling

This commit allows for the correct discovery of BGP sessions
with 32-bit ASNs, IPv6 neighbors using the BGP4V2-MIB which is
based on draft-ietf-idr-bgp4-mibv2-11 and also polls for IPv4
unicast received routes through the FOUNDRY-SN-BGP4-GROUP-MIB.

Copied most of the code from PR#8877 by @Mikeburke14, cleaned
up the code a little bit to match the normal LibreNMS style,
and fixed bgpPeers_cbgp discovery as well as polling for the
ipv4.unicast neighbors.

Note that older Brocade IronWare firmware versions are known
to have multiple defects relating to the BGP4V2-MIB which
might result in certain missing non-established neighbors.

Related vendor defect numbers:

- DEFECT000633962
-- Symptom: The OID bgp4V2PeerAdminStatus does not return the
            correct value
-- Reported: NI 05.7.00
-- Resolved: NI 05.8.00g

- DEFECT000583319
-- Symptom: SNMP polling on bgp4V2PeerTable (OID brcdIp.3.5.1.1.2)
            does not display all the BGP entries
-- Reported: NI 05.6.00
-- Resolved: NI 05.8.00e

- DEFECT000550309
-- Symptom: SNMP polling on bgp4V2PeerTable (OID brcdIp.3.5.1.1.2)
            does not display the full information
-- Reported: NI 05.7.00
-- Resolved: NI 05.8.00c

* Add ironware CER & ICX platform test data.

* Re-add ironware.json compatible with current master branch.
2020-02-01 23:28:03 +01:00
SourceDoctor
7950893cd1
Alternate Poller IP instead of Hostname (#10981)
* optional alternative poller ip

* add missing schema update

* .

* enhance API Call 'add_device' with overwrite_ip key

* .

* .

* updating docs
2020-01-30 06:20:30 -06:00
LEV82
9ce7c83caa Add bad_ifoperstatus for filtering interfaces having a status for example 'notPresent' (#10977)
* Add bad_ifoperstatus for filtering interfaces having a status for example notPresent

* Add bad_ifoperstatus for filtering interfaces having a status for example notPresent

* Add bad_ifoperstatus for filtering interfaces having a status for example notPresent
2020-01-24 05:58:01 -06:00
SourceDoctor
6ffde9ce2d PureFTPd Application (#11048)
* PureFTPd Application

* graphing connected Users
2020-01-21 18:50:11 -06:00
TheGreatDoc
f99c45b4c1 Update Installation-CentOS-7-Apache.md (#11056)
Fixed typo
2020-01-21 08:53:14 +00:00
PipoCanaja
ee8297df19 Extend FS switches support, handle lowerLayerDown ifOperStatus (#10904)
* extend FS switches support

* MIB compilation

* HW and Ver

* sensors and CPU

* tests

* correct version

* try to handle properly "down" as not up, for OperStat like lowerLayerDown

* try to handle properly "down" as not up, for OperStat like lowerLayerDown

* try to handle properly "down" as not up, for OperStat like lowerLayerDown

* try to replace "down" with "not up" :)

* fix other ifOperStatus checks
2020-01-15 08:28:36 -06:00
louis-oui
063145ebf8 Clarify doc and webui for ignore tag on devices, ports, components and services (#11016) 2020-01-09 16:55:09 -06:00
louis-oui
c03c281b6c Clarify disable, ignore and disable all alerts in device edit section (#11011)
* Clarify disable, ignore tag and disable all alerts in device edit section

* remove alert settings section

* fix device attribs

* update doc

* update doc

* fix checks
2020-01-09 06:07:29 -06:00
Dag Bakke
859e18ea65 SELinux fix for syslog-ng with LibreNMS on Centos (#11014)
* Add SELinux policy for syslog-ng on Centos

* Update Syslog.md

* Update Syslog.md
2020-01-09 05:50:54 -06:00
Tony Murray
5a8c811c46 Changelog for 1.59 2020-01-04 09:08:33 -06:00
dlehman83
a3783c3c95 fix spelling (#10987) 2020-01-01 21:43:56 +01:00
Kevin Krumm
1e3551a7e5
docs: Update transport doc. (#10963)
Removed the old doc that has an email address entered by comas, this is no longer needed with transports. A admin can make transport for each user or make a group of users.
2019-12-19 15:00:33 -06:00
CharlesMAtkinson
03d91e54c1 Clarify Configuration.md (#10960)
* Clarify Configuration.md
Add a note saying that `community` is is used for auto discovery.
2019-12-18 11:44:33 +01:00
CharlesMAtkinson
e047a9ad56 SNMP-Configuration-Examples.md: RouterOS 6.x (#10961)
Add notes
2019-12-18 11:40:24 +01:00
Antoine Christol
535469de59 Update Oxidized.md (#10864)
* Update Oxidized.md

Hello,
I think this could be really useful, i searched for a long time before finding that command would work in a bare repo.
It allow to remove deleted devices that we don't have anymore.

* Update Oxidized.md
2019-12-17 00:11:06 +01:00
louis-oui
9734434de3 fix port_usage_perc macro matches in but not out (#10932)
* port_usage_perc macros matches in or out
* update doc
2019-12-12 20:51:37 +01:00
Derova
b460644c23 Updated Spelling (#10922)
Memecached -> Memcached
2019-12-10 09:03:56 +01:00
Derova
0f45d8f3cd Updated Spelling (#10921)
Connexion -> Connection
2019-12-10 09:02:58 +01:00
SourceDoctor
4232bf2f36 API Call for triggering Device discovery (#10861) 2019-12-08 22:17:27 +01:00
theochita
96ed161c81 Add ability to fetch oxidized device config via the librenms API (#10913)
* Add get_oxidized_config api route

* Add "get_oxidized_config" function.

* add get_oxidized_config docs and fix typo in the search_oxidized docs.
2019-12-08 20:04:53 +01:00
Unknown
4474c41969 Removed typo from the documentation (#10912)
Removed '*' symbol from line 1463 as it's not needed there.
2019-12-07 16:11:04 +01:00
SourceDoctor
f0e49c14e1 add missing documentation parts for Seafile (#10905) 2019-12-04 09:41:29 +01:00
PipoCanaja
5ab1bfcd9e
Remove un-necessary check (#10900) 2019-12-03 13:08:43 +01:00
Tony Murray
8f26f47b63 Changelog for 1.58 2019-11-25 04:54:16 +00:00
louis-oui
ef562f607e LDAP Add option to authenticate user independtly of OU (#10873)
* Add option to authenticate user independtly of OU
* Set config option in webui
* Compatibility with bind username option
* ran ./lnms translation:generate
* update doc
2019-11-22 19:29:47 +01:00
rj-taylor
964d4121bb documentation link fixes (#10848)
* fixes broken link to Contributing doc
2019-11-19 17:14:15 +01:00
PipoCanaja
bf181b9dc2
Added support for routing table collection in discovery (#10182)
* Clean broken VRF lite code
* Change DB table for route discovery
* Add VRF simple support
* add port_id to db and discovery
* static-fy the translation arrays
* sort and search cleaning
* Sorting refactor and validation
* formatItem shortened
* Handle ifIndex==0 meaning no next hop defined (MPLS)
* Sync all create/updates
* purge in daily
* remove old route table
* get rid of inetCidrRouteNextHop_device_id
* fix wonky column orders
* add route snmprec
* fix sorting by interface
* Move to new config
* rename to route the new table
* Properly display ipv6 compressed addresses
* Translation before merge ./lnms translation:generate
* Update manifest
2019-11-17 16:30:43 +01:00
joretapoo
2fa91fcbe7 Add interval extra var on API add_rule and edit_rule (#10814) 2019-11-14 18:46:11 +00:00
Jozef Rebjak
c69efb3444 Added support for Mikrotik LTE Modem (#10805)
* Added support for Mikrotik LTE Modem

* Deleted mistaken file

* Travis fix

* Another Travis fix
2019-11-13 11:31:32 +00:00
Tony Murray
12773d125b
API: list_arp search by MAC (#10803)
* API: Allow search ARP by MAC

* reformat mac

* Update docs
2019-11-13 02:21:07 +00:00
Tony Murray
8bc0af7b85
Translation generation command (#10794)
additional translatable strings: Filter Settings in settings page and Global Search on all pages.
remove duplicate fr key
also, language file signatures were wrong as I had a testing version of the vue generator
2019-11-09 13:01:41 +00:00
Tony Murray
90bd2275cf
Unbundle javascript language files (#10788)
* Unbundle javascript language files
automatically generated for each install

* update docs

* update laravel-vue-i18n-generator
a newer (unreleased) verison is need for English fallback to work
2019-11-08 15:18:41 +00:00
Brian Sidebotham
67169bf7b9 Create device groups via API (#10791)
* Add POST ability to devicegroups API endpoint

* Simplify function and make use of Lavarel validation for API request
2019-11-08 13:11:56 +00:00
SourceDoctor
4d50feffb3 Added certificate file validity check for services (#10354)
* snmp extend for monitoring certificate file validity

* Update Applications.md

* Update Applications.md
2019-11-05 21:56:31 +00:00
O Palivan
91d74d067b Update Installation-Ubuntu-1804-Apache.md (#10781) 2019-11-05 21:48:58 +01:00
mendoza-conicet
0ea346113a Add Headers and body to API Transports (#10614)
* Add Headers and body
add PUT Method

* fix check length of headers

* bad commit

* style check

* better body description

* Descr and RFC enforcement on 'PUT' and body

Only PUT can accept a statically defined body. GET will ignore it (RFC) and POST body is generated with the parameters.

* Process the variables as well for headers

* Update Api.php

* update docs
2019-11-01 09:00:26 +01:00
Hans Erasmus
dd70f6e0c9 Deleted yum package listed twice (#10758) 2019-10-29 18:36:33 +01:00
Tony Murray
d6231546df Changelog for 1.57 2019-10-28 17:40:15 -07:00
PipoCanaja
d72c722075 Alerts - Add features + serial in alerts-> table (#10747)
* Alerts - Add features + serial for device

* doc
2019-10-26 00:28:36 +00:00
SourceDoctor
8f1c77545d Added Seafile Server Monitoring (#10465)
* Seafile Monitoring

* generalized function for application with multiple similar entries

* adding snmprec file

* Create linux_seafile-v1.json

* Update linux_seafile-v1.snmprec

Updated linux_seafile-v1.snmprec to use 4x for encoding json data response

* Update Applications.md
2019-10-21 23:28:21 +01:00
Anael Mobilia
54d1775844 Add steps to store smokeping rrd in librenms folder (#10676)
* Add steps to store smokeping rrd in librenms folder

* Update Smokeping.md
2019-10-21 13:14:28 +00:00
Wouter Groenewold
335e69c473 Update manual to right path (#10727) 2019-10-21 11:01:12 +02:00
Jellyfrog
c76e95d343 Markdown linting of docs (#10595)
* Remove trailing spaces

* Markdown linting of docs
2019-10-21 00:47:40 +00:00
Hans Erasmus
38febff1ec Add memcached to DS-docs (#10715)
* Add memcached to DS-docs

As per request from @murrant in Discord, here is a small update on the Dispatcher service still needing a central memcached

* Update Dispatcher-Service.md

* Update Dispatcher-Service.md
2019-10-20 23:15:25 +00:00
jozefrebjak
a782efe7fd Include setting nfsen binary path in NfSen docs (#10707)
* Update NFSen.md

* Update NFSen.md

* Update NFSen.md
2019-10-20 15:31:38 +00:00
Garel Leo
7bebd6ba4a api: add hostname search for list_devices function (#10652)
* api: add domain type for list_devices function

api: add domain type query for list_devices

undo librenms-docker specification.

* api: list_devices change domain query by hostname. fix to search pattern in hostname

* Update Devices.md
2019-10-20 15:18:10 +00:00
Tony Murray
1501f43b83
Update Dynamic-Config.md 2019-10-17 14:03:48 -05:00
Wouter Groenewold
b6f26f6e80 Syntax fix (#10710) 2019-10-17 17:23:47 +00:00
theochita
25e8de30c1 Implement Oxidized "config search" as an API (#10648)
* Implement Oxidized config search as API

* Add Oxidized config search DOC.

* Update Devices.md

* change /configsearch/{searchstring} to /config/search/{searchstring}

* Update Devices.md
2019-10-17 02:46:44 +00:00
Tony Murray
699aa8a042
Consolidate configuration settings and implement dynamic webui settings (#9809)
* initial db/defaults dump

* numeric values

* Remove $config['time']

* Use config_definitions.json

* try setting definition as a complete array

* a little more

* fix format

* WIP converting dynamic setting pages

* rewriting the webui

* remove legacy and add translations

* finish email section

* improve navigation
update js a bit

* Import the remaining existing settings

* Update backend still some wip
migration

* fix config loading (db not overriding defaults)

* some cleanup

* more array collapsing

* update settings

* Settings search

* add purge settings to ui, order groups and sections

* collapse more arrays

* Auth definitions WIP

* remove needless slash escapes

* add warning to json

* moving settings from defaults.inc

* remove slow_statistics

* Move rrdtool settings to the poller section

* Use translations more consistently

* removing more settings from defaults.inc.php

* show setting name in tooltip

* allow help text to be shown on mobile

* disable settings that are set in config.php

* Implement undo and reset to default.

* Vue.js functional

* Vue.js WIP

* Implement tabs component

* accordion WIP

* lodash ver update

* two items

* Accordion somewhat working

* hash navigation

* Refine Accordion

* Fix up tab styling a bit

* Cleaner tab selected property
Hide html while loading

* spinner?

* Icon support
property for accordion to active

* WIP

* Tabs/Sections from ajax

* Setting Component skeletons

* Dynamic Component resolution

* Basic functionality

* toggle class

* Refactor components

* translate tabs and accordions

* simple array attempt

* improve readonly tooltip

* array styling

* array value editing

* organize snmp info

* Handle initial tab/section in url

* Use Laravel to parse tab/section, dump old

* Draggable array entries

* v-tooltip, for clickable (and touch) help tooltips
disable draggable

* Navigation WIP

* Navigation WIP

* groups computed

* filter settings

* fix event reference

* vue.js i18n initial

* missing description = just setting name

* en fallback

* tidy up the language support and js generation

* persist value to db

* fix issue with 0

* Delete settings from DB instead of setting them to default

* ldap-groups
fixup style

* Default dashboard selection

* fix array of options instead of object

* allow custom validation for settings

* translate options in SettingSelect

* SNMP v3 WIP

* fix setting arrays

* Split persist out of set

* Hook up events for SNMP v3 Auth
correct Config::persist behaviour with arrays

* dependent settings (primitive for now)
actually update the settings values in the LibrenmsSettings component

* more complex "when" behaviour

* remove un-needed seeder

* add poller_modules.cisco-qfp

* remove en.json (disable warning)

* don't set default for log_dir or log_file, otherwise it won't be processed correctly

* Fix module order
add some missing settings

* more config corrections

* correct graphs
correct loading values set to null (although it should have no difference)
remove project_name_version

* Add nfsen settings.  Docs are very confusing, so might have flubbed something
remove option for array definition of select option as numeric indexes messes it up

* Correct more upstream config differences

* Config cleanup after a bunch of merges.

* Fixes

* add version tags to js/css files
remove old js

* Print out full settings list read-only

* Add http_proxy setting
fix indents in config_definitions.json

* repeaters default is 0 (aka 20)

* cleanups

* rewrite the dynamic config docs

* add language docs

* Don't show snmp v3 auth add/remove if disabled by config.php
2019-10-16 21:22:05 +00:00
Tony Murray
99b29ef20c
Remove update=0 in distributed poller docs (#10681)
That is separate from distributed poller and should be set based on user preference.
2019-10-16 16:08:17 +00:00
Anael Mobilia
4cf584b425 Improve migration informations (#10673)
* Improve migration informations

* Generalization for modified files
2019-10-11 05:56:43 -05:00
Brian Peters
ae84049108 Update SNMP-Configuration-Examples.md (#10662)
Minor notes.
Firewalld settings for RHEL 7
2019-10-09 00:32:02 +00:00
Jellyfrog
00d05ff078 Optimize docs picture size (#10657) 2019-10-07 21:28:06 +00:00
Tony Murray
c8bcdbb916
Fix CentOS PHP install docs (#10645)
* Fix CentOS PHP install docs

* Update Installation-CentOS-7-Apache.md

* Update Installation-CentOS-7-Apache.md

* Update Installation-CentOS-7-Nginx.md
2019-10-02 13:57:01 +00:00
bewing
74724a4618 Add redis sentinel support to dispatcher service (#10598)
* Add redis sentinel support to dispatcher service

* Update docs for redis sentinel support

* Don't re-raise python exception in service
2019-10-01 06:51:07 +00:00
Tony Murray
121c5bc030 Changelog for 1.56 2019-09-30 11:07:03 +00:00
Lucas Dousse
d0f8491a00 Added SNMP example for EdgeOs Ubiquiti (#10639)
* Add example for EdgeOs Ubiquiti
* typo
2019-09-30 08:03:44 +02:00
CameronMunroe
c69643056f Asterisk Doc Improvements (#10631)
Made the asterisk documentation more like the rest of the documents using a wget command.
2019-09-28 01:53:37 +00:00
seros1521
2db29a325f Add procedure URL to alert templates (#10609) 2019-09-24 13:08:22 +02:00
Derova
92837e5c2b Dispatcher Service: Documentation Typo (#10620) 2019-09-23 06:26:53 -05:00
Orsiris de Jong
a0c2df6cd9 Improve CentOS 7 install instructions (#10477)
* Improve instructions

Documentation when open_basedir is set
Also gives list of packages when installing php-fpm
Fixes cron and logrotate files not being executed if umask is set

* Split dependencies universal / php

* Updated php doc

* Add more binaries to open_basedir
2019-09-18 14:59:20 +00:00
Zane C. Bowers-Hadley
e4c9153d16 more documentation clean up (#10577)
* fix a few bare URLs

* make mdl happy

* make Weathermap.md as mdl happy as possible

* make Varnish.md as mdl happy as possible

* make Two-Factor-Auth.md mdl happy

* touch one header for Syslog.md, but little can be done about the rest

* make Sub-Directory.md as mdl happy as possible

* make SNMP-Trap-Handler.md lint happy

* make SNMP-Proxy.md mdl happy

* make Smokeping.md as mdl happy as possible

* make Services.md mdl happy

* make RRDTune.md mdl happy

* cleanup RRDCached.md as much as possible

* make RRDCached-Security.md mdl happy

* make Rancid.md as mdl happy as possible

* make Proxmox.md mdl happy

* make Plugin-System.md as mdl happy as possible

* make PeeringDB.md mdl happy

* make Oxidized.md more lint happy

* make Network-Map.md mdl happy

* make MIB-based-polling.md as mdl happy as possible

* make Metric-Storage.md mdl happy

* make IRC-Bot.md as mdl happy as possible

* make IRC-Bot-Extensions.md as mdl happy as possible

* make

* make Graylog.md mdl happy

* make Gateone.md mdl happy

* make Fast-Ping-Check.md mdl happy

* make Distributed-Poller.md as mdl happy as possible

* make Dispatcher-Service.md as mdl happy as possible

* make Device-Groups.md mdl happy

* make Dell-OpenManage.md mdl happy

* make Dashboard.md mdl happy

* make Customizing-the-Web-UI.md as mdl happy as possible

* make Component.md mdl happy

* make Billing-Module.md mdl happy

* make Auto-Discovery.md mostly mdl happy

* make Authentication.md as mdl happy as possible

* tidy up a few lines in Applications.md

* make Agent-Setup.md as mdl happy as possible

* make metrics/OpenTSDB.md mdl happy

* spelling fix
2019-09-09 12:48:35 +02:00
Hans Erasmus
759121e90d Added linear prediction how-to (#10581)
As per twitter request.
2019-09-05 12:18:39 +00:00
Shao Yu-Lung (Allen)
9ac70037bb Add LINE Notify Alert Transport. (#10495)
* Add LINE Notify Alert Transport.

* Fix code style.

* Update document.

* Update Linenotify.php
2019-09-05 04:30:53 +00:00
garysteers
2791a86724 docs: Updated Fast-Ping-Check documentation for distributed pollers (#10575)
* docs: Updated Fast-Ping-Check documentation for distributed pollers

* Update some wording

* Update Fast-Ping-Check.md

* Update Fast-Ping-Check.md
2019-09-04 01:04:57 +00:00
Tony Murray
3cccb3aaf8 Changelog for 1.55 2019-09-03 04:19:00 +00:00
fbourqui
c73e9cbcfb add AIX detection running std snmpd or net-snmp (#10569)
* update IBM mibs
* add AIX detection running std snmpd or net-snmp
* simplifying  complex logical expression, codeclim.
2019-09-02 22:08:05 +02:00
rsys-dev
3cb971e33f Added Graylog to device overview and log level filter mechanism (#10509)
* Added Recent Graylog Entries to Device Overview (WIP)

* Improved "Recent Graylog" entries on device overview (WIP)
Added $config['graylog']['device-page']['rowCount'] to set maximum rows shown in "Recent Graylog" on device overview (Default: 10)
Added $config['graylog']['device-page']['maxLevel'] to set the maximum message level shown in "Recent Graylog" on device overview (Default: 7, validates value to be >= 0 and <= 7)

* Fixed code styling issue

* Added Log Level filter to Graylog widget
Added Log Level filter to Graylog pages (device pages and graylog overview)

* Added documentation for new configuration options

* Removed unneccesary (and already commented) using
Renamed "maxLevel" to "loglevel" as suggested by a colleague

* Added doc for $config['graylog']['loglevel']

* Removed includes/html/print-graylog.inc.php and inlined it in includes/html/pages/device/overview/graylog.inc.php
Removed comma in json object in resources/views/widgets/graylog.blade.php
Replaced translation strings in resources/views/widgets/settings/graylog.blade.php with existing translation strings

* log level -> minimum log level

* Use Config::get() default functionality

* Oops
2019-08-27 12:44:27 -05:00
Hans Erasmus
a9658e1af9 Update FAQ to clarify adding new device support or requesting new device support (#10513)
* Update FAQ.md

* Update FAQ.md

* Update FAQ.md
2019-08-22 22:26:32 +01:00
O Palivan
259fc28b05 Update Applications.md for mysql (#10549)
* Update Applications.md for mysql

Specified for Mysql the host 127.0.0.1 useful in some specific configs. Switched also the 6 <-> 7 steps, which makes more sens because of the package install (mysqli is needed for snmp extend).
2019-08-22 12:14:09 +02:00
PipoCanaja
e7a86add93
Allow num_oid to use OCTET STRING indexes (#10410)
* make index available as OCTET STRING converted to OID
* codeclimate
2019-08-21 10:04:16 +02:00
Jason Cheng
49310dc693 Allow adding custom quick links to device navigation (#10403)
* Add Open-Audit link display device asset details

* Add an external link using the template method

* Add external system link setting.

* Update device.inc.php

* Update Customizing-the-Web-UI.md
2019-08-20 20:49:59 +01:00
Tom van Leeuwen
c82cdf2a83 Fixed the invalid json of the example curl statement (#10537) 2019-08-20 13:55:28 +02:00
Hans Erasmus
cec10c1d37 Update Installation-CentOS-7-Apache to fix formatting (#10504)
* Update Installation-CentOS-7-Apache.md

Fixed formatting.

* Update Installation-CentOS-7-Apache.md
2019-08-09 21:55:14 +01:00
Zane C. Bowers-Hadley
535d820bd9 update the docs to reflect various updates to SNMP/local bits (#10507)
* cleanup apache and powerdns-dnsdist

* add the mysql stuff

* revert the powerdns bit, it was changed to mktemp
2019-08-08 21:18:15 -05:00
PipoCanaja
9dfae2ff14 Allow filtering of Health sensor discovery (#10485)
* Filter sensor types or by regexp

* codeclimate

* codeclimate
2019-08-07 20:01:58 -05:00
voipmeister
3fdfdbab84 Typo fix, minor textual changes in support docs (#10499) 2019-08-07 11:11:36 +02:00
Zane C. Bowers-Hadley
0a6ded9ba3 nfdump support for with NFSen (#10376)
* rework the nfsen stuff

* add the new netflow stats page

* update the docs for nfsen

* add the functions back in

* readd the defaults

* rework lowest_five_minutes into lowest_time

* nfsen_channel_rrds removed and will rework it in later post rewriting

* rework something that accidentally got nuked in merging

* rework formatting a bit

* remove a accidentaly added chunk of text =^.^=

* rework some tag capitalization

* remove a accidentally added [

* '='=>' = '
2019-08-06 19:16:34 -05:00
Jakub Vít
c6117f028a Fix installation instructions for Ubuntu-1804 (#10488)
* Fix installation instructions for Ubuntu-1804
2019-08-02 22:31:04 +02:00
FTBZ
267e07ed63 doc: Oxydized: Recover configuration of a disabled/removed device (#10469) 2019-07-31 22:53:45 +02:00
Munzy
a912abb186 Missing an I from Input (#10474) 2019-07-30 16:20:14 -05:00
Tony Murray
89fae9be1d
Move API routing to Laravel (#10457)
* Add more api helper functions
to centralize code more

* Enable cors

* Initial Legacy route in Laravel

* Force api v0 responses to json
Add a couple more routes

* more paths, pretty print the json response
pass parameters to the api function

* devices basic functions

* Port generic graph function
check permissions function accepts callback to avoid lots of if statements

* move vlans

* links

* graphs

* fdb

* health

* wireless

* port graphs

* ip functions
split em up

* port_stack

* components

* compoment add/edit/delete

* get_device_groups

* port stats

* port graphs

* get_devices_by_group

* port_groups

* api_get_graph

* show_endpoints

* get_bill

* get_bill_graph

* get_bill_graphdata

* get_bill_history

* get_bill_history_graph

* remaining bill functions

* list_alerts

* ack/unmute alert

* Some cleanups

* Some cleanups

* list_alert_rules

* alert rule add/edit/delete

* inventory

* list_cbgp

* vrf

* list_ipsec

* list_fdb

* list_links (fix both usages)

* list_locations

* list_locations

* list_vlans

* list_ip_addresses

* list_arp

* list_ip_networks

* cleanup

* services

* list_logs and fix authlog.......

* cleanup

* cleanup 2

* remove slim

* don't load schema more than once

* basic test

* fix style

* downgrade laravel-cors to a version that supports PHP 7.1
2019-07-29 16:32:37 -05:00
Tony Murray
8e9ee223e1 Changelog for 1.54 2019-07-28 21:47:30 -05:00
rsys-dev
6394c35ce6 Graylog entry matching device if source is not hostname or primary ip (#10458)
* Added findByHostnameOrIp($hostnameOrIp) for devices.
    Returns Device or null
Fixed Graylog device links, "device" parameter in URL was IP or Hostname instead of device id before
Added Severity number to name conversion. Can be activated by setting $config['graylog']['severity-names'] = "true" in config
Added Facility number to name conversion. Can be activated by setting $config['graylog']['facility-names'] = "true" in config

* Added $config['graylog']['match-any-address']. To enable matching Graylog entries by any interface address set to "true"
Added code to match Graylog entries by any interface address instead of only hostname or primary address

* Fixed missing quotation marks in <script> block in includes/html/common/graylog.inc.php:46, causing graylog page only load header with empty table. Introduced in https://github.com/librenms/librenms/pull/10447

* Modified code to reduce complexity as mentioned by codeclimate

* Changed findByHostnameOrIp($hostnameOrIp) as mentioned by https://github.com/murrant

* Added Language File "syslog.php" for Syslog Severity and Facility
Merged functions "levelName($level)" and "facilityName($facility)" to "syslogPrioParser($type, $value)" where $type should be "facility" or "severity" and $value the numeric or text facility or severity. Returns "NUMBER (NAME)" if possible, otherwhise returns $value

* Shortened findByHostnameOrIp($hostnameOrIp) as mentioned by https://github.com/murrant

* Add shortcut ipv4 and ipv6 device relationships
Better code for adding source addresses
Only translate level and facility if they are numeric
Allow level and facility to be sortable
No need for device link if we know it won't work.  Before the code was punting to save sql queries.

* Cache devices
Took queries from 69 to 6 in my quick test.

* Added Documentation for $config['graylog']['match-any-address']

* Fixed missing quotation marks in app/ApiClients/GraylogApi.php:125
2019-07-26 15:13:35 -05:00
Derova
149b47d215 Update Network-Map.md (#10459)
Fixed broken links
2019-07-25 07:05:41 -05:00
ifred16
77d94a458b Allow filtering of getUserlist LDAP function (#10399)
* Modification of the getUserlist fonction to use ldap filter

* Modification of the getUserlist fonction to use ldap filter V2

* documentation of auth_ldap_Userlist_filter option

* documentation of auth_ldap_Userlist_filter option V2

* Allow filtering of getUserlist LDAP function
2019-07-23 22:57:16 -05:00
PipoCanaja
c5a915709c Transport API - Doc for placeholders (#10416)
* Transport API - Doc for placeholders

The available placeholders are the same as the Templates documentation but the syntax is not exactly identical.

* Update Transports.md

* Update Transports.md

* Update Transports.md
2019-07-23 12:32:13 -05:00
Cournut
c0c3ad296b Mistake in url API (#10455)
Correction of the url api in documentation
2019-07-21 14:41:04 -05:00
VVelox
06b85f5b07 docs: more md linting (#10371)
* clean 1-Minute-Polling.md formatting

* cleanup formatting for Adding-a-Device.md

* clean up formatting of Cleanup-options.md

* cleanup formatting some for CLI-Tools.md

* cleanup formatting for Syslog.md and Configuration.md

* cleanup formatting for Device-Sensors.md

* cleanup formatting for Device-Troubleshooting.md

* cleanup Discovery Support.md

* cleanup Environment-Variables.md

* cleanup Example-Hardware-Setup.md and FAQ.mg

* update Features.md, Install Validation.md, Perfermance.md, Poller Support.md, and index.md

* cleanup Remote-Monitoring-VPN.md, SNMP-Configuration-Examples.md, and SSL-Configuration.md

* lots of updates for Installation docs

* more installation doc cleanup

* more formatting cleanup

* clean Work-Map.md up some
2019-07-18 21:25:53 -05:00
Tony Murray
3ead462549
Enable CSRF protection (#10447)
* Enable CSRF protection

* fix style issues
2019-07-17 07:20:26 -05:00
Joe Clarke
8bbc69a878 Add support for using Markdown for the Ciscospark transport (#10442)
* Add support for using Markdown.

Alert templates can be written using Webex Teams (i.e., Spark) Markdown,
which makes for some richer alerts.  This option defaults to false to
maintain Principle of Least Astonishment.

* Update Cisco Spark docs.

* Mention that Cisco Spark is now called Webex Teams
* Add support for Markdown

* Refactor text.

Do not exceed 80 characters per line.

* Refactor code to meet style guidelines.

* Remove errant tabs and use spaces instead
* Correct type check
* Remove use of 'else'
2019-07-14 16:34:22 -05:00
Austin
a6ecff380b Fixed typo: Administartor (#10437)
Corrected spelling of "Administartor" to "Administrator".
2019-07-11 22:47:52 +02:00
SourceDoctor
a875c1d8a5 Added mdadm application documentation (#10430)
* Add mdadm application documentation
* Update Applications.md
2019-07-09 23:47:32 +02:00
PipoCanaja
71da38cdf5 Added skip_values operator and documentation (#10419)
* more operators

* os_schema

* discovery_schema

* doc

* doc
2019-07-09 15:47:02 +01:00
VVelox
12cd540a92 doc: make Applications.md more lint happy and add a section on sudo at the top (#10367)
* clean up Applications.md a bunch

* more cleanup and header depth

* add the sudo section
2019-07-06 17:51:27 +02:00
PipoCanaja
55f67f42fe Refactor Api transport to use Guzzle (and new variables syntax) (#10070)
* Allow new {{ $xxxx }} syntax

* Properly handle urlencode on variable values without braking the URL, and uses Blades

* Doc
Doc typo

* use Guzzle for HTTP requests

* Add Basic auth support

* Doc update

* clean

* Revert Blades, but keep the {{ $xxxx }} syntax

* Revert Blades, but keep the {{ $xxxx }} syntax

* Init Vars and comments

* Notifications

* api-options are not required

* Update notifications.rss
2019-07-04 16:55:29 +01:00
jozefrebjak
08cb2d0065 Smokeping BasicAuth (htaccess) configuration 2019-07-04 10:27:38 +02:00
N-Mi
88d5577bd1 Split 2017 and 2018 changelogs (#10404) 2019-07-02 15:37:05 +01:00
jozefrebjak
bdcd709b83 Update Portactivity Applications for suggest modules to install (#10394) 2019-07-02 13:37:21 +01:00
N-Mi
acae7e8d00 Fixed formatting of Changelog (#10402)
* Fix markdown in Changelog.md

* Escape html tag
2019-07-02 13:25:36 +01:00
Tony Murray
9962fd8b2f Changelog for 1.53 2019-07-01 00:07:00 -05:00
N-Mi
5021eeb864 Fix markdown in Changelog (#10387)
* Fix markdown in Changelog.md

* Escape html tag
2019-06-29 20:33:49 -05:00
Kevin Krumm
82ea43a5e1 docs: update and fix link for Migrating from Observium (#10377)
docs: update and fix link for Migrating from Observium
Fix the link and point to web archive. And added notes.
2019-06-25 22:09:08 +02:00
Martijn Schmidt
048fd0f6ed Remove guessed limits for some health sensors, documentation for sensor classes (#10327)
* Default to null for group yaml discovery.

* Update test data for a154bda yaml group null fix.

* Changes to guessed limit functions for sensors.

Original behaviour
===================

The file `includes/discovery/functions.inc.php` contains
`sensor_limit_low()` and `sensor_limit()` which both attempt to
guess a sane value for sensors when no explicitly defined
low_limit or high_limit can be found during discovery.

Both switch control structures used in those two functions
have empty case statements which means that if one of those matches,
it's going to fall through and run the code for each subsequent
case until a `break` is reached.

For example, when we call `function sensor_low_limit(dbm, -13.036)`
it will return the value `-12.3842` instead of `null`. That is
because there will be a match at `case 'dbm':` which falls through
all the way to `case 'cooling':`, where it performs
`$limit = -13.036 * 0.95` before hitting a `break`.

Changed behaviour
===================

Removed `power_consumed` and `count` guessed low_limit and
high_limit, I personally added those sensor classes in PR #9471
when I didn't understand that a switch control structure has
fall-through behaviour so I can guarantee that guessing limits for
those is a mistake on my behalf. It should not be there, only
power_factor can have guessed limits. Apologies for the issue,
I'm still a beginning programmer!

Furthermore, I removed guessed high_limit values for `current`
and `power` because these are supposed to draw higher values as
more devices or components are installed on for example a PDU or
a chassis.

Finally, I removed guessed low_limit and high_limit for `dbm`
sensors, there is a much too large variance in power budget on
commercially available optical transceivers for there to be a
sensible window where you can guess these values.

* Documentation on adding sensor classes.

* Update test data - sensor limit changes @ 30212d2
2019-06-21 09:03:27 -05:00
VVelox
6575042f5f go through making lots of the docs more lint happy (#10342)
* clean up all but header incrementing in Creating-Transport.md

* make Device-Dependencies.md mdl happy

* make Entities.md as mdl happy as possible... one long table line left

* make mdl as happy as possible for index.md

* clean up Introduction.md as much as possible

* minor formatting cleanup... move each icon onto its own row

* make ack and notes the same style

* clean Macros.md up

* clean Rules.md up as much as possible

* tweak one line a bit to get it to format a bit nicer

* a bit more format tweaking, making sure it does not sure with >

* clean up as much as possible for Templates.md

* make Testing.md as mdl happy as possibly

* clean Transports.md up as much as possible

* clean as many issues as possible for Alerts.md

* clean up as much of ARP.md as possible

* clean up as much as possible for Bills.md

* make DeviceGroups.md as mdl happy as possible

* cleanup Devices.md

* make as mdl happy as possible Inventory.md and index.md

* mdl cleanup for Logs.md and PortGroups.md

* make Ports.md and Routing.md as happy as possible

* clean up Services.md, Switching.md, and Systems.md as much as possible

* more markup cleanup

* lots more md cleanup udner Devloping/

* reapply bits from #10343 that accidentally got removed when merging
2019-06-20 13:53:44 -05:00
Tony Murray
1a60c44eb0
Device groups rewrite (#10346)
* Device Groups rewrite
Updated web ui
Static or dynamic groups allowed
Alert rule query builder
Translation support
Permissions support

* cleanup, make relationship save, and validate it

* builder WIP

* rules builder and rules saving/loading

* Parse query builder to Laravel Fluent query

* Upgrade existing groups when editing.
Properly update only dynamic groups when polling.

* remove unused old code
Update API and other places to use Eloquent

* debug output in poller restored

* Fix up some things
creating static
improved validation
fix js error on creation
Fix static groups in polling

* hide pattern for static group

* Implement authorization
Use in the menu too

* update schema

* fix rollback

* Don't abort on invalid queries

* fixes to query builder

* add test data, looks like macros aren't handled (omitted them because groups don't use them generally)

* Add macro support for QueryBuilderFluentParser

* add test for macro that accepts value

* More space in forms
Retain rules when converted to static
no duplicate names allowed

* Better error feedback
Update related devices on save

* Add button icon

* format

* update docs

* fix tests

* Fix some QueryBuilderFluentParser issues with OR
updated/more test data

* Show device groups runtime
fix querybuilder.json format

* Store table joins in the rules to minimize polling time
Update group joins in daily.sh (and when they are saved)

* Update daily.php

* Add units to time
2019-06-19 16:01:53 -05:00
JoshWeepie
d8931e1946 Fixed multiple typos in SNMP Trap doc (#10343)
* Fix multiple typos in doc
* Update SNMP-Traps.md
2019-06-17 23:23:44 +02:00
Tony Murray
c2b09b8f80
Revert "Rewritten device groups (including static) (#10295)" (#10340)
This reverts commit cfc51d51f5.
2019-06-16 21:52:57 -05:00
Tony Murray
cfc51d51f5
Rewritten device groups (including static) (#10295)
* Device Groups rewrite
Updated web ui
Static or dynamic groups allowed
Alert rule query builder
Translation support
Permissions support

* cleanup, make relationship save, and validate it

* builder WIP

* rules builder and rules saving/loading

* Parse query builder to Laravel Fluent query

* Upgrade existing groups when editing.
Properly update only dynamic groups when polling.

* remove unused old code
Update API and other places to use Eloquent

* debug output in poller restored

* Fix up some things
creating static
improved validation
fix js error on creation
Fix static groups in polling

* hide pattern for static group

* Implement authorization
Use in the menu too

* update schema

* fix rollback

* Don't abort on invalid queries

* fixes to query builder

* add test data, looks like macros aren't handled (omitted them because groups don't use them generally)

* Add macro support for QueryBuilderFluentParser

* add test for macro that accepts value

* More space in forms
Retain rules when converted to static
no duplicate names allowed

* Better error feedback
Update related devices on save

* Add button icon

* format

* update docs

* fix tests
2019-06-16 08:27:22 -05:00
Tony Murray
0baeb07754
Split install steps into git clone and composer install (#10249)
* Split install steps into git clone and composer install
This gives the admin a little more knowledge about how to maintain the system, showing them composer_wrapper.php and su - librenms
They will get errors if composer_wrapper doesn't work because of a proxy or no internet connection

We lose stats on packagist.org (https://packagist.org/packages/librenms/librenms/stats)
If we wanted to keep stats, we could use:
```
COMPOSER_ALLOW_SUPERUSER=1 composer create-project --no-dev --no-install --keep-vcs librenms/librenms librenms dev-master
```
not sure that is worth it.

* fix composer_wrapper.php path
2019-06-12 00:21:32 -05:00
jozefrebjak
fd7defd5ec Example SNMP Trap handler class (#10311)
* Update SNMP-Traps.md

* Update SNMP-Traps.md
2019-06-12 00:19:55 -05:00
jozefrebjak
47be799234 update syslog.md (#10309) 2019-06-05 22:21:53 -05:00
Llarian
9c837bee87 Added aggregate config option to Billing 95th percentile calculations (#10202)
* Added configuration options to aggregate input and output bits before making 95th percentile billing calculations

* Changed aggregate to per-bill instead of global.  Added config options for making aggregate the default selected option.  Refactored out mres() calls in touched files.  Changed to Config::get where appropriate.

* Fixed documentation typo

* Fixed scope of aggregate default config option to be under billing
2019-05-27 21:44:02 -05:00
Tony Murray
c5d48592c1 Changelog for 1.52 2019-05-27 20:20:11 -05:00
Michael Ducharme
38bbf0b55b Instructions for logstash (#10252)
* Instructions for logstash

How to configure logstash to send syslog to LibreNMS

* remove silly ssh syntax tags

* Fixed date formatting issue for afternoon times
2019-05-24 07:36:36 -05:00
Tony Murray
604a200891
Python dispatcher service v2 (#10050)
* Refactor LibreNMS service
add ping

* services ported
remote legacy stats collection

* alerting

* implement unique queues

* update discovery queue manager

* remove message

* more cleanup

* Don't shuffle queue

* clean up imports

* don't try to discover ping only devices

* Fix for discovery not running timer

* Update docs a bit and and add some additional config options.
Intentionally undocumented.

* Wait until the device is marked up by the poller before discovering

* Handle loosing connection to db gracefully

* Attempt to release master after 5 db failures

* Sleep to give other nodes a chance to acquire

* Update docs and rename the doc to Dispatcher Service to more accurately reflect its function.

* add local notification
2019-05-20 11:35:47 -05:00
jozefrebjak
2221eead51 Updated location of graphs in documentation(#10238) 2019-05-20 13:50:12 +02:00
PipoCanaja
f9527ba5d2 Update Installation-CentOS-7-Apache.md (#10191) 2019-05-13 23:18:04 -05:00
Tony Murray
9ede688d13
Replace legacy menu with new Blade generated one (#10173)
* Remove legacy index php file

* fix routing page missing data

* WIP

* fix $navbar global usage

* remove global use of $locations

* ObjectCache again...

* move vars.inc.php to init.php for legacy ajax

* navbar is more local than I thought before.  Fix it.

* Fix some sensors tables escaping

* restore custom menu functionality, but with blade
and docs

* cleanup

* tidy menu @if checks

* Fix up the rest of the global variables and remove print-menubar.php

* consolidate some counting in the menu

* filter out empty custom port descr types

* Fix up custom port groups

* Fix up apps menu

* Fix services menu when all are ok

* Limit cached data to the user it is for

* Fix style

* A few clean ups

* fix pseudowire bug
2019-05-10 11:02:39 -05:00
pobradovic08
2d246097d4 Documentation: Fix broken links and anchors (#10194)
* documentation: Fix broken Templates.md link

* Update AUTHORS.md

* docs: Fix broken anchor in Fast-Ping-Check.md

* docs: Changed Alerting link in Configuration.md
2019-05-06 21:50:45 -05:00
Tony Murray
a46fc9d329 Fix alerting redirect (#10193) 2019-05-06 17:19:40 +02:00
Leo Winter
4c8e8b72fc docs: add 'software-properties-common' (#10092)
* Add 'software-properties-common'

Running 'add-apt-repository universe' only work with 'software-properties-common' already installed.

* Update Installation-Ubuntu-1804-Apache.md
2019-04-29 22:17:04 -05:00
Tony Murray
9d47476e31 Changelog for 1.51 2019-04-29 16:36:19 -05:00
pobradovic08
b774bb6900 Updated Code-Structure.md (#10156)
* documentation: Fix html/includes directory path

- Changed `html/includes` to `includes/html`
- Added overview of directories mentioned on the page

* documentation: Cleanup Code-Structure.md

- Reorganized document
- Added `includes/html/graphs` on the list
- Changed terminology (from folder to directory)
- Removed part referencing old auth method using authenticate.inc.php (changed in #8702)
2019-04-27 23:02:57 +02:00
Mihai Petracovici
2df2956817 Improved option naming & validation for smseagle (#10141)
* Relax validation for smseagle hostname
* Update property description and documentation
2019-04-27 09:08:16 +02:00
TheGreatDoc
ea8f0de330 Fix formatting (#10135) 2019-04-24 10:09:48 +02:00
Tony Murray
6e6e54cb98
New User Management (#9348)
* Rewrite user management.

Error management

Revert edituser legacy page

Connect user permissions button to legacy page for now.

Implement user creation
Refine form

Remove PingCheck.php accidental add :)

Fixes for redirection and deletion

More fixes: realname accidental validation setting, hide can modify for read-only auths

Use a panel to improve style

Add icon to panel-title

Not allowed to delete own user (at least via the click of a button)

Use request validation to reduce complexity of controller.
Improve protection against users doing things they should not.

Switch to horizontal form and not nearly as wide of layout :)

delete without refresh.
Fix for buttons

Include all users (not just from this auth)
Hide the auth column if there is only one auth type

Show username if real name isn't set

Don't allow creation of demo users via the webui

a fix to the lnms user:add command, it didn't set auth_id

update edituser.inc.php to current
just redirect to users page

* Remove TwoFactorTest for now

* Update edituser.inc.php

* Update .env.dusk.testing

* Enable 2fa for 2fa test...
2019-04-22 19:01:39 -05:00
pobradovic08
69a453adf0 documentation: Fix paths of custom graph examples (#10128)
Change `html/includes/` path to `includes/html/`
2019-04-20 08:44:40 -05:00
TheGreatDoc
f63d7a8bfe Update Example-Hardware-Setup.md (#10115)
* Update Example-Hardware-Setup.md

* Restore DB type
2019-04-17 22:51:49 +02:00
TheGreatDoc
75e11a7d3f Update Templates.md (#10120) 2019-04-17 16:28:55 +02:00
KodApa85
bb883501a9 fix: corrected markup (#10117)
Hadn't noticed the formatting was a little broken...
Looks a lot better now
2019-04-16 22:38:00 +02:00
Misha Komarovskiy
7b4c63a2f4 Added API call to list all ports FDB (#10020)
Add FDB API calls to resolve this [forum request](https://community.librenms.org/t/fdb-table-search-via-api-mac-ip-switch-port/1772/4) 

DO NOT DELETE THIS TEXT

#### Please note

> Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting.

- [x] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/)

#### Testers

If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
After you are done testing, you can remove the changes with `./scripts/github-remove`.  If there are schema changes, you can ask on discord how to revert.
2019-04-09 13:51:01 +01:00
Andrew Imeson
dd2faa2634 Minor word usage corrections (#10073) 2019-04-05 17:09:08 -05:00
mattie47
64897c273c Updated Smokeping.md (#10064)
Fixed a couple more things after #9731 and #10045 make some changes.
2019-04-03 15:02:24 +02:00
dmeiser
4e36805eaa Updated SNMP-Configuration-Examples (#10063)
Update snmpd instructions for Linux to reflect the ability to use @reboot declaration in the crontab. This is probably preferable to rc.local, which is apparently not supported or possible deprecated in Ubuntu or CentOS7.
2019-04-03 13:39:02 +02:00
Tony Murray
d628afcc27
LibreNMS python service doc updates (#10044) 2019-04-01 12:23:53 -05:00
Tony Murray
c03ed12d29 Changelog for 1.50 2019-03-31 22:43:59 -05:00
Freddie Cash
a4513e9372 Fix path in Smokeping conf file (#10045)
Fix path in Smokeping conf file
2019-03-31 11:18:55 +02:00
TheGreatDoc
8f718f5c78 Update Fast-Ping-Check.md (#10022)
Fixed documentation formatting issues
2019-03-25 10:07:04 +01:00
Tony Murray
f5209332b5
Update index.md 2019-03-19 15:16:29 -05:00
Misha Komarovskiy
55f4870b91 Added resources/sensors api call to list all sensors (#9837)
* Added resources/sensors api call to list all sensors

Signed-off-by: Misha Komarovskiy <zombah@gmail.com>

* Use global read permission check

Signed-off-by: Misha Komarovskiy <zombah@gmail.com>

* fix typo

Signed-off-by: Misha Komarovskiy <zombah@gmail.com>

* fix another typo

Signed-off-by: Misha Komarovskiy <zombah@gmail.com>

* Use laravel style for call

Signed-off-by: Misha Komarovskiy <zombah@gmail.com>
2019-03-19 08:22:39 -05:00
kiwibrew
db9c3c9456 Update documentation to reflect matching behaviour (#9955)
* Update documentation to reflect matching behaviour

Added a note to help users with matching patterns for Oxidized OS matching patterns.

* Update Oxidized.md
2019-03-18 22:25:13 -05:00
sorano
3f5d8e3633 Add HTML transport example for ms teams (#9969)
and fix missing " in Processor Alert with Graph example.
2019-03-17 20:39:20 -05:00
Tony Murray
1cfe4ea5fd
Don't enable secure cookies when they won't work (#9971)
* Ignore session.cookie_secure errors
They happen if the session is already started.

* Don't allow secure cookies to be enabled when not accessing via https

* Completely remove the setting
2019-03-17 16:25:59 -05:00
PipoCanaja
ceabfb8ef7 Update Getting-Started.md (#9976)
* Update Getting-Started.md

* Update Getting-Started.md
2019-03-16 21:34:51 -05:00
TheGreatDoc
0cc5de695d Custom storage warning percentage (#9975)
* Custom storage warning percentage

* Fixed permissions

* Restored line removed by accident

* Fixed permissions v2

* Set correctly the config var

* style
2019-03-16 23:53:05 +01:00
Yann Gauteron
d15fda3693 Optional automatic sensor limits (#9973)
* Automatic sensor limits are now optional. Set ['discovery']['sensors']['autolimit'] = false to disable.
* Changing new config variable name from discovery.sensors.autolimit to sensors.guess_limits
* Updated documentation: ['sensors']['guess_limits'] value added
2019-03-16 11:51:09 +01:00
Tony Murray
19612cf38d Documentation for setting a development environment (#9944)
* Documentation for setting a development environment

* Fixed indentation
2019-03-13 21:09:58 +01:00
PipoCanaja
f1221b42dc Add new template syntax into the FAQ, pointing to the documentation (#9942) 2019-03-13 00:21:13 -05:00
koocotte
35e24d9b2e Add Debian instruction (#9788)
Install instruction for the poller service under Debian
2019-03-05 00:48:01 -06:00
PipoCanaja
4599b36b25 Access to "sub" index (when OID has multiple indexes) (#9893)
* accessing in YAML each part of the index in case oid has more than one

* accessing in YAML each part of the index in case oid has more than one

* accessing in YAML each part of the index in case oid has more than one

* accessing in YAML each part of the index in case oid has more than one

* accessing in YAML each part of the index in case oid has more than one

* accessing in YAML each part of the index in case oid has more than one

* accessing in YAML each part of the index in case oid has more than one

* Codeclimate

* Initialisation + comments

* Like this
2019-03-04 21:17:14 -06:00
Tony Murray
d13d370711 Update Web UI debug FAQ (#9816) 2019-03-04 23:51:22 +01:00
KodApa85
7f104d4fd9 Advanced state sensors (#9881)
* refactor: advanced sensor states

mark create_state_index($state_name) as E_USER_DEPRECATED?

* fix: minor corrections

* fix: mib has partialSync(9) and incompatibleVersion(8)

* fix: corrected netagent2upsstate - Sleeping(5)

* fix: NetAgent2 upsThreePhaseUPSStatusInverterOperating correction

* refactor: array() be gone

* Refactoring includes/discovery/sensors/state/extendair.inc.php with arrays
And tidying up array formatting in other files

* fix: minor typo

* standardising array item names

removed redundant "if ($state_index_id !== null) {"

* workaround: procurve & serverscheck

a sensor is causing create_state_index($state) to return null.
The updated code doesn't allow for this and thus a hybrid is being used.

* standardised naming of state info. Caused a typo $state_name instead of $status_name
$state_name is the standard

* converted compas to square arrays

* Converted APC states using preg_match to new create_state_index() call

* Update boss.inc.php
2019-03-04 11:31:17 -06:00
Tony Murray
8f310c0769 Changelog for 1.49 2019-03-03 21:37:10 -06:00
KodApa85
218b6b8e58 Update Example-Hardware-Setup.md (#9897)
Added our system specs, along with my development environments
2019-03-03 22:40:15 +01:00
githubuserx
2fc142e9e3 docs: fix link missing parenthesis 2019-03-02 21:43:02 +01:00
angryp
15aee15388 Alertmanager fix 2 (#9860)
* Improved Alertmanager transport

* Typo fix

* Fix according to Travis fail
2019-03-01 23:09:25 -06:00
SirMaple
c6c3a2b3a7
Update Example-Hardware-Setup.md
Added the specs of my setup.
2019-02-24 16:49:18 -07:00
Matt W
c60d9aeca7 Clarification in the migrating server process (#9848)
Slight formatting and clarification improvements in instructions for migrating servers.
2019-02-21 22:26:00 +01:00
PipoCanaja
e2f835ad9d
FDB table with history capabilities (#9804)
* Migration script and data feeding

* Adding the columns in the GUI

* build schema

* update FDB test data

* Use of timestamps()

* ignore created_at and updated_at in tests, and regenerate test impacted

* daily.sh does the cleaning

* space cleaning codeclimate

* Use carbon instead of str-val

* handle when $fdb_entry->updated_at and created at are null

* handle when $fdb_entry->updated_at and created at are null (force travis rerun)

* Doc update

* Doc update
2019-02-21 13:23:01 +01:00
tharbakim
4f7a71c09f Update Templates.md (#9833) 2019-02-15 12:31:07 -06:00
dsmfool
4504b20468 Updated JumpCloud authentication example (#9722)
* Updated JumpCloud authentication example

Updated JumpCloud authentication example.  Relevant Community Support Thread: https://community.librenms.org/t/ldap-with-jumpcloud/6883

* Updated JumpCloud authentication example.

Updated JumpCloud authentication example in accordance with @murrant review.
2019-02-15 09:02:17 -06:00
TheGreatDoc
0835d8899e Change minimum PHP version in install docs (#9820)
* Change minimum PHP version in install docs
2019-02-15 12:05:22 +01:00
mhzgh
f7ae5e3cff Install docs, note proxy config (#9720)
* Update Installation-Ubuntu-1804-Apache.md

As discussed here:
https://github.com/librenms/librenms/issues/9709

* Update Installation-Ubuntu-1804-Apache.md

* Update Installation-Ubuntu-1804-Apache.md

* Update Installation-Ubuntu-1804-Apache.md

* Update Installation-Ubuntu-1804-Nginx.md

* Update Installation-Ubuntu-1604-Nginx.md

* Update Installation-Ubuntu-1604-Apache.md

* Update Installation-Ubuntu-1404-Nginx.md

* Update Installation-Ubuntu-1404-Lighttpd.md

* Update Installation-Ubuntu-1404-Apache.md

* Update Installation-CentOS-7-Nginx.md

* Update Installation-CentOS-7-Apache.md

* Update Installation-CentOS-6-Apache-Nginx.md
2019-02-13 10:13:33 -06:00
Tony Murray
6bf77b4940
Update index.md 2019-02-13 09:02:25 -06:00
Connor Wolf
9766cad5d0 Fix setup instructions so they actually work (#9731)
I'm walking through installing smokeping, and running into some minor issues in the docs.

Basically: 
 1. Smokeping is a `fastcgi` application, and the config in the docs assumes that you have a fastcgi handler installed (`fastcgi_pass unix:/var/run/fcgiwrap.socket;`). I did not, and you get confusing errors.
2. I'm still not sure where the smokeping stuff is supposed to show up in the UI.
2019-02-12 21:49:09 -06:00
paraselene92
5141717e83 fix a link in support document (#9808) 2019-02-12 17:52:55 -06:00
Tony Murray
e18f4522d5
Update to Laravel 5.7 (PHP 7.3 support) (#9800)
* Move assets to 5.7 location

* Add 5.7 SVGs

* add cache data dir

* update QUEUE_DRIVER -> QUEUE_CONNECTION

* Update trusted proxy config

* update composer.json

* 5.5 command loading

* @php and @endphp can't be inline

* Laravel 5.6 logging, Nice!

* Update blade directives

* improved redirects

* remove unneeded service providers

* Improved debugbar loading

* no need to emulate renderable exceptions anymore

* merge updated 5.7 files (WIP)

* Enable CSRF

* database_path() call causes issue in init.php

* fix old testcase name

* generic phpunit 7 fixes

* add missed file_get_contents
Keep migrations table content

* fix duplicate key

* Drop old php versions from travis-ci

* remove hhvm

* fix code climate message

* remove use of deprecated function assertInternalType

* Disable CSRF, we'll enable it separately.
All forms need to be updated to work.

* Update document references
2019-02-12 17:45:04 -06:00
aylham
cf1701624f Canopsis transport (#9795)
* Change in the Canopsis transport to make it 3.9.0 compliant and link to
the new documentation

* Add missing php72 module on Centos

* Fixing documentation for AMQP based tranport outside of the main doc
2019-02-11 09:46:09 -06:00
SirMaple
368e2c4b99 Update Applications.md (#9791)
* Update Applications.md

Added the directions for installing the Nagios check check_postgres.pl for the Postgres Application.

* Update Applications.md

Remove git building instructions and simply adding a link to https://github.com/bucardo/check_postgres.
2019-02-07 01:13:04 -06:00
TheGreatDoc
57aec11aad Update Poller Support.md (#9769)
Updated the correct way to disable a module in a device from webui.
2019-02-01 07:22:53 -06:00
FTBZ
687a390ee9 doc: add information about auth modules (#9760) 2019-01-30 21:02:18 -06:00
Tony Murray
0211ed043f Changelog for 1.48 2019-01-28 11:30:16 -06:00
Michael Stolovitzsky
afedb034d3 update docs on mkdocs (#9631)
* be more specific about duplicate IP addresses

* generate TAGS for emacs

* note on using mkdocs, and make docs rule

* ignore emacs temp files

* Update .gitignore

* Update functions.php

* Update Makefile

* Update Creating-Documentation.md
2019-01-24 00:13:32 -06:00
Martijn Schmidt
e0da083f5c New OS: Schleifenbauer, entity-physical improvements, various html page fixes (#9471)
* Fix some comment and documentation typos.

* Fix various entphysical page display issues.

- Resolve flickering during loading (missing liClosed for nested items).
- Clicking a sensor actually takes you to the matching graph now.

* Add a few nicecase() calls to clean up html page display.

* Create discover_entity_physical() function

- Add discover_entity_physical() function into includes/discovery/functions.inc.php
- This allows for an easy implementation of OS-specific entity-physical discovery.
- Update includes/discovery/entity-physical/entity-physical.inc.php to use the new function.

* Add power_consumed and power_factor sensors.

* Two new icons, make more entPhysical data visible.

* Pre-commit fix: blank line found at end of control structure.

* Add Schleifenbauer OS support.

* Now really fix the comment typo.

* Fix parsing mistakes.

* Add a generic count sensor.

* Make the Schleifenbauer discovery use count instead of state sensors.

* Don't place count sensor at the top, add sane limits for Schleifenbauer

* Finetuning the rrd_options, changing Schleifenbauer sensor names.

* Update schleifenbauer.svg

* optimize logo too

* add test data

* fix sensor value display (spaces break it)

* update entPhysicalIndex
2019-01-20 12:24:11 -06:00
Tony Murray
678315e1a2
Update Configuration.md 2019-01-19 16:58:24 -06:00
SaneGaming
85a069ae0b Update Fast-Ping-Check.md (#9705)
Change the step 3 cron path to the correct filename as given in from the install docs.
https://docs.librenms.org/Installation/Installation-CentOS-7-Apache/
2019-01-19 15:59:23 -06:00
PipoCanaja
56128bab36 NAC documentation (#9704) 2019-01-19 13:08:10 -06:00
JoshWeepie
5d41c851db docs:Update SNMP-Trap-Handler.md (#9654)
* Update SNMP-Trap-Handler.md

Added additional info to assist with the snmpd configuration on Ubuntu.

* Update SNMP-Trap-Handler.md

* Update SNMP-Trap-Handler.md

* Update SNMP-Trap-Handler.md

* Update SNMP-Trap-Handler.md

* Update SNMP-Trap-Handler.md

* Update SNMP-Trap-Handler.md
2019-01-17 15:48:04 -06:00
Tony Murray
74c57441e2
Powerdns app to json (#9680)
* Update powerdns app for json

* test data

* qsize-q is value

* add legacy test data

* docs

* Update linux_powerdns-v1.json
2019-01-17 11:43:43 -06:00
Tony Murray
3099b6793a
Make Eloquent models in the correct place (#9681)
* Make Eloquent models in the correct place

* Docs to indicate what command should be run to make a new table
2019-01-17 09:00:25 -06:00
Stefan
3dbde001bd Typo for JunOS in documentation (#9676) 2019-01-16 07:35:12 -06:00
TheGreatDoc
bfcfff6b5e
Merge pull request #9639 from murrant/snmp-exec-timeout
Increase snmp execution time limit to 20 minutes
2019-01-16 13:57:38 +01:00
TheGreatDoc
1a565d1294 Added documentation 2019-01-16 07:47:24 +01:00
Tony Murray
622c7ce38b
FAQ LibreNMS and MIBs 2019-01-14 08:36:54 -06:00
Paul Heinrichs
ebe2ecf524 Laravel migrations (#8868)
* Add migrations and seeds

* Fix spacing validation issues

* Fix linting

* Update tabs to spaces

* Update daily and install process

* Make build-base.php use the new migrations if empty or at dbschema 1000.
Seed 1000 into the database.
Temp fix for the route table index length (this table basically isn't used...)

* Fix typo in seed.
Hard code legacy schema checks to version 1000 (999 would have worked as is)

* Port association table no longer exists

* Make database validate again

* DB schema, remove as many DB::statement as possible

* update migrations
add librenms cli entry point (artisan)
update validate to check laravel migrations

* remove statements from users migration

* Fix up daily.sh and the 1000 migration

* Update migrations to current state
Take advantage of environment variables to set DB credentials.

* Fix style issues

* Update schema

* fix test db collation

* Fix migration table definition

* update db migrations

* Update migrations

* Update stats callback.  Just count the total migrations applied.

* Update 1000.sql.

* update migrations

* remove the graph type seeder, it is no longer needed

* update docs

* fix whitespace

* remove extra schema

* update tests

* fix sort

* add message

* dbSchema should actually be 1000

* add character set to db create

* Fix some artisan issues

* Update schema
2019-01-14 06:44:23 -06:00
angryp
0c188c5995 Added Alertmanager transport (#9637)
* Added Alertmanager transport

* Fixed as per comments

* Update Alertmanager.php

* Update Alertmanager.php
2019-01-12 10:42:42 +00:00
Tony Murray
63c85429ae Added support for grouping sensors (#9606)
Improves visual identification for sensors

 - [x] Docs

DO NOT DELETE THIS TEXT

#### Please note

> Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting.

- [x] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/)

#### Testers

If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
After you are done testing, you can remove the changes with `./scripts/github-remove`.  If there are schema changes, you can ask on discord how to revert.
2019-01-11 22:42:56 +00:00
Mike Centola
98f75bd9ce Modify GPSD Application to support SNMP Extend. Update Docs (#9625)
* Modify GPSD Application to support SNMP Extend. Update Docs

* Fixed namespace and removed comments (#9625)
2019-01-09 23:36:37 -06:00
Tony Murray
ef8d7adad0
Remove graph_types definitions from DB (#9618)
* Remove graph_types from DB.

This is silly since defining them in definitions.inc.php already does the same thing.
Adds missing ones in definitions.inc.php and rewrites others since I already wrote them before I realized they were duplicates.

* remove dead table

* Remove graph_types inserts from schema files.

* update db_schema.yaml
2019-01-08 13:46:45 -06:00
Tony Murray
eff1544b42
Suggest -d in discovery.php to clear cache 2018-12-31 11:07:43 -06:00
Neil Lathwood
3155b56501
Updated virtual images doc to use latest URL 2018-12-30 21:38:41 +00:00
Neil Lathwood
03d6d76908
Added changelog for 1.47 release (#9600) 2018-12-30 14:29:16 +00:00
VVelox
01eebd48c7 convert UPS-APCUPS over to JSON (#9095)
* add test data for the ups-apcups app

* add ups-apcups SNMP test data

* update for both legacy and JSON

* update the docs for the new extend

* add a comment so git sees this file as updated

* add missing "applications": {

* regen the json version

* properly regen the test json

* test fix

* fix the v1 tests json for ups-apcups

* regen post fixing json-app-tool

* regen the json again after more tweaks to the json-app-tool

* see if it does not like .0 for numbers that would otherwise be integers

* data is not a constant

* ...wow... missed that $json_return was mis-spelled twice :(

* re-add the .0s to some test data
2018-12-28 20:07:57 -06:00
Tony Murray
9d6e797522 Correction in sensor yaml docs (#9591)
DO NOT DELETE THIS TEXT

#### Please note

> Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting.

- [x] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/)

#### Testers

If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
After you are done testing, you can remove the changes with `./scripts/github-remove`.  If there are schema changes, you can ask on discord how to revert.
2018-12-23 21:50:51 +00:00
hexdump0x0200
3991e08cf9 Added automatic generation of the list of available transports (alerting) (#9544)
DO NOT DELETE THIS TEXT

#### Please note

> Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting.

- [x] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/)

#### Testers

If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
After you are done testing, you can remove the changes with `./scripts/github-remove`.  If there are schema changes, you can ask on discord how to revert.


This patch allows you to avoid manually adding a transport to the list of available transports. In addition, in custom installations, where their own transports were added, the need to manually update the file "html/includes/modal/edit_alert_transport.inc.php" broke the automatic update (git detected a conflict and required manual solution). With this patch, you can avoid this, add local transports that remain outside the git repository and there is no need to create and maintain your fork in order to add your transports or add them to the upstream (they may have no value outside the local installation).
2018-12-23 21:47:37 +00:00
Peter Stevenson
9d3ad4a67c
Add reference to check_service scripts response format.
Include a reference to docuemntation on how the the format check_service scripts are expected to respond in order for LibreNMS to parse it.
2018-12-18 13:46:51 +00:00
CrazyMax
95d37262d3 No need Third Party doc for now (#9538) 2018-12-12 08:43:00 -06:00
sorano
94f7196649 Correct sound for pushover.net (#9511)
* Correct sound for pushover.net

pushover.net should now use sound= instead of critical.

* Added pushover config examples for all severities.

Added pushover config examples for all severities.
2018-12-12 07:08:51 -06:00
markoh76
7bf769e19c Ceraos more sensors (#9392)
* Update to Added support for HeliOS 10Ghz failover to 5Ghz state sensor
Converted /includes/discovery/sensors/state/helios.inc.php to yaml
Test units included
CLA has been signed

* Added support for CeraOS TX Mute Status state sensor, NTP Client Lock Status state sensor.
Updated CeraOS temperature sensor, now called from includes/definitions/discovery/ceraos.yaml - removed includes/discovery/sensors/temperature/ceraos.inc.php
Corrected issue with CeraOS temperature reverting to zero after polling (added a trailing . to the num_oid)
Amended includes/definitions/discovery/helios.yaml with changes as advised by Neil Lathwood and Tony Murray

* Added unit test data and corrected ceraos.yaml validation error

* Added support for Ceraos Wireless Sensors (php)
Cross Polar Interference
Wireless Frequency

Added Ceraos state sensors (yaml)
NTP Client Lock Status
Tx Mute Status
Radio Operational Status
Remote Radio Operational Status
IDU Temperature
Power Amplifier Temperature

* Fix up tests, etc

* remove helios changes, fix style
2018-12-11 08:41:26 -06:00
PipoCanaja
377b77dc80 feature: Macros for xDP neighbours alert rules (#9531)
* Macros for xDP devices

* Documentation for macros.port_has_xdp_neighbours

* Stupid typo while renaming macro port_has_xdp_neighbours_device
2018-12-10 22:20:53 -06:00
Tony Murray
a2aa7379e6 Change snmp-scan heading (#9492) 2018-12-07 22:33:30 +00:00
Kevin Krumm
27a3555ecc
docs: fix images doc (#9527)
There is no capital I in the password...
2018-12-06 11:55:52 -06:00
Neil Lathwood
bd5e692dc7
Added changelog for 1.46 release (#9510) 2018-12-02 20:48:18 +00:00
TheGreatDoc
eadf27cbcc Change group owner for php/session for CentOS 7 nginx install (#9393)
By default on CentOS 7, /var/lib/php/session is root:root.

DO NOT DELETE THIS TEXT

#### Please note

> Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting.

- [x] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/)

#### Testers

If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
After you are done testing, you can remove the changes with `./scripts/github-remove`.  If there are schema changes, you can ask on discord how to revert.
2018-11-28 21:28:04 +00:00
Peter Stevenson
08de031cb5 Improve documentation for service plugins (#9414)
* Begin adding preinstalled plugin documentation.

Also add information about how the titles of the plugins are displayed and detected.
Make page visible on the websites Table of Contents.

* Add note about plugin loading based on file name.

* Added all monitoring-plugins URLs.

* Format URLs on the service plugin docs list.

* Correct a URL on the plugins list.

* Removed leftover text from plugin list docs.

* Add pkg-nagios-plugins-contrib plugins to docs.

* Add DSA pkg-nagios-plugins-contrib plugins to docs

* Added a few missing lines of pkg-nagios-plugins-contrib text.

* Remove links plugins we dont have URL for.

Add a few more pkg-nagios-plugins-contrib ones.

* Remove list. Point to the main sources directly.
2018-11-27 21:19:21 -06:00
VVelox
c5bb60907c add app for getting status of TCP connections for specified services (#8090)
* add the poller for portactivity

* add the ability to get monitor ports for portactivity

* add the graphs for displaying stuff for the portactivity app

* add the portactivity app page

* update the docs for Portactivity

* remove extra line

* minor doc update for Portactivity

* add update_application line

* convert to use json_app_get

* convert curly brackets to square

* style fix

* remote error, errorString, and version after they stop being important so they are not processed

* add alert rule examples

* add the poller for portactivity

* add the ability to get monitor ports for portactivity

* add the graphs for displaying stuff for the portactivity app

* add the portactivity app page

* update the docs for Portactivity

* remove extra line

* minor doc update for Portactivity

* add update_application line

* convert to use json_app_get

* convert curly brackets to square

* style fix

* remote error, errorString, and version after they stop being important so they are not processed

* add alert rule examples

* remove dump of get_portactivity_ports function added during rebase

* update to the current json_app_get

* add portactivity snmprec

* add the portactivity test data

* whoops bad merge when rebasing... fix

* minor formatting cleanup and add a missing comma

* fix some odditities with what one of the tests is doing

* whoops... include the use for the exception

* set the response to okay

* attempt to make snmpsim array check happy again

* the json now lints

* more making metric testing happy

* one more update to make travis-ci happy

* now flattens arrays also add array_flatten

* rename array_flatten to data_flatten as pre-commit chokes on it as laravel has something similarly named

* go through and properly add all the metrics

* tested with the newest one and it works

* whoops, clean up json and remove prototype that was used when putting it together

* doh! make it happy with laravel now

* see if a minor changing in formatting for the numbers makes the polling unit test happy

* order them properly

* remove a comma

* a few more minor fixes
2018-11-22 09:05:38 -06:00
Alan Gregory
c78f92a4c2 snmp_max_oid per Os support and snmpv1 multi_oid fix (#9343)
* Added snmp_max_oid config at Os level.

* Added check for snmpv1 on multi_oid requests.

* Check  device_oid_limit on multi get

* Use array_chunk

* Update snmp.inc.php

* remove dump, unused variable and extra plodes

* per device settings should take priority over OS

* Update Settings.md

* don't discard the data :P
2018-11-21 13:25:39 -06:00
TylerSweet
8617f3e21d Syslog name translation (#9463)
* Check to see if a host exists in a lookup table to translate received name to what LibreNMS knows

* Added some documentation on how this is configured

* Use \LibreNMS\Config instead of accessing $config directly

* Fix codeclimate finding: Additional blank lines after USE statement

* murrant suggested a much cleaner way of doing this!
2018-11-20 16:47:53 -06:00
Neil Lathwood
91bb725006
Update Configuration.md 2018-11-19 23:52:39 +00:00
Neil Lathwood
ceea9d4981 Added ability to record traceroutes for devices down due to ICMP (#9457)
* Added ability to record traceroutes for devices down due to ICMP

* Update Templates.md

* Updated schema

* Update dev-overview-data.inc.php
2018-11-19 09:58:59 -06:00
Misha Komarovskiy
4efb95e059 Added resources/links and devices/hostname/links API calls for xDP (#9444)
* api: Add list_links and get_link api calls

Signed-off-by: Misha Komarovskiy <zombah@gmail.com>

* api: Add get_links api call

Signed-off-by: Misha Komarovskiy <zombah@gmail.com>
2018-11-19 14:36:23 +00:00
Charles Provent
1549941acf Added allow ipv6 address localhost nginx-status docs (#9458)
Following the modification of the SNMP Nginx agent (e0dcd4a064), linux distributions make requests in IPV6, so you must allow ::1 


DO NOT DELETE THIS TEXT

#### Please note

> Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting.

- [x] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/)

#### Testers

If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
After you are done testing, you can remove the changes with `./scripts/github-remove`.  If there are schema changes, you can ask on discord how to revert.
2018-11-17 23:41:55 +00:00
pcw11211
cfa4e4098c Update World-Map.md to include pros/cons (#9442)
DO NOT DELETE THIS TEXT

#### Please note

> Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting.

- [ ] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/)

#### Testers

If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
After you are done testing, you can remove the changes with `./scripts/github-remove`.  If there are schema changes, you can ask on discord how to revert.
2018-11-17 23:14:04 +00:00
Neil Lathwood
09b2b5f1a1
Update docs for virtual images (#9456) 2018-11-17 14:19:38 +00:00
mattie47
f54210fa10 Update Syslog.md (#9443)
Fixed the screenOS output added in #9438 which was confusing mkdocs output. Refer to the docs currently https://docs.librenms.org/Extensions/Syslog/ - It's all mashed up at the bottom

DO NOT DELETE THIS TEXT

#### Please note

> Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting.

- [x] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/)

#### Testers

If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
After you are done testing, you can remove the changes with `./scripts/github-remove`.  If there are schema changes, you can ask on discord how to revert.
2018-11-11 20:37:16 +00:00
Tony Murray
1d48cf7db2 Discovery YAML. Do not implicitly append $index (#9315)
Require it explicitly. Makes it easier to understand and matches the style of other values

Questionable YAML changes (either broken before or now broken):
secureplatform: haStatCode
ptp600: receiveModulationMode

DO NOT DELETE THIS TEXT

#### Please note

> Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting.

- [x] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/)

#### Testers

If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
After you are done testing, you can remove the changes with `./scripts/github-remove`.  If there are schema changes, you can ask on discord how to revert.
2018-11-10 23:45:24 +00:00
Stefan
4695bc14df Added ScreenOS Syslog Hook (#9438)
* Add ScreenOS Syslog Hook

Adds Syslog Hook for ScreenOS
https://community.librenms.org/t/juniper-screenos-syslog-hook/6146

* Update Syslog.md

* Update syslog-notify-oxidized.php
2018-11-10 22:12:12 +00:00
pcw11211
016407896f Added Bing geocode lookup support (#9434)
DO NOT DELETE THIS TEXT

#### Please note

> Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting.

- [x] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/)

#### Testers

If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
After you are done testing, you can remove the changes with `./scripts/github-remove`.  If there are schema changes, you can ask on discord how to revert.
2018-11-10 22:10:45 +00:00
Paulo Coimbra
518e5f06d3 Added format field to Telegram Messages (#9404)
* Add format field to Telegram Messages

Added Telegram field to send formatted messages as Mardown or HTML

* Update Telegram.php

* Correct Mistypo.

* Correct mistypo

* Correct Mistypo

* Correct mistypo

* Update Transports.md

* Add Format field on Telegram Examples

* Change Telegram Format field to type select

* Add "blank" option to Format field

* Update Telegram.php

* Update Telegram.php

* Update Telegram.php
2018-11-08 22:26:29 +00:00
Neil Lathwood
38e3250528
Added support for using Transport name in templates (#9411) 2018-11-05 07:56:16 +00:00
Neil Lathwood
0b23c1aa99
Split out the changelogs into years. (#9400) 2018-10-29 22:14:41 +00:00
CrazyMax
ac7997d9ec Added official docker image installation in doc (#9398) 2018-10-29 10:08:54 +00:00
Neil Lathwood
4ce95e0bda
Added changelog for 1.45 (#9396) 2018-10-28 22:46:53 +00:00
Neil Lathwood
1ee2e8e0e0
Updated to use new theme for docs site (#9320)
* Updated to use new theme for docs site

* Updated theme location

* Removed librenms.css

* Updated index page + re-added librenms.css

* Use built in theme modification

* flexbox grid, dump bootstrap

* tidy up things

* Added path and updated deploy script + mkdocs config

* Removed db schmea changes

* Updated to install python/pip 3

* Removed pip3 install

* Pip3 install

* Updated deploy-docs

* Updated deploy-docs
2018-10-27 23:04:34 +01:00
Tony Murray
0ec8f18459 Graph of overall poller performance (#9381)
* Graph definitions

* Stacked.

* Add display

* remove old poll-log, add redirect

* Handle undefined data in graphs

* Standard pollers

* Change doc to send to the global poller module page.

* remove test code :)

* Link parent menu
2018-10-26 21:04:30 +01:00
Tony Murray
33dd256239 Point out the poller module graph in Performance docs. (#9378)
DO NOT DELETE THIS TEXT

#### Please note

> Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting.

- [x] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/)

#### Testers

If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
After you are done testing, you can remove the changes with `./scripts/github-remove`.  If there are schema changes, you can ask on discord how to revert.
2018-10-24 20:38:23 +01:00
Jellyfrog
ef13cd24e8 Optimize images for Webui (#9369)
DO NOT DELETE THIS TEXT

#### Please note

> Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting.

- [x] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/)

#### Testers

If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
After you are done testing, you can remove the changes with `./scripts/github-remove`.  If there are schema changes, you can ask on discord how to revert.
2018-10-23 22:29:45 +01:00
Luciano Santos
2e34c73c62 Added documentation on using groups in telegram transport (#9355)
* Telegram - group

Just added a small addition, to make the Group Chat receive alerts work.

* Update Transports.md
2018-10-20 21:18:26 +01:00
voxnil
15bf8b7e4e zfs-linux CentOS 7 specifics (#9327)
https://github.com/librenms/librenms-agent/issues/201

DO NOT DELETE THIS TEXT

#### Please note

> Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting.

- [x] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/)

#### Testers

If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
After you are done testing, you can remove the changes with `./scripts/github-remove`.  If there are schema changes, you can ask on discord how to revert.
2018-10-19 22:58:58 +01:00
Kevin Krumm
51220e6b77 Fixed Alert rules Advanced SQL query (#9350)
DO NOT DELETE THIS TEXT

#### Please note

> Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting.

- [X] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/)

#### Testers

If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
After you are done testing, you can remove the changes with `./scripts/github-remove`.  If there are schema changes, you can ask on discord how to revert.
2018-10-19 22:58:14 +01:00
sparknsh
06df834981 Application doc updates (#9288)
Simple doc updates for agent changes.
These changes are to start the clean up of snmp extensions. 

- https://github.com/librenms/librenms-agent/pull/196
- https://github.com/librenms/librenms-agent/pull/197
- https://github.com/librenms/librenms-agent/pull/198
- https://github.com/librenms/librenms-agent/pull/199
2018-10-17 17:25:38 +01:00