Check_omp fails to find task




I’m running OpenVAS-9 on Ubuntu and trying to use the check_omp utility with nagios, however, I keep getting a message stating that my task doesn’t exist. This used to work with an older version of OpenVAS.

$ check_omp --version
Check-OMP Nagios Command Plugin 1.4.5

Using the omp CLI, I can see the tasks:

$ omp -h -u user -w password --get-tasks
7992bf61-47f1-4069-926a-23736041998d Stopped gpms-vt
59755173-a153-4c62-a850-6751e580b6f1 Done introlsys

Yet, check_omp doesn’t find it:

$ check_omp --status -H -u user -w password -T introlsys --last-report -F
OMP UNKNOWN: Unknown task: introlsys

I also tried using the ID, but that didn’t work either:

$ check_omp --status -H -u user -w password -T 59755173-a153-4c62-a850-6751e580b6f1 --last-report -F
OMP UNKNOWN: Unknown task: 59755173-a153-4c62-a850-6751e580b6f1

For the testing all the cli commands, including the check_omp I have been running directly on the OpenVAS server just to eliminate any network issues between servers that might have caused an issue. The user has the admin role to rule out a role permissions issue reading the status.

Appreciate any thoughts on where to look next.



I’ve moved this topic to the GMP category.

omp is deprecated and even may not work with OpenVAS/GVM version 9 and later. Furthermore check_omp is completely unknown to me.

Please take a look at gvm-tools and python-gvm instead.


The script which is a replacement for the deprecated check_omp seems to be available here:


Thank you for the pointers. I installed gvm-tools, python-gvm, and the check_gmp script. Unfortunately I’m still having a problem getting expected output.

It appears that I’m missing a module, gmp:

$ ~/ --version
Traceback (most recent call last):
File “/home/ubuntu/”, line 37, in
from gmp.gvm_connection import (SSHConnection,
ModuleNotFoundError: No module named ‘gmp’
ubuntu@ip-10-0-0-29:~$ python3

I checked the modules in python, and I can see a gvm module, but no gmp module. What am I missing?

I found that I can change the script to import from gvm.connections and that will let me run the version command. But all the checks fails.

#from gmp.gvm_connection import (SSHConnection,
from gvm.connections import (SSHConnection,

For example:

$ ./ tls -H -u user -w password --ping
GMP CRITICAL: init() got an unexpected keyword argument ‘shell_mode’

gmp works in using gvm-pyshell:

version = gmp.get_version()
from gvmtools.helper import pretty_print
<get_version_response status=“200” status_text=“OK”>


I am sorry is not compatible with gvm-tools 2.0.0.beta1 currently. Could you try the 1.4.1 version instead?


Thank you very much for the help. That was the missing piece!

$ ./ tls -H -u user -w password -T “introlsys” --last-report --overrides -F --status
GMP OK: 1 vulnerabilities found - High: 0 Medium: 0 Low: 1