Open bhupendersb opened 1 week ago
I am able to add CPU and Memory with the following:
- name: Add CPU and Memory Poller
solarwinds.orion.orion_node_poller:
hostname: "{{ hostname }}"
username: "{{ username }}"
password: "{{ password }}"
name: "{{ inventory_hostname }}"
state: present
poller: "{{ item.name }}"
enabled: "{{ item.enabled }}"
loop:
- name: N.Memory.SNMP.NetSnmpReal
enabled: true
- name: N.CPU.SNMP.NetSnmpReal
enabled: true
delegate_to: localhost
It looks like Asset Inventory will need its own functions and module. SWIS API documentation for that is here and should be pretty straightforward.
Unable to find module to add CPU & Memory and asset inventory in the collection.