Commit Graph
66 Commits
Author SHA1 Message Date
Anthony F McInerney 952b40da42 Add service templates 2020-09-23 03:08:43 +01:00
Anthony F McInerney 77a515a9d9 Add service templates 2020-09-23 00:24:25 +01:00
Anthony F McInerney a43185e5c4 Add service templates 2020-09-22 23:51:41 +01:00
Anthony F McInerney aaa125deb2 Add service templates 2020-09-22 00:04:58 +01:00
Anthony F McInerney 5a1d81c310 Add service templates - styleci 2020-09-21 20:34:45 +01:00
Anthony F McInerney 54633a4653 Add service templates - styleci 2020-09-21 20:30:31 +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 0d56bbd946 Apply fixes from StyleCI (#12123) 2020-09-21 15:51:53 +02:00
JellyfrogandGitHub 82f43cb98d Apply fixes from StyleCI (#12120) 2020-09-21 15:40:17 +02:00
Anthony F McInerney eb810d7662 Add service templates 2020-09-20 23:10:15 +01:00
Anthony F McInerney 3eb0c6ac49 Add service templates 2020-09-20 23:05:33 +01:00
Anthony F McInerney ac4d42e9e9 Add service templates 2020-09-20 22:59:17 +01:00
Anthony F McInerney a27085243a Add service templates 2020-09-19 01:29:20 +01:00
Anthony F McInerney c5b1b4b9aa Add service templates 2020-09-18 16:46:35 +01:00
Anthony F McInerney 39cf7efa7f Add service templates 2020-09-17 19:44:14 +01:00
Anthony F McInerney 929f409642 Add service templates 2020-09-15 18:20:32 +01:00
Anthony F McInerney b801ad8e2a Add service templates 2020-09-15 17:54:30 +01:00
Anthony F McInerney 345f5c8b8e Add service templates 2020-09-15 16:05:43 +01: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 3c78e0ccc7 Add permission support to Oxidized config search (#11928) 2020-07-21 20:34:42 -05:00
Tony MurrayandGitHub 6e6fde94c3 Fix sql injection (#11923)
in custom oid code

Thanks to loginsoft p.v.t l.t.d india for the report!
Website: https://www.loginsoft.com/
2020-07-10 10:45:39 +02:00
louis-ouiandGitHub ad6348af42 Add alert rule error on invert map selected but no selection in device, group or location list (#11894)
* error on invert map selected but no selection

* error on invert map selected but no selection

* error on invert map selected but no selection
2020-07-03 11:54:12 +02:00
Tony MurrayandGitHub a312436bca Edit maintenance schedule, handle timezone properly (#11889)
Was not properly formatting to user's timezone
Also handle the case where the browser and server timezone don't match
don't show incorrect values in dialog then pop to the correct ones.
Update title on modal to be appropriate
2020-07-02 17:46:16 -05:00
Tony Murray 04251cdc94 Fix recurring maintenance days 2020-06-25 22:12:21 -05:00
SourceDoctorandGitHub 6a0366c1e8 Device Maintenance configurable duration (#11821)
* Device Maintenance configurable duration

* increase hour range

* positionize button

* remove wrench icon
2020-06-16 14:13:19 +02:00
Tony Murray eb6370acd4 Fix schedule creation missing id 2020-06-14 12:12:13 -05:00
Tony MurrayandGitHub 13ade9ab6c Merge branch 'master' into alerts-carbon 2020-06-12 07:48:51 -05:00
SourceDoctorandGitHub 7b93b386a3 Alert Template - sort Alert Rules alphabetic (#11786) 2020-06-07 14:46:33 +02:00
SourceDoctorandGitHub 5927983c50 Maintenance Mode via Device Settings (#11649) 2020-05-22 15:14:03 +02:00
Vitali KariandGitHub 918cf86eae Add acknowledgment notes to eventlog (#11575) 2020-05-09 20:33:50 +02:00
Tony MurrayandGitHub 1c08c11a77 Remove Laravel helpers (#11428)
* Remove Laravel helpers

* Replace qualifier with import
2020-04-18 00:37:56 +02:00
Tony Murray 89bfecc926 fix up some ui issues 2020-04-11 11:01:52 -05:00
Tony Murray cf23336329 Fix SQL to handle outside times 2020-04-11 10:02:07 -05:00
Tony Murray 6b166cd13a WIP UI 2020-04-10 21:20:15 -05:00
Tony Murray 0bca7c99f4 Schedule creation updated 2020-04-10 18:34:55 -05:00
JellyfrogandGitHub 69280b3501 Fix dashboard html escaping and javascript redirect (#11370) 2020-04-02 23:33:18 +02:00
PipoCanajaandGitHub b29103441e Use format_hostname in dependencies list (#11333) 2020-03-23 19:39:46 +01:00
9092988f7b Fallback to default Poller Group on delete (#11278)
* Fallback to default Poller Group on delete

* rewrite to eloquent

* replace column remove with page reload (refresh everything)

* change access verification check method

* .

* Update PollerGroups.php

Co-authored-by: Tony Murray <[email protected]>
2020-03-20 10:16:49 +01:00
Tony MurrayandGitHub df16de9d2f Refactor Datastores to allow future improvements. OpenTSDB Tags. (#11283)
* Datastores to object oriented code, using the Laravel IoC container

Change instantiation
better DI
move OpenTSDB

Small re-orgs

remove unused stuff

Fix graphs and other scripts

Use DI for all except rrd

fix up connection error handling

Add tests, fix up a "few" things
Add Config::forget()

Style fixes

Don't reference legacy code

remove accidental code paste

Add datastores phpunit groups

some tests

* rebase fixes

* some test fixes

* shorter tests

* shorter tests

* Don't except when rrdtool can't be started.

* restore tests

* fix rrd tests

* fix iterable change upstream

* fix isValidDataset

* fix invalid data bug

* fix mysql incorrect ds

* fix issue with data that is too long

* use regular data_update()

* Use log facade

* OpenTSDB mis-ordered arguments fix

* Making a singleton with different options makes different singletons.  Just use the global config settings to disable datastores.

* only filter tags for datastores that won't it don't modify the tags permanently

* Update copyrights to include original authors.

* Stats for all datastores

* Fix mysql sends different rrd / other ds names

* fix snmp last stats not initialized
remove unused function

* remove unused function and move single use function closer to its use

* InfluxDB does not need to update null or U values.
Skip write if all fields are empty

* Fix smart value checks

* fix style issues

* Make sure port data is stored the same way as before for Graphite and OpenTSDB
Add ifIndex tag to all to be compatible

* Missed rrdtool_tune() call

* Test update WIP

* OpenTSDB now includes tags

* fix style
2020-03-16 09:17:58 -05:00
Joseph TingirisandGitHub 83b1374ce7 remove dbDelete() for alert_schedule_items (#11232)
* the table named alert_schedule_items was renamed to alert_schedulables
* see migration 277
2020-03-02 20:26:39 -06:00
SourceDoctorandGitHub e7f587e9f0 Copy existing Alert Rule (#11195) 2020-02-26 15:07:48 +01:00
SourceDoctorandGitHub 0bc2ea1f45 Configurable Alert Rule default settings (#11152)
* configurable Alert Rule default settings

* codeclimate fix#
2020-02-15 16:18:02 +01:00
SourceDoctorandGitHub 5bfc44f812 Location based Alert Rule (#11128)
* Location base Alert Rule

* travis fix
2020-02-12 12:53:26 -06:00
Joseph TingirisandGitHub c2dfe7b21c Renovated Alert Rules (#11115)
* Change select order from id to name

* added example icmp/snmp down rules given by @kkrumm1

* Renovated Alert Rules

* Defaulted sort by name
* Moved top buttons and results selector outside of table and aligned them with pull-left and pull-right
* Collapsed '#' (ID) into 'Type' and added titles for the icons
* Added Devices and Transports columns for each rule
* Moved Extra column next to transports
* Added icons for Enabled when a user does not have global admin
* Changed row_# variable to rule_id_#
* Some 'else' cleanup
* Added various title tags for more information when hovering
* Moved pagination outside of table and align it with pull-left and added a bootgrid style summary pulled-right
* Added table & th tags for bootgrid (but didn't turn it on)

* code climate, round 1

* code climate, round 2

* add hrefs for device & device group edit

* added trailing slash for device-groups/../edit/

* prevent #name conflict with transport modal

* add hrefs for transport & transport group edit

* use popover consistently

* code climate, round 3

* removed unused variables

* code climate, round 4

* popover variables

* reload after successful delete

* more informative feedback

* use toastr, not #message, & don't reload

* added license header & fail faster if not admin

* use (more informative) ajax error message

* delete confirmation with alert name in the modal

* print each device per line

* add href for all devices

* refresh status & enabled data-content when/if a rule is turned on/off

* use DRY style per @SourceDoctor (& my) preference); codeclimate meh

* point devices popover to the right
2020-02-10 02:06:12 +01:00
SourceDoctorandGitHub 051ca6503f Remove also associations on scheduled maintenance deletion (#11093) 2020-02-03 11:26:44 -06:00
SourceDoctorandGitHub 6d9deedcc1 Maintenance Mode for a complete Location (#11089)
* Maintenance mode for a complete location

* updatedatabase query

* updatedatabase query

* add missing select
2020-02-03 11:26:08 -06:00
louis-ouiandPipoCanaja e235c59d2f Add alert rule option to invert devices and groups "map to" list (#11038)
* Add alert rule option to invert map to
* Update 2019_12_17_151314_add_invert_map_to_alert_rules.php
* fix invert map to does not work if several groups are set in map to
* Clarify labels
* fix invert map to at rule creation
* clarify invert label
* Fix device in map to - not group
* dummy commit
2020-01-19 14:55:51 +01:00
Kevin KrummandPipoCanaja 10b42137e9 Revert "Add alert rule option to invert devices and groups "map to" list (#10954)" (#11036)
This reverts commit 7a8d0b9e09.
2020-01-16 08:42:53 +01:00