This file is indexed.

/etc/openhpi/openhpi.conf is in libopenhpi3 3.6.1-2.2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
### OpenHPI configuration example file ###

#######
## OpenHPI will not be useful unless it is configured for your system.  Once
## you have modified this file, remove or comment the following line to allow
## the OpenHPI daemon to run.  This line causes the daemon to exit immediately.
OPENHPI_UNCONFIGURED = "YES"

#######
## FIRST section: declaration of global parameters like the following.

#OPENHPI_LOG_ON_SEV = "MINOR"
#OPENHPI_EVT_QUEUE_LIMIT = 10000
#OPENHPI_DEL_SIZE_LIMIT = 10000
#OPENHPI_DEL_SAVE = "NO"
#OPENHPI_DAT_SIZE_LIMIT = 0
#OPENHPI_DAT_USER_LIMIT = 0
#OPENHPI_DAT_SAVE = "NO"
#OPENHPI_PATH = "/usr/local/lib/openhpi:/usr/lib/openhpi"
#OPENHPI_VARPATH = "/usr/local/var/lib/openhpi"

## Auto insertion timeout
## Use "BLOCK" or "IMMEDIATE" or positive integer value
## Negative integer value shall be quoted due to Glib scanner limitation
## For example "-1".
## All negative values will be interpreted as "BLOCK"
#OPENHPI_AUTOINSERT_TIMEOUT = 0
#OPENHPI_AUTOINSERT_TIMEOUT_READONLY = "YES"


## The default values for each have been selected in the example above (except
## for OPENHPI_PATH and OPENHPI_CONF. See below).
## No need to specify any one of them because the defaults is used
## automatically. The library also looks for these as environment variables.
## Environment variables found that match a global parameter override the
## corresponding parameter set in this configuration file.
##
## OPENHPI_LOG_SEV sets the lowest severity level an event must meet to be
## logged in the domain event log. Possible values are (highest to lowest):
## "CRITICAL", "MAJOR", "MINOR", "INFORMATIONAL", "OK", and "DEBUG".
## OPENHPI_EVT_QUEUE_LIMIT sets the maximum number of events that are allowed
## in the session's event queue. Default is 10000 events. Setting it to 0 means
## unlimited.
## OPENHPI_DEL_SIZE_LIMIT sets the maximum size (in number of event log entries)
## for the domain event log. Default is 10000 log entries. Setting it to 0
## means unlimited.
## OPENHPI_DEL_SAVE sets whether the domain event log is persisted to disk or
## not. The event log is written to OPENHPI_VARPATH value.
## OPENHPI_DAT_SIZE_LIMIT sets the maximum size (in number of alarm entries) for
## the alarm table. The default 0 means unlimited.
## OPENHPI_DAT_USER_LIMIT sets the maximum number of user type alarm entries
## allowed in the alarm table. The default 0 means unlimited.
## OPENHPI_DAT_SAVE sets whether the domain alarm table is persisted to disk or
## not. The alarm table is written to the directory where OPENHPI_VARPATH
## points to.
## OPENHPI_PATH is a colon (:) delimited list of directories specifying
## the location of openhpi plugin libraries. The default is defined when the
## library is configured.
## OPENHPI_VARPATH is a directory to which certain openhpi data is saved to.
## The DEL (Domain Event Log), DAT (Domain Alarm Table), and UID (Unique IDs
## used for resources) mappings are saved to this directory. The default is set
## at compile time through the ./configure options.
#######

#######
## SECOND section: handler (instance) declaration with arguments understood by the plugin.

#############################################################################
##**CAUTION** System administrators have to make sure that entity paths are
## unique in a domain. To avoid entity paths conflicting among handlers, make
## sure the "entity_root" is unique for each handler definition, unless the
## plugin documentation says otherwise.
#############################################################################

## Strings are enclosed by "", numbers are not.

## Section for the simulator plugin
## You can load multiple copies of the simulator plugin but each
## copy must have a unique name.
handler libsimulator {
        entity_root = "{SYSTEM_CHASSIS,1}"
        name = "simulator"
}

## Section for ipmi plugin using SMI -- local interface
#handler libipmi        {
#       entity_root = "{SYSTEM_CHASSIS,2}"
#       name = "smi"
#       addr = 0
#}

## Section for ipmi plugin based on OpenIPMI:
#handler libipmi {
#       entity_root = "{SYSTEM_CHASSIS,3}"
#       name = "lan"
#       addr = "x.x.x.x"        #ipaddress
#       port = "999"
#       auth_type = "straight"
#       auth_level= "user"
#       username = "joe"
#       password = "blow"
#}

## Section for BladeCenter snmp_bc plugin:
#handler libsnmp_bc {
#        entity_root = "{SYSTEM_CHASSIS,4}" # Required. BladeCenter chassis Entity Path.
#        host = "192.168.70.125"            # Required. BladeCenter Management Module (MM) IP address.
#        host_alternate = "192.168.70.127"  # Optional. BladeCenter Management Module 2nd IP address.
                                            #           Some BladeCenter MM Firmware allows the 2 MMs,
                                            #           active and standby, to have 2 different IP address.
                                            #           If the targetted BladeCenter 2 MMs are configured 
                                            #           with 2 IPs, use this key for the 2nd IP.
#        version = "1"                      # Required. SNMP protocol version (1|3).
#        community = "public"               # SNMP V1: Required. SNMP V1 community name.
#        security_name = "snmpv3_user"      # SNMP V3: Required. SNMP V3 user Login ID.
#        context_name  = ""                 # SNMP V3: Optional. Must match MM's "Context name" field, if defined.
#        security_level = "noAuthNoPriv"    # SNMP V3: Required. Security level (noAuthNoPriv|authNoPriv|authPriv).
#        passphrase = ""                    # SNMP V3: Authentication password. Required if security_level
#                                           # is authNoPriv or authPriv.
#        auth_type = ""                     # SNMP V3: Authentication password encoding (MD5|SHA). Required if 
#                                           # security_level is authNoPriv or authPriv.
#	 privacy_passwd = ""                # SNMP V3: Privacy password. Required if security_level is authPriv.
#	 privacy_protocol = ""              # SNMP V3: Privacy password encoding (DES).
#                                           # Required if security_level is authPriv.
#                                           # If security_level is authPriv, DES encoding is assumed since there
#                                           # currently is no other privacy password encoding choice.
#        count_per_getbulk = "32"           # SNMP V3: Optional. SNMP_MSG_GETBULK commands can be used to increase
#                                           # performance. This variable sets the maximum OIDs allowable per 
#                                           # MSG_GETBULK command.
#                                           # Positive values less than 16 default to "16", since values less than
#                                           # 16 don't necessarily increase performance. Too high of a value (> 40)
#                                           # can cause SNMP commands to BladeCenter to timeout. The default is "32".
#                                           # A value of "0" disables the use of the SNMP_MSG_GETBULK SNMP command.
#}

## Section for static simulator plugin:
## If openhpi configured with
## configure --enable-simulator=static
## the dummy plugin is compiled in.
## It is possible to use simulator and libsimulator
## at the same time.
#handler libsimulator {
#        entity_root = "{SYSTEM_CHASSIS,5}"
#        name = "test"
#}

## Section for ipmidirect plugin using SMI -- local interface
#handler libipmidirect {
#       entity_root = "{SYSTEM_CHASSIS,6}"
#       name = "smi"
#       addr = 0
#}

## Section for ipmidirect plugin using RMCP:
#handler libipmidirect {
#        entity_root = "{SYSTEM_CHASSIS,7}"
#        name = "lan"         # RMCP
#        addr = "localhost"   # Host name or IP address
#        port = "623"         # RMCP port
#        auth_type = "none"   # none, md2, md5 or straight
#        auth_level = "admin" # operator or admin
#        username = "arthur"
#        password = "pieman"
#        IpmiConnectionTimeout = "5000"
#        AtcaConnectionTimeout = "1000"
#        MaxOutstanding = "1" # Allow parallel processing of
#        # ipmi commands; change with care
#        logflags = ""      # logging off
#        # logflags = "file stdout"
#        # infos goes to logfile and stdout
#        # the logfile are log00.log, log01.log ...
#        logfile = "log"
#        # if #logfile_max reached replace the oldest one
#        logfile_max = "10"
#}

## Section for ilo2_ribcl plugin for ProLiant Rack Mount servers
#handler libilo2_ribcl {
#        entity_root = "{RACK_MOUNTED_SERVER,8}"
#        ilo2_ribcl_hostname = "IP address"  # iLO2 IP address
#        ilo2_ribcl_portstr = "443" # iLO2 RIBCL SSL server port number
#        ilo2_ribcl_username = "username" # iLO2 username
#        ilo2_ribcl_password = "password" # iLO2 password
#}

## Section for oa_soap plugin for HP BladeSystem c-Class,
## using SOAP XML over https
#handler liboa_soap {
#        entity_root = "{SYSTEM_CHASSIS,8}"
#        OA_User_Name = "user"   # OA user name with admin privileges (required)
#        OA_Password = "passwd"  # OA password for above user (required)
#        ACTIVE_OA = "hostname"  # Active OA hostname or IP address (required)
#        STANDBY_OA = "hostname" # Standby OA hostname or IP address (optional)
#}

## Section for sysfs plugin
#handler libsysfs2hpi {
#        # Mandatory.
#        entity_root = "{SYSTEM_CHASSIS,9}"
#}

## Section for Run-Time Abstraction Services (RTAS) plugin:
#handler librtas {
#        # Mandatory.
#        entity_root = "{SYSTEM_CHASSIS,50}"
#}

## Section for watchdog plugin for Linux watchdog device interface:
#handler libwatchdog {
#        # Mandatory.
#        entity_root = "{SYSTEM_CHASSIS,51}"
#        # Watchdog device path. Mandatory.
#        addr = "/dev/watchdog"
#}

## Section for dynamic_simulator plugin
#handler libdyn_simulator {
#        entity_root = "{SYSTEM_CHASSIS,9}"
## Location of the simulation data file 
## Normally an example file is installed in the same directory as openhpi.conf.
## Please change the following entry if you have configured another install
## directory or will use your own simulation.data.
#        file = "/etc/openhpi/simulation.data"
#        # infos goes to logfile and stdout
#        # the logfile are log00.log, log01.log ...
##        logflags = "file stdout"
##        logfile = "dynsim"
#        # if #logfile_max reached replace the oldest one
##        logfile_max = "5"
#}

## Section for slave plugin
#handler libslave {
#        # Optional.
#        # Entity path that will be added to slave daemon resources' entity paths.
#        # Default value is empty.
#        entity_root = "{RACK,1}"
#        # Mandatory. Address of slave OpenHPI daemon.
#        host = "192.168.1.42"
#        # Optional. Port of slave OpenHPI daemon.
#        # Default value is 4743
#        #port = "4743"
#}

## Section for slave plugin
#handler libtest_agent {
#    # Mandatory. TCP port for console.
#    port = "41415"
#}