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
2098daa909
commit
64917608d5
@ -35,12 +35,11 @@ import pandoraPluginTools as ppt
|
|||||||
## Define agent
|
## Define agent
|
||||||
server_name = "WIN-SERV"
|
server_name = "WIN-SERV"
|
||||||
|
|
||||||
agent=ppt.init_agent()
|
agent=ppt.init_agent({
|
||||||
agent.update(
|
"agent_name" : ppt.generate_md5(server_name),
|
||||||
agent_name = ppt.generate_md5(server_name),
|
"agent_alias" : server_name,
|
||||||
agent_alias = server_name,
|
"description" : "Default Windows server"
|
||||||
description = "Default Windows server",
|
})
|
||||||
)
|
|
||||||
|
|
||||||
## Define modules
|
## Define modules
|
||||||
modules=[]
|
modules=[]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user