Hello,
i’m trying to pass make_unique into my create_target xml request.
However, I always get an EOF.
Ideas?
‘bogus element make_unique’: <create_target><name><make_unique>%s</name><hosts>%s</hosts>%s</create_target>
Hello,
i’m trying to pass make_unique into my create_target xml request.
However, I always get an EOF.
Ideas?
‘bogus element make_unique’: <create_target><name><make_unique>%s</name><hosts>%s</hosts>%s</create_target>
The code above contains invalid xml. Could you try closing the make_unique element with passing <make_unique/>
instead?
Hi!
<create_target><make_unique/><name>yyyy</name><hosts>xxxx</hosts></create_target>
will result in Bogus element: make_unique
.
<create_target><name><make_unique/>yyyy</name><hosts>xxxx</hosts></create_target>
will result in Target exists already
.
I am sorry to say the make_unique feature seems to be broken at the moment. We have created a ticket to fix the behavior.
Thank you, can you refer to the ticket URL?
I am sorry the ticket isn’t public.
<make_unique/> got removed last week from the next version of gvmd in GVM 10.
Instead you could include something like a timestamp into the target name.