1179 Commits

Author SHA1 Message Date
kkrumm1
0d3991d987 docs: Update template example in alerting docs (#6685)
removed the /r/n from the 
"Default Template" since the /r/n is no longer needed.
2017-05-19 19:31:09 +01:00
Neil Lathwood
c6882129e8 docs: Create code of conduct page (#6640)
* Create CODE_OF_CONDUCT.md

* Update mkdocs.yml

* Update CODE_OF_CONDUCT.md
2017-05-19 07:15:06 -05:00
Ivan
a86f2a2597 Update FAQ.md (#6683)
Fixed markdown.
2017-05-19 08:59:53 +01:00
Tony Murray
21d205b379 fix: Fix typo (#6664) 2017-05-17 21:06:36 +02:00
Neil Lathwood
0338734fe7 feature: Added script (scripts/test-template.php) to test alert templates (#6631)
* feature: Added script (scripts/test-template.php) to test alert templates

* moved remaining functions, fixed php 5.3 and include dir

* added docs on use for test-template script
2017-05-13 06:46:08 -05:00
timando
c835708689 docs: Add instructions for opening firewall on CentOS (#6605)
* Add instructions for opening firewall

* Allow access through the firewall
2017-05-13 09:21:19 +01:00
Nick Peelman
cbb67b35d6 Remove a leading space that broke some code rendering (#6632) 2017-05-11 15:42:47 +01:00
Tony Murray
e67708d1f7 fix typo (#6604) 2017-05-06 12:51:21 -05:00
Tony Murray
a5ee8a3ce5 docs: Add all current wireless types. (#6603)
* Fix missing wireless sensors docs

* WIP: moving all legacy polling to wifi module
2017-05-06 11:52:36 -05:00
Neil Lathwood
6734e84382 feature: Added ability to whitelist ifDescr values from being ignored with good_if (#6584)
* feature: Added ability to whitelist ifDescr values from being ignored with good_if

* added ras to enterasys yaml
2017-05-05 15:18:33 -05:00
Svennd
ef3a163db8 docs: added seconds is the time unit. (#6589) 2017-05-05 09:46:00 -05:00
Tony Murray
4dbab407bb refactor: OS discovery tests are now dynamic (#6555)
* refactor: OS discovery tests are now dynamic
All that needs to be done now is supply snmprec files with the proper name. os.snmprec or os_description.snmprec
I also tweaked the loading of yaml files to speed up the tests substantially.
Verifies all os have at least one test and all snmprec files are tested.

* fix typo
2017-05-03 15:52:53 +01:00
VVelox
62a562b39a feature: Updated BIND application (#6218)
* add BIND named poller

* add BIND named graphs

* add BIND stuff

* add the color pallete used by this

* add app support

* white space cleanup

* document the bind stuff

* expand the linux package stuff a bit

* note the agent and zero_stats value

* now include the $mib stuff

* white space cleanup

* whoops, add the update app bit

* correct a error added when merging

* readd copyright info

* note myself in the copyright info
2017-05-03 15:23:33 +01:00
Neil Lathwood
41e7689c77 refactor: DB Updates will now file level lock to stop duplicate updates (#6469)
* refactor: DB Updates will now file level lock to stop duplicate updates

* scrut fixes

* renamed function from clear_lock() to release_lock()
2017-05-03 14:48:23 +01:00
Tony Murray
4c0412b14d feature: Wireless Sensors Overhaul (#6471)
* feature: Wireless Sensors
Includes client counts for ios and unifi
Graphing could use some improvement.
Alerting and threshold ui not implemented

WIP: starting OO based wireless sensors.

Class based functionality working
remove old functional files
add schema file

discovery needs to be enabled, not polling

fix up schema

fix Unifi discovery not returning an array

Add some debug when discovering a sensor.
Fix style.

Add missing semicolin

Add a null object (Generic) for OS.
Fill out some phpdocs

Re-organized code
Each sensor type now has it's own discovery and polling interface
Custom polling tested with Unifi CCQ

Left to do:
Implement UI (Graphs and Custom thresholds)
Alerting
Testing

Fix event message text

Remove runDiscovery and runPolling from OS, they are unused and don't belong there.

Cleanups/docs

Missed this file.

Remove the requirement to fetch the current value to check validity.
Do that automatically if current is not specified
A few cleanups here and there

First pass at graphing.
device_ and wireless_ graphs added.

Add RouterOS support

Singleton OS instance isn't required right now.
Remove that to allow some memory to be freed.

Add wireless to the device list metrics.
Make all metrics clickable

Tweak graphs a bit

Implement limit configuration page.
Use sensors page as common code instead of duplicating.
Clean up some javascript interactions:  Allow enter on values to save. Cancel if update is not needed. Enable the clear custom button after setting a custom value.
Add some wireless alert rules to the library.

Add documentation.

Add unifi client counts by ssid in addition to radio.
Optimize Sensor polling a bit.

Add HP MSM clients support (for full controller)
Fix function accessibility

Formalize the discovery and poller interfaces.

Add Xirrus clients and noise floor
move module interfaces to a more appropriate place.
push caching code up to os, unsure about this do to the limitations

No point in selectively enabling wireless discovery.  We only discover if the device supports something.

Add RSSI, Power, and Rate.
Add these sensors for Ubnt Airos.
Clean up some copyrights.

Reduce the amount of files need to add new types.
Leave graph files for consistency and to allow customization.

Remove the old wifi clients graph completely.
ciscowlc should have improved counts (total and per-ssid)

Schema didn't get added.

Impelement the rest of the AirOS sensors
Reformat and re-organize the Airos.php class.

Add several UBNT AirFiber sensors

A few fixes add links to the section headers

Add HP MSM mibs.

* Schema file got dropped in rebase.

* Add wireless menu to view sensors across all devices.
Icons in the menu need help :/

* Add HeliOS, Mimosa, and Siklu support
Sensors added SNR + Noise

* Add power and utilization to Unifi

* Update polling to prefetch all sensor data in a few snmp requests as possible

* Add Extendair: tx+rx power, aggregate rate, frequency

* Add a check for duplicate sensors in discovery.  Just print an error for now.

* Add Bit Error Ratio (named error-ratio to allow for bit error rate to be added if needed)
Fix an incorrect link in the wireless sensors table

* Add error rate and change all bps and Hz to use si units

* Fixes to limits and frequency display

* Fix overview graph frequency display
A few decimal place tweaks

* Don't allow switching sensor and wireless-sensor graphs, it doesn't work.
Change individual distance graphs to use si units

* Go through the OS and make sure I got all the sensors I can (probably missed some still)
Because pollWirelessChannelAsFrequency() is generic and a little complex, so pull it up to OS.
Message to help developers adding supports that don't return an array from discover functions.

* Fix some issues

* Remove noise and signal for now at least
A couple more fixes
Add a notification

* Oopsie

* Bonus AirFiber sensors
2017-05-01 23:49:11 -05:00
FTBZ
6f9cd22159 Update Changelog.md (#6544) 2017-05-01 11:10:40 +01:00
Neil Lathwood
aab55c99d1 Release 1.27 April 2017 (#6530) 2017-04-30 20:03:42 +01:00
kkrumm1
32e0ff2bb9 docs: Added FAQ on what disabled/ignored means for devices
* Update FAQ.md

Added What is the Difference Between Disable Device and Ignore a Device?

* Update FAQ.md
2017-04-29 10:15:44 +01:00
Svennd
0211c5864b feature: Added NFS-server application support (#6320)
* update

just realized the pull script is a bad idea. not really portable. no
nfsv2 stats for centos 7+

* some php errors

* fixed v4ops

removed nfs-server.sh, as only cat /proc/net/rpc/nfsd is needed as an
extend.

* split rrd

split rrd to store and pull them seperatly

* scrutinizer-ci fix

scrutinizer-ci fix

* phpcbf

* messed up

* stuck, please ignore

* applied reviews murrant suggestions

applied reviews murrant suggestions

* dirty scope

dirty scope was the issue

* style fix ?

* style PSR2

* file handle chart

* fixed style + added documentation

* applied review tasks by murrant, thx murrant!

* applied laf's review, also added tabs in the view to reduce the amount of graphs per page
2017-04-28 22:48:26 +01:00
crcro
238ca0266b feature: Added sdfsinfo application support (#6494)
* initial version

* various fixes, docs updated

* various style fixes

* added missing copyright

* docs correction

* docs correction

* new split char for bash script

* docs correction

* scrutinizer issue

* newline meh

* doc changes
2017-04-27 20:54:39 +01:00
Neil Lathwood
2361541e33 docs: Updated Support-New-OS doc to provide clearer information (#6492)
* docs: Updated Support-New-OS doc to provide clearer information

* Update Custom-Graphs.md

* Update Custom-Graphs.md

* Update Health-Information.md

* Update Initial-Detection.md
2017-04-25 12:35:42 -05:00
Frank Mogaddedi
dcc6c96ec4 feature Location map regex replace pattern only (#6485)
* Update core.inc.php

* Update rewrites.php

* Update rewrites.php

* Update rewrites.php

* Update Configuration.md

Adding "location_map_regex_sub" documentation

* Update Configuration.md

Better(?) example/explanation for location_map_regex_sub.
2017-04-24 20:06:22 +01:00
Svennd
b2e6d8abef feature: Added opengridscheduler job tracker application (#6419)
* opengridscheduler job tracker

* wrong copy of file

* applied laf's review. Thx laf!

* now including the modified files; thx laf for the review!

* Update Applications.md
2017-04-24 14:19:36 +01:00
Neil Lathwood
64e020d703 docs: Updated install docs + perf to support compressing file types and using http/2 (#6466) 2017-04-22 08:09:34 -05:00
Neil Lathwood
74b7926960 docs: Update to remove the old method of signing the CLA (#6479) 2017-04-20 14:46:03 +01:00
dragans
68823a9835 Update Munin application agent guide
Step 3 should be

3. Create the munin scripts dir: `mkdir -p /usr/share/munin/munin-scripts`
2017-04-20 12:13:22 +02:00
Tony Murray
963f444f17 fix: Allow line returns in snmprec files with the 4x data type (#6443)
* fix: Allow line returns in snmprec files with the 4x data type
Fill in IOS data files
IOS-XE discovery fails, fix that

* Restore IOS-XE, unsure if it can be removed
2017-04-18 22:28:48 +01:00
Tony Murray
4ab358501d api: API allow cidr network searches of the ARP table (#6378)
* api: API allow cidr network searches of the ARP table

* Allow non-encoded / in request
I also noticed that all is allowed to be called without device, which the sql query does not support.
2017-04-07 21:05:46 +01:00
Tony Murray
b1a414e785 feature: support non-standard unix socket (#5724)
* Add support for custom MySQL unix-socket

* NULL must be lowercase!

* Naive edit of html/install.php

* fixup

* Refactor dbConnect
Use it everywhere

* $config needs to be global
Don't need to set $database_link

* small cleanups
2017-04-06 22:02:37 +01:00
Tony Murray
c51fd769c3 docs Move ad bind user to the right section (#6368) 2017-04-05 13:15:51 -05:00
sorano
681b8ba9aa docs: Update install docs to remove deprecated GRANT usage 2017-03-30 22:12:51 +01:00
Tony Murray
890350e457 feature: support powerdns-recursor SNMP extend (#6290)
Update direct API access to support version 4
Documentation cleanups
2017-03-30 22:11:50 +01:00
Tony Murray
1ea7af424b feature: bind user for active_directory auth (#6255)
* feature: bind user for active_directory auth
Optional, allows the use of "remember me", API, and alerting.

* missing global (but still may not be working)

* always return a value from reauthenticate()

* Make sure the ldapbind credentials are correct on reauth.
Do not send output if they are incorrect (use d_echo) this breaks ajax calls, etc.
Add scripts/auth_test.php, to make it easier to debug authentication.

* Refine auth_test.php a bit more
A few small cleanups in other places of the auth

* Add auth_test.php to docs
Some more improvements in the auth_test.php output.

* Update Authentication.md
2017-03-29 08:22:02 -05:00
Tony Murray
5d2aa30153 Update Poller-Service.md (#6291) 2017-03-28 22:14:57 +01:00
Neil Lathwood
e165565413 removed -p from doc (#6274) 2017-03-26 13:45:27 +01:00
Neil Lathwood
737865c94f updated changelog (#6273) 2017-03-26 13:06:00 +01:00
Tyler
b6c2648f44 Update Installation-CentOS-7-Apache.md (#6271)
The -p option is not needed by the default installation of mariadb-server on CentOS Linux release 7.3.1611 (Core)

Including it without knowing to press enter for no password results in an authentication error:

root@netmon ~# mysql -u root -p
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)

Alternatively, it could be noted to leave the password field blank when asked.
2017-03-26 13:02:23 +01:00
pblasquez
c2cdf14223 feature: Added syslog alert transport (#6246)
* Add syslog alert transport and docs

* Remove redundant priority variable

* Log syslog transport events as critical
2017-03-23 08:46:28 +00:00
Falk Stern
affe5090f4 feature: Send collected data to graphite server (#6201)
* Initial support for graphite

* Enable graphite include

* fixed typos.

* Fixed port naming to graphite metric names

* Added documentation for Graphite

* added documentation for graphite

* fixed style

* replace / with _ in interface names for graphite

* sets default graphite port

* adds rrd-name tags to the metric, otherwise metrics get lost

* add suggested storage schema for graphite

* add whitespace

* Updated to show some output

* bad english
2017-03-22 10:35:44 -05:00
VVelox
0a4b2658b5 feature: Added SMART application support (#6181) 2017-03-22 14:28:50 +00:00
Neil Lathwood
5f5dc2a854 feature: Peeringdb integration to show the Exchanges and peers for your AS' (#6178) 2017-03-22 10:17:13 +00:00
Neil Lathwood
f6d8859bb4 feature: Added support for sending alerts to Telegram #2114 (#6202) 2017-03-22 09:02:24 +00:00
Tony Murray
124fee657e remove useless apache restart (#6226) 2017-03-22 08:14:18 +00:00
Tony Murray
35e33d629c docs: php-fpm grant access (#6227)
php-fpm runs as the apache user, add it to the librenms group too.
Changing the user of php-fpm breaks other things, so this is the better fix
Primarily broken when using rrdcached.
2017-03-21 19:31:40 -05:00
VVelox
cd16a071ef update Unbound to work with SNMP polling as well (#6151)
* enable polling via SNMP

* document doing Unbound as a SNMP extend
2017-03-19 18:03:51 +00:00
Neil Lathwood
dad2a5e9cc Updated bitly link in validate and updated docs to use pastebin service (#6179)
* replaced bitly link

* updated docs for adding new OS
2017-03-12 21:21:26 -05:00
Neil Lathwood
014682b60b api: Added new route for multiport bit graphs + asn list_bgp filter (#6129)
* api: Added new route for multiport bit graphs + asn list_bgp filter

* fixed scrut errors
2017-03-12 21:17:09 -05:00
Neil Lathwood
1d243c40c7 feature: Added pbin.sh to upload text to p.libren.ms (#6175)
* feature: Added pbin.sh to upload text to p.libren.ms

* added ack
2017-03-11 21:12:49 -06:00
Neil Lathwood
8ca1f169b3 feature: Added rrd step conversion script (#6081)
* feature: Added rrd step conversion script

* updated to support all for hostname

* update docs + code

* small updates as per murrant
2017-03-11 07:32:43 -06:00
VVelox
d56489b0e7 alphabatize doc/Extensions/Applications.md (#6127)
* remove small typo

* alphabatize index

* sort everything

* Move agent back down to the bottom

And add a separator.

* Fix my mess up

* Create Agent-Setup.md

* Update Applications.md

* Update mkdocs.yml

* Remove agent setup content from this page.
2017-03-09 15:41:52 -06:00