...
get_command_output, Get the last output from a command for a node
Requries Requires node=node_name command="command name" and returns output collected from the last run of this command
...
Code Block |
---|
# Refresh OS Info for all nodes
./opconfig-cli.pl act=refresh_os_info
# Refresh OS Info for a particular node
./opconfig-cli.pl act=refresh_os_info node=node_name
# Refresh OS Info for only newly imported/created nodes
./opconfig-cli.pl act=refresh_os_info only_new=y
|
Create Compliance Report
Generate a compliance report, in csv format, which shows compliance to Compliance Policies.
Code Block |
---|
# Command to create compliance report ./opconfig-cli.pl act=create_compliance_report file=/tmp/all_nodes_compliance.csv |