Further Information

Example of the Package Configuration File

#for the first operator, and only < or <= may be used for the second operator.

#For example,

#Resource is up when its value is

#--------------------------------

# RESOURCE_UP_VALUE

= 55

(threshold)

 

#

RESOURCE_UP_VALUE

>

5.1greater than 5.1

(threshold)

#

RESOURCE_UP_VALUE

>

-5

and < 10between -5 and 10

(range)

 

 

 

 

#

#Note that "and" is required between the lower limit and upper limit

#when specifying a range. The upper limit must be greater than the lower

#limit. If RESOURCE_UP_VALUE is repeated within a

RESOURCE_NAME block, then

#they are inclusively OR'd together. Package Resource Dependencies may be

#defined by repeating the entire RESOURCE_NAME block.

#Example : RESOURCE_NAME /net/interfaces/lan/status/lan0

#RESOURCE_POLLING_INTERVAL120

#RESOURCE_STARTAUTOMATIC

#RESOURCE_UP_VALUE= RUNNING

#RESOURCE_UP_VALUE= ONLINE

#

#Means that the value of resource /net/interfaces/lan/status/lan0

#will be checked every 120 seconds, and is considered

to

#be 'up' when its value is "RUNNING" or "ONLINE".

Appendix A

A-35