14523 Commits

Author SHA1 Message Date
zombah
e57c311767 doc: Add list_ospf for API documentation (#7944)
Signed-off-by: Misha Komarovskiy <zombah@gmail.com>
2017-12-22 23:37:33 +00:00
Aldemir Akpinar
0628e0bfd1 Fix placement of multiple server stats (#7941) 2017-12-22 23:36:49 +00:00
VVelox
7b36d65cc5 nicecap SMART (#7939) 2017-12-21 20:51:55 -06:00
Neil Lathwood
3208d879f2 newdevice: Added more sensor support for RouterOS (Mikrotik) + Test data (#7930) 2017-12-21 20:51:29 -06:00
Aldemir Akpinar
5d7d99a748 webui: Added Single server details widget (#7923)
* webui: Single Server Details widget

* Labels should fit for windows disks on smaller screens

* Fix for travis ci errors

* Moved js includes to the widget itself

* updated queries for non-admin users + moved schema file
2017-12-21 22:17:02 +00:00
Tony Murray
142218c854 fix bad snmp options (#7934) 2017-12-21 00:06:49 -06:00
Tony Murray
e24b55ba98 Fix module dependency selection. (#7933) 2017-12-20 21:32:21 -06:00
Tony Murray
046ed94f7c refactor: Remove all old style snmp calls (#7924) 2017-12-20 21:48:35 +00:00
Neil Lathwood
6d4ef1f50a Updated dev dependancy doc (#7927)
* Update Device-Dependencies.md

* Update mkdocs.yml
1.35
2017-12-20 11:04:24 -06:00
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
Christian Poessinger
149d7a8602 Update VyOS logo (#7867) 2017-12-20 08:37:41 -06: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
deepseth
70d68db6e3 refactor: Stop sending emails to "NOC" for default_email target (#7917) 2017-12-18 15:03:33 +00:00
Martin Zatloukal
e473b03697 Add Huawei VRP sensors to yaml and fix bug in functions.inc.php (#7918)
* Add Huawei sensors to yaml and fix bug in functions.inc.php

* Add Huawei sensors to yaml and fix bug in functions.inc.php
2017-12-16 22:26:43 +00:00
Martin Zatloukal
c30a5e8977 feature: Added Mikrotik LLDP discovery (#7901)
* Add Mikrotik LLDP discovery

* Add Mikrotik LLDP discovery

* Add Mikrotik LLDP discovery
2017-12-16 22:23:06 +00:00
Neil Lathwood
35cbc737a2 fixed travis pylint check for poller-service.py (#7919)
* fixed travis pylint check for poller-service.py

* added mysql-python
2017-12-16 21:50:02 +00:00
Paul Heinrichs
ade19f93be fix: Fixed PMP frequency divisor (#7899)
* Update Frequency Divisor

* Fix Linting

* Update array declaration
2017-12-15 20:51:45 +00:00
Maikel de Boer
7e2cfb03bc bug: Allow setting array or strings for interface description parsing
bug: Allow setting array or strings for interface description parsing
2017-12-15 20:45:52 +00:00
Neil Lathwood
02f0280f71 device: Added detection for Cisco FTD devices (#7887)
* device: Added detection for Cisco FTD devices

* Update ftd.yaml
2017-12-15 20:05:28 +00:00
Aldemir Akpinar
79c42743a6 webui: Added diskusage to top devices widget (#7903)
* webui: added diskusage to top devices widget

* Update top-devices.inc.php
2017-12-13 22:37:36 +00:00
Tony Murray
00f2abfad4 Stronger wording for MIB-based-polling doc (#7905) 2017-12-13 22:37:02 +00:00
Tony Murray
e1b74a0b1e fix: Agent tries to insert processes data that is too long (#7891) 2017-12-13 22:35:05 +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
Tony Murray
58afe78ce4 fix ipmi sensors sending the wrong tags to influxdb (#7906) 2017-12-12 20:28:30 -06:00
Neil Lathwood
569d456ffa device: Added state sensor support for HPE MSA devices (#7808)
* device: Added state sensor support for HPE MSA devices

* Update hpe-msa.yaml

* I pasted the wrong options
2017-12-12 20:28:11 -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
Ultra2D
adca942552 Fix: Add user level to getUser for LDAP authentication (#7896)
* Fix: Add user level to getUser for LDAP authentication

* Fix: Add user level to getUser for LDAP authentication for current user only
2017-12-12 07:46:29 -06:00
Neil Lathwood
92f83c2567 fix: Validate ifHighSpeed is > 0 in selected port polling (#7885) 2017-12-11 15:51:29 -06:00
Neil Lathwood
9601324142 device: Added temp and humidity sesors + serial for websensor (renamed from cometsystem-p85xx) (#7854) 2017-12-11 20:34:04 +00: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
Martin Zatloukal
cfa3350cf2 Fix Mikrotik POE current sensor (#7889) 2017-12-10 20:19:44 +00:00
Martin Zatloukal
dbeaf3b35e device: Added Mikrotik POE sensors (#7883)
* Add Mikrotik POE sensors

* Add Mikrotik POE sensors
2017-12-09 19:53:40 +00:00
Tony Murray
ef668f4270 Set entPhysicalIndex for comware processors (#7878) 2017-12-09 17:37:29 +00:00
Neil Lathwood
2c919a48ff fix: Re-added peeringdb back into daily.sh (#7884) 2017-12-09 17:19:56 +00:00
Tony Murray
ab2aacec0f fix: Don't work around bad implementations in snmpwalk_group (#7876) 2017-12-09 16:39:37 +00:00
Martin Zatloukal
2370072a14 Add support EdgeCore ECS4120-28T (#7880)
* Add support EdgeCore ECS4120-28T

* Add support EdgeCore ECS4120-28T
2017-12-08 14:34:29 -06: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
Neil Lathwood
9d66d7c897 fix: Fixed api call to get_bill (#7875) 2017-12-07 22:56:31 +00: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
Tony Murray
0c36cd7a8b Remove accidental inclusions that will mess up future updates. (#7864)
composer_wrapper.php doesn't even exist :(
2017-12-06 22:58:39 +00:00
Tony Murray
8ab0b2bffd refactor: Replace custom queries with dbDeleteOrphans(). (#7862)
* Replace custom queries with dbDeleteOrphans().
Generalize dbDeleteOrphans() a bit more.  Allow for multiple tables and custom key pairs.

* fix whitespace
2017-12-06 22:44:23 +00: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
Tony Murray
b620692426 refactor: Update all applications to store metrics (#7853)
* Update all applications to store metrics

* fix db schema

* Add glue test
2017-12-06 22:13:10 +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