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 -d Send DBUS signals on all events.
28
29 -h Print this help.
30
32 $ corosync-notifyd -o
33 corosync-notifyd[18505]: troll[23374016] corosync-notify:18505:12 is
34 now connected to corosync
35 corosync-notifyd[18505]: troll[23374016] corosync-notify:18505:13 is
36 now disconnected from corosync
37 corosync-notifyd[18505]: troll[23374016] is now quorate
38 corosync-notifyd[18505]: r2[1550100672] ip:192.168.100.92 joined
39 corosync-notifyd[18505]: r2[1550100672] ip:192.168.100.92 left
40
41 $ corosync-notifyd -d
42
43 Note this output below is from "dbus-monitor --system"
44
45 signal sender=:1.216 -> dest=(null destination) serial=2 path=/com/red‐
46 hat/cluster/corosync;
47 interface=com.redhat.cluster.corosync; member=ConnectionStateChange
48 string "troll"
49 uint32 23374016
50 string "corosync-notify:18900:12"
51 string "connected"
52 signal sender=:1.216 -> dest=(null destination) serial=3 path=/com/red‐
53 hat/cluster/corosync;
54 interface=com.redhat.cluster.corosync; member=ConnectionStateChange
55 string "troll"
56 uint32 23374016
57 string "corosync-notify:18900:13"
58 string "disconnected"
59 signal sender=:1.216 -> dest=(null destination) serial=4 path=/com/red‐
60 hat/cluster/corosync;
61 interface=com.redhat.cluster.corosync; member=QorumStateChange
62 string "troll"
63 uint32 23374016
64 string "quorate"
65 signal sender=:1.216 -> dest=(null destination) serial=5 path=/com/red‐
66 hat/cluster/corosync;
67 interface=com.redhat.cluster.corosync; member=NodeStateChange
68 string "r2"
69 uint32 1550100672
70 string "192.168.100.92"
71 string "joined"
72 signal sender=:1.216 -> dest=(null destination) serial=6 path=/com/red‐
73 hat/cluster/corosync;
74 interface=com.redhat.cluster.corosync; member=NodeStateChange
75 string "r2"
76 uint32 1550100672
77 string "192.168.100.92"
78 string "left"
79
81 corosync(8), corosync-cmapctl(8), dbus-monitor(1),
82
84 Angus Salkeld
85
86 2011-01-14 COROSYNC-NOTIFYD(8)