title: Hitachi HNAS: CPU Utilization of PNodes
agents: snmp
catalog: hw/storagehw/hitachi
license: GPL
distribution: check_mk
description:
 Checks the Module CPU Utilization of the physical Nodes (PNodes) of
 Hitachi HNAS storage systems.

 {WARN} or {CRIT} is returned, if the usage is above
 given thresholds. {OK} is returned otherwise.

item:
 The ID of the PNode.

examples:
 # set default levels to 70 and 80 percent:
 hitachi_hnas_cpu_default_levels = { "levels": (70.0, 80.0) }

 # Check CPU Utilization of PNode with ID 1 on a HNAS called my-hnas with default levels
 checks += [
   ("my-hnas", "hitachi_hnas_cpu", '1', hitachi_hnas_cpu_default_levels)
 ]

 # or use individual levels for warn and crit
 checks += [
   ("my-hnas", "hitachi_hnas_cpu", '1', {'levels': (75.0, 85.0)})
 ]

perfdata:
 One value cpu_util is returned which represents the CPU Utilization (in percent)
 together with warn and crit levels.

inventory:
 Finds one item per PNode

[parameters]
parameters (dict): with the element
{"levels"}: (float, float): levels of CPU utilization for {WARN} and {CRIT} in percent

[configuration]
hitachi_hnas_cpu_default_levels(dict): The standard levels for {WARN} and
    {CRIT}, preset to { "levels": (80.0, 90.0) }
