mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Updated README example
This commit is contained in:
parent
64917608d5
commit
1b2312ce9a
@ -53,10 +53,11 @@ modules.append({
|
|||||||
"unit" : "%"
|
"unit" : "%"
|
||||||
})
|
})
|
||||||
|
|
||||||
## Transfer XML
|
## Generate and transfer XML
|
||||||
|
xml_content = ppt.print_agent(agent, modules)
|
||||||
|
xml_file = ppt.write_xml(xml_content, agent["agent_name"])
|
||||||
ppt.transfer_xml(
|
ppt.transfer_xml(
|
||||||
agent,
|
xml_file,
|
||||||
modules,
|
|
||||||
transfer_mode="tentacle",
|
transfer_mode="tentacle",
|
||||||
tentacle_address="192.168.1.20",
|
tentacle_address="192.168.1.20",
|
||||||
tentacle_port="41121",
|
tentacle_port="41121",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user