Back to the list of connectors
IBM Director Agent 4.x - Linux
Description
This connector provides hardware monitoring through the IBM Director Agent version 4.x which supports some (not all) xSeries servers.
Connector ID: Director4Linux
Target
Typical platform: IBM xSeries
Operating system: Linux
Prerequisites
Leverages: IBM Director Agent 4.x
Technology and protocols: WBEM
This connector requires advanced privileges on the managed host for the command below:
/opt/IBM/director/CIMOM/bin/cimcli
This connector therefore needs to run as root or you need to configure a privilege-escalation mechanism like sudo
on the managed host to allow the monitoring account to run the command listed above.
Sample of /etc/sudoers to allow the above command to be run as root by the hwsagent account:
hwsagent ALL=(root) NOPASSWD: /opt/IBM/director/CIMOM/bin/cimcli
Examples
CLI
hws HOSTNAME -t linux -f Director4Linux --wbem -u USER
hws-config.yaml
hosts:
- host:
hostname: <HOSTNAME> # Change with actual host name
type: linux
selectedConnectors: [ Director4Linux ] # Optional, to load only this connector
wbem:
protocol: https
port: 5989
username: <USERNAME> # Change with actual credentials
password: <PASSWORD> # Encrypted using hws-encrypt
Connector Activation Criteria
The IBM Director Agent 4.x - Linux connector will be automatically activated, and its status will be reported as OK if all the below criteria are met:
- Operating System is Linux
- At least one process for which the command line matches with the regular expression below is running:
cimserver
- The command below succeeds on the monitored host
- Command:
ls /opt/IBM/director/CIMOM/bin/cimcli
- Output contains:
^/opt/IBM/director/CIMOM/bin/cimcli$
(regex)
- Command:
- The WBEM query below to the managed host succeeds:
- Namespace:
root
- WQL Query:
SELECT Name FROM __NAMESPACE
- Result contains:
^ibmsd;$
(regex)
- Namespace:
- The WBEM query below to the managed host succeeds:
- Namespace:
root/ibmsd
- WQL Query:
SELECT Name FROM IBMPSG_ComputerSystemDetails
- Namespace:
Metrics
Type | Collected Metrics | Specific Attributes (Labels) |
---|---|---|
Enclosure |
|
|
Disk Controller |
|
|
Processor |
|
|
Fan |
|
|
Logical Disk, RAID |
|
|
Memory Module |
|
|
Physical Disk |
|
|
Power Supply |
|
|
Temperature Sensor |
|
|
Voltage Sensor |
|
|