Commit Graph
299 Commits
Author SHA1 Message Date
Anthony F McInerney 73f91f0a3b service templates - move to blade -wip 2020-10-15 16:33:30 +01:00
Anthony F McInerney 999d7b18e6 service templates - move to blade -wip 2020-10-15 16:16:30 +01:00
Anthony F McInerney 8455a5db2f service templates - move to blade -wip 2020-10-15 16:01:55 +01:00
Anthony F McInerney fbfcb004af service templates - move to blade -wip 2020-10-15 15:28:44 +01:00
Anthony F McInerney 214a03d4ba service templates - move to blade -wip 2020-10-15 15:25:25 +01:00
Anthony F McInerney bfc61a3186 service templates - move to blade -wip 2020-10-15 15:18:03 +01:00
Anthony F McInerney 4db389041a service templates - move to blade -wip 2020-10-15 14:49:53 +01:00
Anthony F McInerney 26481e4eae service templates - move to blade -wip 2020-10-15 14:47:30 +01:00
Anthony F McInerney 49d3630ffd service templates - move to blade -wip 2020-10-15 13:03:44 +01:00
Anthony F McInerney 2e25cdea4e service templates - move to blade -wip 2020-10-15 12:26:20 +01:00
Anthony F McInerney be10190d6c service templates - move to blade -wip 2020-10-15 12:07:33 +01:00
Anthony F McInerney b3563b1bee service templates - move to blade -wip 2020-10-15 11:49:56 +01:00
Anthony F McInerney 4e07df3f83 service templates - move to blade -wip 2020-10-15 11:36:59 +01:00
Anthony F McInerney 8f2b65d2ac service templates - move to blade -wip 2020-10-15 11:12:48 +01:00
Tony Murray 09f107303d fixes 2020-10-14 21:41:35 -05:00
Anthony F McInerney c979a50d50 Revert "service templates - move to blade -wip"
This reverts commit 3517f85e6d.
2020-10-14 17:11:00 +01:00
Anthony F McInerney 3517f85e6d service templates - move to blade -wip 2020-10-14 17:08:35 +01:00
Anthony F McInerney 94e1381493 service templates - move to blade -wip 2020-10-12 18:46:19 +01:00
Anthony F McInerney d695b5317f service templates - move to blade -wip 2020-10-12 14:26:02 +01:00
Anthony F McInerney 124522e72f service templates - move to blade -wip 2020-10-12 14:03:15 +01:00
Anthony F McInerney b7c74dc729 Add service templates - Master merge 2020-09-21 19:34:09 +01:00
JellyfrogandGitHub 29f45ca352 Apply fixes from StyleCI (#12124) 2020-09-21 15:59:34 +02:00
JellyfrogandGitHub 77c531527c Apply fixes from StyleCI (#12117)
* Apply fixes from StyleCI

* Disable style check
2020-09-21 14:54:51 +02:00
Konstantin V BekreyevandGitHub 509dc027f1 Update ru.json (#12109)
typos fixed
2020-09-19 17:41:01 +02:00
bbdb1a2a5d Rewrite smokeping script to be an lnms command (#11585)
* Rewrite smokeping script to be an lnms command

* Add a default number of probes for smokeping

* Formatting fixes

* Refactor to simplify a couple of methods

* Fix a name collision when using more than 60 threads

* Simplify

* First pass at documentation

A few climate fixes too.

I'm a little dubious about the + LibreNMS fix - it could be included
in /etc/smokeping/config if it is really needed, but it sounds like
(looking at git blame) it's needed for if the script generates a broken
configuration file.

I'm thinking we should just not generate broken config.

* Improve testability and add some tests

* Load laravel to make translations available

* Second pass at documentation

* Fix brace

* Extend the device factory to include the type

Also adds a device group fake I created before I realised I didn't need it

* Mimic gen_smokeping.php a little more closely

* Update tests to properly verify old and new behaviour against each other

* Replace gen_smokeping with a wrapper

* Don't double whitespace

Render does this automatically.
Explicitly order by hostname too.

* Make faker less likely to generate duplicates

I tried adding a unique constraint here, but it didn't have the
intended effect.

Extending the hostname like this seems to work fine - I tried
generating 10 million hosts and got no duplicates, compared to
duplicates appearing with as few as 100 hosts without this
 change.

A true fix would be to add an 'fqdn' fake upstream.

* Make the tests more robust

* Assorted bug fixes

* Style corrections

* Handle 'generic' devices

* Fix an issue that came up during rebase

Co-authored-by: Tony Murray <[email protected]>
2020-09-18 00:04:54 -05:00
Anthony F McInerney a6de0e9090 Add service templates 2020-09-15 11:22:32 +01:00
661a518dea Add attach sysName to Prometheus. (#12061)
* Add attach sysName to Prometheus option.

The value of put to prometheus can be added to sysName by setting the relevant parameter.

* Add attach sysName to Prometheus.

* Add attach sysName to Prometheus.

* Update resources/lang/en/settings.php

Co-authored-by: Jellyfrog <[email protected]>

* Update settings.php

* Update settings.php

* Update settings.php

* Update settings.php

* Update settings.php

* Update zh-TW.json

Co-authored-by: Jellyfrog <[email protected]>
2020-09-07 21:38:13 +02:00
SourceDoctorandGitHub 663ca6e9d1 Move Availability Setting to Poller (#12021) 2020-08-19 22:03:37 +02:00
NegatifffandGitHub d6002866ce Only show smokeping in menu if enabled (#12019) 2020-08-19 13:33:14 +02:00
SourceDoctorandGitHub a4d1f5e1c8 Show Device Outages as Log List (#12011) 2020-08-18 20:02:56 +02:00
Hans ErasmusandGitHub 29dae9cbbe Small update to installation steps (#12016) 2020-08-18 12:40:57 +02:00
ZmegolazandGitHub fddf2eb6a3 Added crossorigin policy to link rel manifest. (#12005) 2020-08-10 10:16:41 +02:00
JellyfrogandGitHub 98e478843f Only show smokeping link if the url is configured (#11992) 2020-08-04 14:40:48 +02:00
TheGreatDocandGitHub ff3926d28e Fix latency.blade.php to show smokeping integration (#11980) 2020-07-30 00:35:34 -05:00
JellyfrogandGitHub 6dba2555a7 Convert blade to panel component (#11957) 2020-07-23 23:13:00 -05:00
Tony MurrayandGitHub 020c5fd7e1 Remove legacy code and fix missing device graphs (#11950)
* removing $graphs global

* remove unused things

* fix some additional graphs

* Fix graphs persisting too soon

* correct name for poller module performance graph

* only one type of graph is used here
2020-07-23 09:57:22 -05:00
JellyfrogandGitHub 2fc037ab23 Convert device notes to blade (#11952) 2020-07-22 09:18:56 -05:00
JellyfrogandGitHub 86220eed9e Add more types to settings page (#11918)
* Add a executable type to settings page

This allow us to validate the value is a valid executable

* Add a directory type to settings page

This allow us to validate the value is a valid directory

* fixes
2020-07-21 20:51:23 -05:00
SourceDoctorandGitHub b4d149b4af Show SysName in Availability Widget (#11953) 2020-07-22 00:22:12 +02:00
SourceDoctorandGitHub e8f2c2e396 Show Location on Poller Log (#11945)
* Show Location on Poller Log

* .

* .
2020-07-20 18:23:28 +02:00
Tony MurrayandGitHub 560fd71ef6 CORS settings in webui (#11912)
* Change CORS implementation
allows for upstream integration of Laravel 7

* migrate config

* skip implementing patterns for now

* Expose settings to the webui

* Make db settings apply
2020-07-08 07:36:51 -05:00
allwaysoftandGitHub 249b343c64 Simplify Chinese lang Translation (#11905)
* Add files via upload

* Create auth.php

* Add files via upload
2020-07-06 11:23:45 +02:00
Pierfrancesco PasseriniandGitHub 505ab86471 Update italian translation (#11901)
* Update it.json

Removed all  \'/  single quote, very common in italian , to avoid problem on page loading

* Update it.json

small fix
2020-07-05 14:14:51 +02:00
Tony MurrayandGitHub 44549ae63e Show poller settings even if distributed polling is disabled (#11893) 2020-07-03 00:37:37 -05:00
MunzyandGitHub 8a851eda9f Auth AD URL (#11884)
* Missing auth_ad_url

WIP

* add auth_ad_filter

* Pluralize

* Remove Translation, and add translations generation.
2020-07-01 13:23:35 -05:00
Tony MurrayandGitHub d75cc5235d Settings geocode lookup (#11875)
* Add setting to enable geocoding to ui

* rename settings

* rename settings

* capitalization

* Open streetmaps does not support geocoding
2020-06-29 21:03:03 +02:00
Tony Murray 2f2cd3404c installer fixes 2020-06-29 00:58:29 -05:00
Tony Murray d63b78b1af small clean ups 2020-06-27 07:47:08 -05:00
Tony Murray 5adea74c2c sort language file 2020-06-27 07:47:08 -05:00
Tony Murray e3d75a8a09 Copy button, consistency 2020-06-27 07:47:08 -05:00