This repository has been archived by the owner on Feb 13, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
34 lines (34 loc) · 2.88 KB
/
plugin.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.2"?>
<!-- plugin.xml file written by dynaTrace Client 5.5.0 -->
<plugin>
<extension point="com.dynatrace.diagnostics.pdk.pluginconfig" id="com.eventLogMonitor" name="Windows Event Log Monitor">
<information>
<category value="" />
<displayname value="Windows Event Log Monitor" />
<description value="This plug-in will alert when a new Windows Event Log Message is found." />
<supportlevel value="unsupported" />
</information>
<configuration>
<property key="EventLog" label="Event Log" type="string" description="The event log to search." default="" multiline="false" />
<property key="SearchTerm" label="Search Term" type="string" description="The search term obtained from the XML in windows event log." default="" multiline="false" />
<property key="SQLServer" label="SQL Server" type="string" description="The SQL Server to use for storage" default="" multiline="false" />
<property key="SQLUser" label="SQL Username" type="string" description="The SQL Username to use for connection to the database." default="" multiline="false" />
<property key="SQLPassword" label="SQL Password" type="password" description="The password for the SQL Username used to connect to the database." default="" />
<property key="MailFrom" label="Mail From" type="string" description="The user who sends the log events out by mail." default="" multiline="false" />
<property key="MailTo" label="Mail To" type="string" description="The user who receives the log events by mail." default="" multiline="false" />
<property key="MailHost" label="Mail Host" type="string" description="The smtp host to send mails. (leave empty if you don't wish to send mails)" default="" multiline="false" />
<property key="MailSubject" label="Mail Subject" type="string" description="The mail subject." default="" multiline="false" />
<property key="SQLDatabase" label="SQL Database" type="string" description="The name of the database" default="default" multiline="false" />
<property key="SQLPort" label="SQL Port" type="string" description="The port of the SQL Server" default="default" multiline="false" />
</configuration>
</extension>
<extension point="com.dynatrace.diagnostics.pdk.monitor" id="com.eventLogMonitor.eventMonitor" name="Windows Event Log Monitor">
<plugin configid="com.eventLogMonitor" class="com.eventLogMonitor.EventMonitor" />
</extension>
<extension point="com.dynatrace.diagnostics.pdk.monitormetricgroup" id="com.eventLogMonitor.eventMonitor.metricgroup1" name="Windows Event Log Monitor">
<metricgroup monitorid="com.eventLogMonitor.eventMonitor">
<metric defaultrate="purepath" name="New Message" unit="number" description="If a new event log message is found this number will return the count, otherwise it will be 0." />
</metricgroup>
</extension>
</plugin>