1hpialarms(1)                        OpenHPI                       hpialarms(1)
2
3
4

NAME

6       hpialarms - A openhpi sample application that shows "Alarm Control"
7       management instruments
8

SYNOPSIS

10        hpialarms [-D id] [-N host[:port]] [-C <cfgfile>]
11                  [-a 1|0][-b 1|0][-c 1|0][-m 1|0][-n 1|0][-p 1|0][-i n][-o][-X][-h]
12        hpialarms [--domain=id] [--host=host[:port]] [--cfgfile=file]
13                  [--diska=1|0] [--diskb=1|0] [--critical=1|0] [--major=1|0]
14                  [--minor=1|0] [--power=1|0] [--chassisid=n] [--all] [--debug] [--help]
15

DESCRIPTION

17       hpialarms walks the RPT (Resource Presence Table) for resources that
18       have "Alarm Control" management instruments (SAHPI_CTRL_LED).
19
20       If no domain or host is selected, hpialarms uses the default domain as
21       specified in the openhpiclient.conf file.
22

OPTIONS

24       (No Option) Display alarm states
25
26   Help Options:
27       -h, --help
28         Show help options
29
30   Application Options:
31       -c 1|0, --critical=1|0
32         Set critical alarm on|off
33
34       -m 1|0, --major=1|0
35         Set major alarm on|off
36
37       -n 1|0, --minor=1|0
38         Set minor alarm on|off
39
40       -a 1|0, --diska=1|0
41         Set diska alarm on|off
42
43       -b 1|0, --diskb=1|0
44         Set diskb alarm on|off
45
46       -p 1|0, --power=1|0
47         Set power alarm on|off
48
49       -i n, --chassisid=n
50         Set chassis id on for n seconds
51
52       -o, --all
53         Set all alarms off
54
55       -D nn, --domain=nn
56         Select domain id nn
57
58       -X, --debug
59         Display debug messages
60
61       -N "host[:port]", --host="host[:port]"
62         Open session to the domain served by the daemon at the specified URL
63         (host:port).  This option overrides the OPENHPI_DAEMON_HOST and
64         OPENHPI_DAEMON_PORT environment variables.  If host contains ':' (for
65         example IPv6 address) then enclose it in square brackets.  For
66         example: "[::1]" or "[::1]:4743".
67
68       -C "file", --cfgfile="file"
69         Use passed file as client configuration file.  This option overrides
70         the OPENHPICLIENT_CONF environment variable.
71

SAMPLE OUTPUT

73        hpialarmpanel ver 0.6
74        RptInfo: UpdateCount = 5, UpdateTime = 8a2dc6c0
75        rptentry[0] resourceid=1 tag: Mullins
76        RDR[45]: ctltype=2:1 oem=0  Chassis Identify Control
77        RDR[48]: ctltype=0:1 oem=10 Front Panel Power Alarm LED         state = off
78        RDR[51]: ctltype=0:1 oem=13 Front Panel Minor Alarm LED         state = ON
79        RDR[46]: ctltype=0:0 oem=0  Cold Reset Control
80        RDR[49]: ctltype=0:1 oem=11 Front Panel Critical Alarm LED      state = off
81        RDR[50]: ctltype=0:1 oem=12 Front Panel Major Alarm LED         state = off
82

SEE ALSO

84                hpi_shell
85                hpidomain      hpigensimdata  hpireset       hpitop
86                hpiel          hpiinv         hpisensor      hpitree
87                hpievents      hpionIBMblade  hpisettime     hpiwdt
88                hpifan         hpipower       hpithres       hpixml
89                ohdomainlist   ohhandler      ohparam
90

AUTHORS

92       Authors of this man page:
93
94        Peter D Phan (pdphan@users.sourceforge.net)
95        Ulrich Kleber (ulikleber@users.sourceforge.net)
96        Anton Pak (avpak@users.sourceforge.net)
97
98
99
1003.8.0                             2017-05-27                      hpialarms(1)
Impressum