1COROSYNC-NOTIFYD(8) System Manager's Manual COROSYNC-NOTIFYD(8)
2
3
4
6 corosync-notifyd - Listen for important corosync events and send dbus
7 and/or snmp traps.
8
10 corosync-notifyd [-f] [-l] [-o] [-s] [-m manager] [-d] [-h]
11
13 corosync-notifyd uses corosync API to listen for important cluster
14 events and can log them, generate dbus signals or generate snmp traps.
15
17 -f Start application in foreground.
18
19 -l Log all events.
20
21 -o Print events to stdout (turns on -l).
22
23 -s Send SNMP traps on all events.
24
25 -m Set the SNMP Manager IP address (defaults to localhost).
26
27 -n No reverse DNS lookup on cmap member change events.
28
29 -d Send DBUS signals on all events.
30
31 -h Print this help.
32
34 $ corosync-notifyd -o
35 corosync-notifyd[18505]: troll[23374016] corosync-notify:18505:12 is
36 now connected to corosync
37 corosync-notifyd[18505]: troll[23374016] corosync-notify:18505:13 is
38 now disconnected from corosync
39 corosync-notifyd[18505]: troll[23374016] is now quorate
40 corosync-notifyd[18505]: r2[1550100672] ip:192.168.100.92 joined
41 corosync-notifyd[18505]: r2[1550100672] ip:192.168.100.92 left
42
43 $ corosync-notifyd -d
44
45 Note this output below is from "dbus-monitor --system"
46
47 signal sender=:1.216 -> dest=(null destination) serial=2 path=/com/red‐
48 hat/cluster/corosync;
49 interface=com.redhat.cluster.corosync; member=ConnectionStateChange
50 string "troll"
51 uint32 23374016
52 string "corosync-notify:18900:12"
53 string "connected"
54 signal sender=:1.216 -> dest=(null destination) serial=3 path=/com/red‐
55 hat/cluster/corosync;
56 interface=com.redhat.cluster.corosync; member=ConnectionStateChange
57 string "troll"
58 uint32 23374016
59 string "corosync-notify:18900:13"
60 string "disconnected"
61 signal sender=:1.216 -> dest=(null destination) serial=4 path=/com/red‐
62 hat/cluster/corosync;
63 interface=com.redhat.cluster.corosync; member=QorumStateChange
64 string "troll"
65 uint32 23374016
66 string "quorate"
67 signal sender=:1.216 -> dest=(null destination) serial=5 path=/com/red‐
68 hat/cluster/corosync;
69 interface=com.redhat.cluster.corosync; member=NodeStateChange
70 string "r2"
71 uint32 1550100672
72 string "192.168.100.92"
73 string "joined"
74 signal sender=:1.216 -> dest=(null destination) serial=6 path=/com/red‐
75 hat/cluster/corosync;
76 interface=com.redhat.cluster.corosync; member=NodeStateChange
77 string "r2"
78 uint32 1550100672
79 string "192.168.100.92"
80 string "left"
81
83 corosync(8), corosync-cmapctl(8), dbus-monitor(1),
84
86 Angus Salkeld
87
88 2011-01-14 COROSYNC-NOTIFYD(8)