Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OSUG
RESIF
datadump
Commits
87d37e8d
Commit
87d37e8d
authored
Aug 19, 2019
by
Jonathan Schaeffer
Browse files
Pour l'alerte Zabbix
parent
9a536c1a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/resifdatadump
View file @
87d37e8d
...
...
@@ -14,11 +14,11 @@ set -a
###################
zabbix_err
(){
zabbix_sender
-k
resifdatadump.failed
-s
$(
hostname
-
a
)
-o
"
${
@
}
"
-z
monitoring.osug.fr
zabbix_sender
-k
resifdatadump.failed
-s
$(
hostname
-
f
)
-o
"
${
@
}
"
-z
monitoring.osug.fr
}
zabbix_ok
(){
zabbix_sender
-k
resifdatadump.ok
-s
$(
hostname
-
a
)
-o
"
${
@
}
"
-z
monitoring.osug.fr
zabbix_sender
-k
resifdatadump.ok
-s
$(
hostname
-
f
)
-o
"
${
@
}
"
-z
monitoring.osug.fr
}
# Format a report line. Parameters is the list of data to append to the report :
...
...
Write
Preview
Supports
Markdown
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