Debian Codegraph @

lib/plugins/stonith/apcmastersnmp.cfg.example

raw
1 #
2 # this is an example config for the stonith module apcmastersnmp
3 #
4 # 1. what does the fields on the line mean ?
5 #
6 # all parameters must be given on a single line. blank lines and lines
7 # starting with '#' are ignored. only the first not ignored line will
8 # be processed. all subsequent lines will be ignored. the different
9 # fields must be seperated by white-spaces (blanks and/or tabs).
10 #
11 # the first field is the either the hostname or the ip address. the
12 # hostname must be resolvable. the second fields specifies the snmp port
13 # the masterswitch is listening. for snmp the default is 161. the last
14 # field contains the so called 'community' string. this must be the same
15 # as the one in the masterswitch configuration.
16 #
17 #
18 # 2. how must the masterswitch be configured ?
19 #
20 # as said above, the community string must be set to the same value entered
21 # in this config. the different outlets must be named after the connected
22 # hosts. that means, the outlet names must be the same as the node names
23 # in /etc/ha.d/ha.cf. the reset values should be set to reasonable values.
24 #
25 # the module DON'T configure the module in any way!
26 #
27 #
28 # 3. how does the module work ?
29 #
30 # in case of a stonith the module receives the nodename of the host, which
31 # should be reset. the module looks up this nodename in the list of outlet
32 # names. that's why the names must be identical (see 2.). if it finds the
33 # name, it'll reset the appropriate outlet using the configured values
34 # (eg. delay, duration). then the module waits for the outlet to coming
35 # up. if it comes up, a successful stonith will be reported back. otherwise
36 # the stonith failed and a failure code will be returned.
37 #
38
39 192.168.1.110 161 private