Description: Password for nagiosadmin web admin user.
Type: String
Default: nagiosadmin
+ NoEcho: true
NovaHostIp:
Description: nova ip.
Type: String
Description: nova OS_PASSWORD.
Type: String
Default: unset
+ NoEcho: true
NovaOsUsername:
Description: nova OS_USERNAME.
Type: String
Apache2SnakeoilPem:
Description: Snakeoil PEM file.
Type: String
+ NoEcho: true
Default: |
----- BEGIN PlaceHolder...
Apache2SnakeoilKey:
Description: Snakeoil Key file.
Type: String
+ NoEcho: true
Default: |
----- BEGIN PlaceHolder...
+ PostfixMailHostname:
+ Description: Hostname for postfix..
+ Type: String
+ Default: nagios3-nagios3
+ PostfixMailDomain:
+ Description: Top level domain for postfix.
+ Type: String
+ Default: novalocal
+ PostfixDelayWarningTime:
+ Description: Amount of time to Delay warnnings.
+ Type: String
+ Default: 4h
Resources:
nagios3:
Metadata:
Ref: NovaOsTenantName
initial_network_split_key:
Ref: InitialIpSplitKey
+ postfix:
+ mailhostname:
+ Ref: PostfixMailHostname
+ maildomain:
+ Ref: PostfixMailDomain
+ delay_warning_time:
+ Ref: PostfixDelayWarningTime
Type: AWS::EC2::Instance
Properties:
KeyName:
Ref: Nagios3ImageId
InstanceType: {Ref: InstanceType}
Outputs:
- Nagios3Host:
- Fn::GetAtt: [ nagios3 , PrivateIp ]
\ No newline at end of file
+ Nagios3Host: {'Fn::Select': [ 0, {'Fn::Select': [ 'ctlplane', 'Fn::GetAtt': [ 'nagios3' , 'networks' ] ]} ]}