I alrady did, otherwise I wouldn't seek the mailing list for help...
I looked at http://www.openvas.org/omp-6-0.html#command_create_task but I still 
don't understand how I am suppose to achieve this.

Thanks

----- Mail original -----
De: "Eero Volotinen" <[email protected]>
À: [email protected]
Cc: [email protected]
Envoyé: Mercredi 27 Avril 2016 18:38:05
Objet: Re: [Openvas-discuss] tasks creation with OMP question



Take look of protocol specs.. 
27.4.2016 7.22 ip. < [email protected] > kirjoitti: 


Thank you for your answer, but then how am I suppose to do this ? 

----- Mail original ----- 
De: "Eero Volotinen" < [email protected] > 
À: [email protected] 
Cc: [email protected] 
Envoyé: Mercredi 27 Avril 2016 18:17:35 
Objet: Re: [Openvas-discuss] tasks creation with OMP question 



Your are using non existent elemwnt 
27.4.2016 7.13 ip. < [email protected] > kirjoitti: 


Hello ! 

I am currently setting up an openvas dedicated machine to scan some of my 
company's lab networks. Since the number of networks are quiet significant I am 
using OMP to create tasks to openvas-manager. 

However, I have some problems creating the tasks I need. Currently, I create 
simple tasks with the following command: 

omp -h 127.0.0.1 -u admin -w my_password --xml=' 
<create_task> 
<name>Site Name</name> 
<comment>Site VLAN</comment> 
<config id="daba56c8-73ec-11df-a475-002264764cea"/> 
<target id="my_task_id"/> 
</create_task>' 

This works fine. Now, I would like to tune this a little bit, like specifying 
the number of concurrent scans and number of simultaneous NVTs, so I do the 
following: 

omp -h 127.0.0.1 -u admin -w my_password --xml=' 
<create_task> 
<name>Site Name</name> 
<comment>Site VLAN</comment> 
<config id="daba56c8-73ec-11df-a475-002264764cea"/> 
<target id="my_task_id"/> 
<preferences> 
<preference> 
<name>Maximum concurrently executed NVTs per host</name> 
<scanner_name>max_checks</scanner_name> 
<value>4</value> 
</preference> 
<preference> 
<name>Maximum concurrently scanned hosts</name> 
<scanner_name>max_hosts</scanner_name> 
<value>20</value> 
</preference> 
<preference> 
</create_task>' 

The command fails with the following error: 

<create_task_response status_text="Bogus element: name" 
status="400"></create_task_response> 

What exactly am I doing wrong here ? 

thanks a lot !! 
_______________________________________________ 
Openvas-discuss mailing list 
[email protected] 
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss 
_______________________________________________
Openvas-discuss mailing list
[email protected]
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Reply via email to