[Openvas-devel] OMP always returning OK 201 Success

Matthew Mundell matthew.mundell at greenbone.net
Thu Jan 6 10:14:08 CET 2011


> When trying to create a new config with an embedded get_configs response
> element, we get a status 201 OK success message, but the config is not
> created correctly. We noticed that it works with smaller configs (i.e.
> only 1 family), but the config is not created correctly when importing a
> larger config even though OMP returns success.
>
> Is there a way to determine if OMP encounter an error because now it
> only returns a status 201 OK success message even if it errors out.

It should always return an error status if there was an error.  Could you
give a bit more detail of the situation?  Maybe send an example of the OMP
command?  The Manager log may give some clue of what went wrong.

--
Greenbone Networks GmbH
Neuer Graben 17, 49074 Osnabrueck, Germany | AG Osnabrueck, HR B 202460
Executive Directors: Lukas Grunwald, Dr. Jan-Oliver Wagner


More information about the Openvas-devel mailing list