Commit Graph

1206 Commits

Author SHA1 Message Date
Tony Murray
6a6f242022
fix documentation issues (#7928) 2017-12-20 11:03:54 -06:00
Neil Lathwood
46fe9343f8
Updated host -> device depenancy (#7926) 2017-12-20 16:13:52 +00:00
Tony Murray
fff66d3c00
Feature: Generic discovery and poller tests (#7873)
* Processor Tests!

* Capture data from live devices easily.

* fix up some stuff, remove powerconnect things as they seem to be just broken.

* formatting, fix missing assignment
add netonix processor data

* fix multi-line, always add sysDescr and sysObjectID
ios cpm test file

* revert composer change and fix whitespace issues

* add help text

* missed help text

* tighter debug output

* handle empty strings properly and mibs with numbers

* use keys for sorting as intended

* fix type with empty data

* oops :)

* whitespace fix

* try installing fping

* Fix TestCase collision + cleanup

* mark TestCase as abstract
don't run two instances of snmpsim

* better database dumps, improved capture

* style fixes

* fix quotes add a few more tables

* add --prefer-new, properly merge data

* Support separate discovery and poller data. But don't waste space if they aren't needed.

* refactor to use class
collects all code in one place for reusability

* reorganize

* Print out when not saving.

* Support for running multiple (or all) modules at once.

* tidy

* Change unit test to a generic name and test all modules we have data for.

* Add documentation and a few more tidies

* whitespace fixes

* Fix tests, add a couple more modules, more docs

* More docs updates

* Fix scrutinizer issues

* add bgp-peers
2017-12-20 08:36:49 -06:00
Aldemir Akpinar
56561aa4dc feature: Added support for Host dependencies (#7332)
* First draft of the modals and the config interfaces

* GUI part done

* Backend code and db schema addition

* Documentation added, fixed alerting bug

* Fix typos

* Do not try to push an older db_schame.yaml

* Small db fix

* More db fixes

* Travis CI fixes

* missed a line in the travis error

* Fixed dependency clearing bug, Manage Host dependencies button now shows current selections

* Removed unnecessary index

* Correct faulty query

* Fixed sql query as requested, and renamed sql file

* Added requested changes

* Removed debug code

* Renamed sql file

* More fixes as requested

* Trying to fix db_schema.yaml

* adding laf's diff

* Corrected a small bug

* Try to resolve scrutinizer issue

* Main page bootgrid ajax modifications

* Also corrected travis ci errors

* Added select2 for pull downs, removed a redundant debug output. Changed parent_id to text

* Add missing class in the device settings page

* Fix bug where a link wasn't added after save

* Better parent down detection

* Add missing comma

* Behold the multi-parent code

* Added lookup table

* Ready for testing

* Trying to fix documentation conflicts

* Fix copy paste errors, and possible sql injection

* indentation problems

* Modified db_schema.yaml as well

* Typos, typos

* This should correct alerts

* Try to fix travis ci error

* Fix the typo in index.php

* Changed to Tony's query

* function explanation text changed

* Updated db_schema.yaml

* Trying to make automated tests happy

* Changes as requested

* Added acknowledgment for select2

* Added laf's patch

* dbBulkInsert when adding parents
2017-12-20 14:17:52 +00:00
Thom Seddon
d6d4a3a69a api: Added API method to rename devices (#7895) 2017-12-19 09:32:31 +00:00
Tony Murray
00f2abfad4 Stronger wording for MIB-based-polling doc (#7905) 2017-12-13 22:37:02 +00:00
Slashdoom
712201e691 feature: FreeRADIUS application monitoring (#7818)
* Update unbound.inc.php

* Update unbound.inc.php

* Create unbound_cache.inc.php

* Update AUTHORS.md

* Update apps.inc.php

* Update bind.inc.php

* Update bind.inc.php

* Update bind.inc.php

* Update bind.inc.php

* Update tiles.php

* Update Applications.md

* Update Applications.md

* Update Applications.md

* Update Applications.md

* Update Applications.md

* Update Applications.md

* Update apps.inc.php

* Create freeradius_access.inc.php

* Update functions.inc.php

* Create freeradius_auth.inc.php

* Create freeradius_accounting.inc.php

* Create freeradius_proxy_access.inc.php

* Create freeradius_proxy_auth.inc.php

* Create freeradius_proxy_acct.inc.php

* Create freeradius_queue.inc.php

* Update and rename freeradius_accounting.inc.php to freeradius_acct.inc.php

* Update apps.inc.php

* Create freeradius.inc.php

* Create freeradius.inc.php

* Update freeradius.inc.php

* Update freeradius.inc.php

* Update freeradius.inc.php

* Update freeradius.inc.php

* Update freeradius.inc.php

* Update Applications.md

* Update Applications.md

* Update freeradius_access.inc.php

* Update freeradius_acct.inc.php

* Update freeradius_access.inc.php

* Update freeradius_auth.inc.php

* Update freeradius_access.inc.php

* Update freeradius_acct.inc.php

* Update freeradius_proxy_access.inc.php

* Update freeradius_proxy_acct.inc.php

* Update freeradius_proxy_auth.inc.php

* Update freeradius_queue.inc.php

* Update freeradius_queue.inc.php

* Update freeradius.inc.php

* Update freeradius.inc.php

* Update freeradius.inc.php

* Update freeradius_acct.inc.php

* Update freeradius_acct.inc.php

* Update freeradius_access.inc.php

* Update freeradius_access.inc.php

* Update freeradius_auth.inc.php

* Update freeradius_proxy_access.inc.php

* Update freeradius_proxy_acct.inc.php

* Update freeradius_proxy_auth.inc.php

* Update freeradius_queue.inc.php
2017-12-12 21:13:24 -06:00
bergroth
84fdfdf542 Junos dwdm interface sensor support (#7714)
* Junos dwdm interface sensor support  …
  four new sensors
    Chromatic Dispersion ps/nm
    Delay s (seconds)
    Q_factor (dB)
    preFEC_BER (ratio)

  reuse of
    SNR, dbm, temperature, current

* new dwdm sensors more generic, ber and quality_factor

* new sensors updated

* renamed html graphs new sensors

*  fixed ber polling

* Change to base SI Hz and s.

* update sensor divisors to bigint

* rename sql-schema/216.sql to 218.sql

* YAML junos dwmd sensor definitions, except BER

* bigint divisor fixed

* deafult 1 divisior

* small fixes including schema change for another PR

* schema fix
2017-12-12 20:27:10 -06:00
Tony Murray
c22c879983 fix: Remove faulty memcached code (not related to distributed polling) (#7881) 2017-12-10 20:40:45 +00:00
mcq8
5ff03d5942 refactor: Refactor alert transports to classes (#7844)
* Refactor alert transports to classes

* Fix linting

* Make Slack alert transport php 5.3 compatible

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

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

* Update mkdocs.yml

* Update Device-Sensors.md

* Update Device-Sensors.md

* Update Device-Sensors.md

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

Updated Doc and removed old Globe Map info.

* image for world map settings

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

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

* Refactored tests

* Remove CMM from pmp group

* Add sensors / Give CMM individual OS

* Fix linting

* More Sensors / states and Revised Headers

* Added old graphs / more sensors

* Add modulation rate to sensor

* Fix Hardware detection bug

* Further hardware detection refinments

* Modify pmp hardware detection

* New Wireless Metric - SSR

* SSR Sensor Graph

* Migrate SSR to metric

* Added last metric file

* Add master check to isAp method

* Fix variables in epmp

* CMM Discovery and state addition

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

* using default user timezone if none is configured

* newline fix, added copyrights

* copyright correction

* copyright correction

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

* Fix mistakes

* Add docs and collection rules, critical enabled by default

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

* added more docs + entity support

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

* newline fix

* missed some graphs in edit

* style fixes

* revert custom function, use Config

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

* removed config_id from sql file

* remove graph stack from defaults

* moved transparency and stacked option to functions.php

* style fixes

* style fixes

* changes in code
added docs about stacked graphs

* return keyed array

* new colors and transparency

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

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

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

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

* remove debug

* Entity state sensors??

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

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

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

* remove debug

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

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

* disabled by default, add to docs.

* moved schema file to 220.sql
2017-12-02 20:23:56 +00:00
Lee Spottiswood
e3082873f6 api: Added retrieve BGP sessions by ID (#7825)
* add support for retrieving BGP sessions via id

* fix syntax, use router params

* use count properly

* add get_bgp docs

* streamlined get_bgp sql query
2017-11-30 22:51:20 +00:00
Neil Lathwood
d00cb228bb
doc: Updated sensor state doc (#7822) 2017-11-29 21:34:10 +00:00
Tony Murray
cc4633c7d1 docs: Added info on fping / http for SELinux (#7778)
* docs: new SELinux docs

I am not feeling the best about this doc's location/integration.

What do we think about splitting apart the install docs?  We could share some docs between the different docs...
Also would show up on the left toc and have the prev/next buttons.  I just don't want too many sections.

* move docs into install
2017-11-29 20:56:39 +00:00
Tony Murray
ce913cd8d3 docs: Improve developer intro, add learning resources (#7811) 2017-11-29 08:08:18 +00:00
Adam Bishop
1c6b7a967f Single Sign-On Authentication Mechanism (#7601)
* Allow the URL a user is sent to after logging out to be customised
This is required for any authentication system that has a magic URL for logging out (e.g. /Shibboleth.sso/Logout).

* Allow auth plugins to return a username

This is a bit cleaner than the current auth flow, which special cases e.g. http authentication

* Add some tests, defaults and documentation

* Add single sign-on authentication mechanism

* Make HTTPAuth use the authExternal/getExternalUsername methods

* Add to acknowledgements

* Add reset method to Auth
2017-11-28 20:40:17 -06:00
Kevin Krumm
199d160fe0
docs: VM image install doc minor spelling fix (#7801)
* docs: VM image install doc minor spelling fix

* Update CentOS-image.md
2017-11-26 17:22:28 -06:00
Kevin Krumm
90dced7dc8
docs: minor sentence fix cleanup options. (#7800) 2017-11-26 14:11:52 -06:00
Kevin Krumm
cf58d15838
docs: build new Cleanup Options doc (#7798)
* docs: build new Cleanup Options doc

* docs: create new cleanup options doc

* Update Cleanup-options.md
2017-11-26 11:37:02 -06:00
Kevin Krumm
d0a5be128b
docs: updated the user account types doc (#7794)
* docs: updated the user account types doc

added a bit more info on user account levels.

* added oxidized info

* Update Authentication.md
2017-11-25 15:21:45 -06:00
Kevin Krumm
4120bbc2a9 docs: Minor changes and fixes to Alert Rules (#7789)
* docs: minor changes and fixes to Alert Rules

* Update Rules.md

* Update Rules.md
2017-11-24 23:06:32 +00:00
Tony Murray
9c0a74debb docs: Don't suggest setting distributed poller name incorrectly (#7790) 2017-11-24 09:17:11 +00:00
Kevin Krumm
6fe5ac60d6
docs: rules doc small changes (#7787)
some minor movements to the alert rules doc.
2017-11-22 19:37:39 -06:00
Kevin Krumm
998a797bcd
docs: added links/alerts/Cleanup Options (#7785)
* docs: added link to the alerts collection

* docs: added link to clean options

added link under setup to help users locate Clean options.
2017-11-22 18:34:10 -06:00
Kevin Krumm
f04d7f1e94
docs: added note to adding device (#7774)
* docs: added note to adding device

added a note to SNMP port.

* Update Adding-a-Device.md
2017-11-20 23:00:10 -06:00
Tony Murray
e205c93c07
remove extra backtick (#7770) 2017-11-19 20:53:25 -06:00
Kevin Krumm
8a4a5b2987 docs: added Web UI rename device. (#7769) 2017-11-19 20:20:02 -06:00
Kevin Krumm
6a6ae97084
docs: snmp config for Mac OSX (#7767) 2017-11-19 12:50:55 -06:00
Tony Murray
3bd9920e38 docs: Continue to reorganize docs (#7762)
* docs: Continue to reorganize things
Make landing pages for /Installation, /API, etc.
Split API out into multiple docs
Properly use multi-level navigation
Add lower nav buttons (tops are bug so disable for now)
Add logo for fanciness
Refine index page a bit

* Improve API TOC layout

* Couple of fixes.

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

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

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

* Style fix.

* CLI help.

* Docs.

* Style fix.

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

* Update mkdocs.yml

* Add files via upload

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

added to the dashboard doc

* images for port graph

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

I messed up the backticks :(

* Update CentOS-image.md
2017-11-15 11:28:28 -06:00