add in nagios patches from karsten
This commit is contained in:
parent
0d287fce63
commit
41fe0ec74e
2 changed files with 15 additions and 1 deletions
|
@ -58,6 +58,20 @@ define command{
|
|||
command_line /usr/bin/echo '{"type": "$NOTIFICATIONTYPE$", "host": "$HOSTNAME$", "state": "$SERVICESTATE$", "service": "$SERVICEDESC$", "output": "$SERVICEOUTPUT$", "host_ack_author": "$HOSTACKAUTHOR$", "service_ack_author": "$SERVICEACKAUTHOR$"}' | fedmsg-logger --cert-prefix nagios --modname nagios --topic service.state.change --json-input
|
||||
}
|
||||
|
||||
# 'host-notify-by-fedora-messaging' command definition
|
||||
define command{
|
||||
command_name host-notify-by-fedora-messaging
|
||||
command_line /usr/bin/echo '{"type": "$NOTIFICATIONTYPE$", "host": "$HOSTNAME$", "state": "$HOSTSTATE$", "output": "$HOSTOUTPUT$", "host_ack_author": "$HOSTACKAUTHOR$", "service_ack_author": "$SERVICEACKAUTHOR$"}' | fedora-messaging-logger --cert-prefix nagios --modname nagios --topic host.state.change --json-input
|
||||
}
|
||||
|
||||
# 'notify-by-fedora-messaging' command definition
|
||||
define command{
|
||||
command_name notify-by-fedora-messaging
|
||||
command_line /usr/bin/echo '{"type": "$NOTIFICATIONTYPE$", "host": "$HOSTNAME$", "state": "$SERVICESTATE$", "service": "$SERVICEDESC$", "output": "$SERVICEOUTPUT$", "host_ack_author" "$HOSTACKAUTHOR$", "service_ack_author": "$SERVICEACKAUTHOR$"}' | fedora-messaging-logger --cert-prefix nagios --modname nagios --topic service.state.change --json-input
|
||||
}
|
||||
|
||||
|
||||
|
||||
# 'notify-by-xmpp' command definition
|
||||
#define command{
|
||||
# command_name notify-by-xmpp
|
||||
|
|
|
@ -191,7 +191,7 @@
|
|||
- db_backups.cfg
|
||||
- disk.cfg
|
||||
- dns.cfg
|
||||
- fedmsg.cfg
|
||||
- fedora-messaging.cfg
|
||||
- file_age.cfg
|
||||
- fmn.cfg
|
||||
- haproxy.cfg
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue