corosync-notifyd (8) - Linux Manuals
corosync-notifyd: Listen for important corosync events and send dbus and/or snmp traps.
NAME
corosync-notifyd - Listen for important corosync events and send dbus and/or snmp traps.SYNOPSIS
corosync-notifyd [-f] [-l] [-o] [-s] [-m] [manager] [-d] [-h]DESCRIPTION
corosync-notifyd uses corosync API to listen for important cluster events and can log them, generate dbus signals or genterate snmp traps.OPTIONS
- -f
- Start application in foreground.
- -l
- Log all events.
- -o
- Print events to stdout (turns on -l).
- -s
- Send SNMP traps on all events.
- -m
- Set the SNMP manager address.
- -d
- Send DBUS signals on all events.
- -h
- Print this help
EXAMPLES
$ corosync-notifyd -o
corosync-notifyd[18505]: troll[23374016] corosync-notify:18505:12 is now connected to corosync
corosync-notifyd[18505]: troll[23374016] corosync-notify:18505:13 is now disconnected from corosync
corosync-notifyd[18505]: troll[23374016] is now quorate
corosync-notifyd[18505]: r2[1550100672] ip:192.168.100.92 joined
corosync-notifyd[18505]: r2[1550100672] ip:192.168.100.92 left
$ corosync-notifyd -d
Note this output below is from "dbus-monitor --system"
signal sender=:1.216 -> dest=(null destination) serial=2 path=/com/redhat/cluster/corosync;
string
uint32 23374016
string
string
signal sender=:1.216 -> dest=(null destination) serial=3 path=/com/redhat/cluster/corosync;
string
uint32 23374016
string
string
signal sender=:1.216 -> dest=(null destination) serial=4 path=/com/redhat/cluster/corosync;
string
uint32 23374016
string
signal sender=:1.216 -> dest=(null destination) serial=5 path=/com/redhat/cluster/corosync;
string
uint32 1550100672
string
string
signal sender=:1.216 -> dest=(null destination) serial=6 path=/com/redhat/cluster/corosync;
string
uint32 1550100672
string
string AUTHOR
Angus Salkeld