Manual execution
Credentials must be supplied as a Base64-encoded JSON object containing the user and password fields. For example:
printf '%s' '{"user":"pandora_monitor","password":"change_me"}' | base64 -w 0
Example idrac.conf file for iDRAC 9:
[CONF]
agents_group_id=10
credentials=eyJ1c2VyIjoicGFuZG9yYV9tb25pdG9yIiwicGFzc3dvcmQiOiJjaGFuZ2VfbWUifQ==
idrac_version=idrac9
use_session_auth=0
validate_tls=0
timeout=10
agent_prefix=iDRAC
module_prefix=
interval=300
agent_autodisable=0
system_modules_enabled=1
fan_modules_enabled=1
temperature_modules_enabled=1
power_modules_enabled=1
storage_modules_enabled=1
The idrac_targets.txt file accepts one target per line or multiple comma-separated targets. When the scheme is omitted, the plugin uses HTTPS:
https://192.0.2.10
https://192.0.2.11
All targets included in the same execution must use the generation selected in idrac_version. The supported values are 9, idrac9, 10, and idrac10.
Run the plugin with:
python3 pandora_redfish_idrac.py --conf idrac.conf --targets idrac_targets.txt