diff --git a/src/components/ChecksTab.vue b/src/components/ChecksTab.vue
index 3edc208..3bc7d1f 100644
--- a/src/components/ChecksTab.vue
+++ b/src/components/ChecksTab.vue
@@ -41,6 +41,12 @@
Script Check
+
+
+
+
+ Event Log Check
+
@@ -145,6 +151,9 @@
Service Check - {{ props.row.svc_display_name }}
+ Event Log Check - {{ props.row.desc }}
Awaiting First Synchronization
Passing
@@ -164,6 +173,12 @@
@click="scriptMoreInfo(props.row)"
>output
+
+ output
+
{{ props.row.more_info }}
{{ props.row.last_run }}
{{ props.row.assigned_task }}
@@ -239,6 +254,23 @@
+
+
+
+
+
+
+
+
+
+
@@ -259,6 +291,9 @@ import EditWinSvcCheck from "@/components/modals/checks/EditWinSvcCheck";
import AddScriptCheck from "@/components/modals/checks/AddScriptCheck";
import EditScriptCheck from "@/components/modals/checks/EditScriptCheck";
import ScriptOutput from "@/components/modals/checks/ScriptOutput";
+import AddEventLogCheck from "@/components/modals/checks/AddEventLogCheck";
+import EditEventLogCheck from "@/components/modals/checks/EditEventLogCheck";
+import EventLogCheckOutput from "@/components/modals/checks/EventLogCheckOutput";
export default {
name: "ChecksTab",
@@ -275,7 +310,10 @@ export default {
EditWinSvcCheck,
AddScriptCheck,
EditScriptCheck,
- ScriptOutput
+ ScriptOutput,
+ AddEventLogCheck,
+ EditEventLogCheck,
+ EventLogCheckOutput
},
mixins: [mixins],
data() {
@@ -293,8 +331,12 @@ export default {
showAddScriptCheck: false,
showEditScriptCheck: false,
showScriptOutput: false,
+ showAddEventLogCheck: false,
+ showEditEventLogCheck: false,
+ showEventLogOutput: false,
editCheckPK: null,
scriptInfo: {},
+ evtlogdata: {},
columns: [
{ name: "smsalert", field: "text_alert", align: "left" },
{ name: "emailalert", field: "email_alert", align: "left" },
@@ -355,6 +397,10 @@ export default {
this.scriptInfo = props;
this.showScriptOutput = true;
},
+ eventLogMoreInfo(props) {
+ this.evtlogdata = props;
+ this.showEventLogOutput = true;
+ },
editCheck(category) {
switch (category) {
case "diskspace":
@@ -375,6 +421,9 @@ export default {
case "script":
this.showEditScriptCheck = true;
break;
+ case "eventlog":
+ this.showEditEventLogCheck = true;
+ break;
default:
return false;
}
@@ -411,7 +460,8 @@ export default {
...this.checks.memchecks,
...this.checks.scriptchecks,
...this.checks.winservicechecks,
- ...this.checks.pingchecks
+ ...this.checks.pingchecks,
+ ...this.checks.eventlogchecks
];
}
}
diff --git a/src/components/automation/OverviewChecksTab.vue b/src/components/automation/OverviewChecksTab.vue
index dc92fa0..62d90d3 100644
--- a/src/components/automation/OverviewChecksTab.vue
+++ b/src/components/automation/OverviewChecksTab.vue
@@ -68,6 +68,9 @@
Service Check - {{ props.row.svc_display_name }}
+ Event Log Check - {{ props.row.desc }}
Awaiting First Synchronization
Passing
@@ -155,7 +158,8 @@ export default {
...this.checks.memchecks,
...this.checks.scriptchecks,
...this.checks.winservicechecks,
- ...this.checks.pingchecks
+ ...this.checks.pingchecks,
+ ...this.checks.eventlogchecks
];
}
}
diff --git a/src/components/automation/PolicyChecksTab.vue b/src/components/automation/PolicyChecksTab.vue
index 03e627d..968242e 100644
--- a/src/components/automation/PolicyChecksTab.vue
+++ b/src/components/automation/PolicyChecksTab.vue
@@ -41,6 +41,12 @@
Script Check
+
+
+
+
+ Event Log Check
+
@@ -102,11 +108,7 @@
-
+
@@ -153,6 +155,9 @@
Service Check - {{ props.row.svc_display_name }}
+ Event Log Check - {{ props.row.desc }}
-
-
+
+
+
+
+
+
+
+
+
@@ -258,6 +272,8 @@ import EditWinSvcCheck from "@/components/modals/checks/EditWinSvcCheck";
import AddScriptCheck from "@/components/modals/checks/AddScriptCheck";
import EditScriptCheck from "@/components/modals/checks/EditScriptCheck";
import PolicyCheckStatus from "@/components/automation/modals/PolicyCheckStatus";
+import AddEventLogCheck from "@/components/modals/checks/AddEventLogCheck";
+import EditEventLogCheck from "@/components/modals/checks/EditEventLogCheck";
export default {
name: "PolicyChecksTab",
@@ -275,7 +291,9 @@ export default {
EditWinSvcCheck,
AddScriptCheck,
EditScriptCheck,
- PolicyCheckStatus
+ PolicyCheckStatus,
+ AddEventLogCheck,
+ EditEventLogCheck
},
mixins: [mixins],
data() {
@@ -293,6 +311,8 @@ export default {
showAddScriptCheck: false,
showEditScriptCheck: false,
showPolicyCheckStatus: false,
+ showAddEventLogCheck: false,
+ showEditEventLogCheck: false,
editCheckPK: null,
statusCheck: {},
columns: [
@@ -347,6 +367,9 @@ export default {
case "script":
this.showEditScriptCheck = true;
break;
+ case "eventlog":
+ this.showEditEventLogCheck = true;
+ break;
default:
return false;
}
@@ -390,7 +413,8 @@ export default {
...this.checks.memchecks,
...this.checks.scriptchecks,
...this.checks.winservicechecks,
- ...this.checks.pingchecks
+ ...this.checks.pingchecks,
+ ...this.checks.eventlogchecks
];
}
}
diff --git a/src/components/modals/checks/AddEventLogCheck.vue b/src/components/modals/checks/AddEventLogCheck.vue
new file mode 100644
index 0000000..c9722c7
--- /dev/null
+++ b/src/components/modals/checks/AddEventLogCheck.vue
@@ -0,0 +1,149 @@
+
+
+
+ Add Event Log Check
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Event Type:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/components/modals/checks/EditEventLogCheck.vue b/src/components/modals/checks/EditEventLogCheck.vue
new file mode 100644
index 0000000..a031ce1
--- /dev/null
+++ b/src/components/modals/checks/EditEventLogCheck.vue
@@ -0,0 +1,161 @@
+
+
+
+ Edit Event Log Check
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Event Type:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/components/modals/checks/EventLogCheckOutput.vue b/src/components/modals/checks/EventLogCheckOutput.vue
new file mode 100644
index 0000000..21a1456
--- /dev/null
+++ b/src/components/modals/checks/EventLogCheckOutput.vue
@@ -0,0 +1,50 @@
+
+
+
+
+
{{ evtlogdata.desc }}
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/components/modals/tasks/AddAutomatedTask.vue b/src/components/modals/tasks/AddAutomatedTask.vue
index 833f851..ffb6810 100644
--- a/src/components/modals/tasks/AddAutomatedTask.vue
+++ b/src/components/modals/tasks/AddAutomatedTask.vue
@@ -178,7 +178,8 @@ export default {
...this.checks.memchecks,
...this.checks.scriptchecks,
...this.checks.winservicechecks,
- ...this.checks.pingchecks
+ ...this.checks.pingchecks,
+ ...this.checks.eventlogchecks
];
},
checksOptions() {