This repository has been archived by the owner on Feb 3, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathparameters.ps1
51 lines (46 loc) · 1.51 KB
/
parameters.ps1
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Script Parameters for <scriptname>.ps1
<#
Author : <Script Author>
Last Edit : <Initials> - <date>
#>
@{
#-- default script parameters
LogPath="D:\beheer\logs"
LogDays=5 #-- Logs older dan x days will be removed
#-- Syslog settings
SyslogServer="syslog.shire.lan" #-- syslog FQDN or IP address
#-- disconnect viServer in exit-script function
DisconnectviServerOnExit=$true
#-- vSphere vCenter FQDN
vCenter="value" #-- vCenter FQDN
#-- settings for functino set-emailAlarmActions
emailAlarm=@{
CSVfile="VMware\alarmDefinitions.csv"
Profiles=@{
disabled=@{
disabled=$true
}
High=@{
disabled=$false
emailTo=@("[email protected]")
repeatMinutes=240 #-- 60 * 4 uur
emailSubject="[HIGH] NLDC01VS011 alarm notification"
}
Medium=@{
disabled=$false
emailTo=@("[email protected]")
repeatMinutes=1440 #-- 60 [min] * 24 [uur]
emailSubject="[MEDIUM] NLDC01VS011 alarm notification"
}
Low=@{
disabled=$false
emailTo=@("[email protected]")
repeatMinutes=0 #-- don't repeat
emailSubject="[LOW] NLDC01VS011 alar mnotification"
}
noEmail=@{
disabled=$false
}
}
}
}