Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
picomon
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Cédric Heintz
picomon
Commits
50fcd4eb
Commit
50fcd4eb
authored
Jul 20, 2014
by
Jonathan Michalon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Install new report options
parent
7f38484d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
lib/__init__.py
lib/__init__.py
+5
-0
No files found.
lib/__init__.py
View file @
50fcd4eb
...
...
@@ -21,6 +21,9 @@ config.install_attr('emails.addr_from',
config
.
install_attr
(
'emails.smtp_host'
,
'localhost:25'
)
# The inactive timeout after which to close the SMTP connection
config
.
install_attr
(
'emails.smtp_keepalive_timeout'
,
60
)
# Interval in seconds between global reports when some checks are in error
# 0 disables reports
config
.
install_attr
(
'emails.report.every'
,
0
)
# Subject template for state change email notifications
# available substitutions:
...
...
@@ -30,3 +33,5 @@ config.install_attr('emails.smtp_keepalive_timeout', 60)
# parameter)
config
.
install_attr
(
'emails.subject_tpl'
,
'[DOMAIN] {state}: {check} on {dest}'
)
# 0 disables reports
config
.
install_attr
(
'emails.report.subject'
,
'[DOMAIN] Picomon error report'
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment