OpenVas notes
I have found running openvas with Greenbone to be difficult and alot of overhead, being able to run from a command line works for me. Greenbone is a nice gui if you need gui.
Install openvas
apt-get install openvas-client
apt-get install openvas-server
add user
/usr/sbin/openvas-adduser
create cert
/usr/sbin/openvas-mkcert
update plugins
/usr/sbin/openvas-nvt-sync
start server
/usr/sbin/openvasd -D
Verify server running
netstat -nap |grep openvas
Create target file
echo "192.168.0.5" >> target.txt
start scan
/usr/bin/OpenVAS-Client -q 127.0.0.1 9390 admin PASSWD target.txt scanresults.html -T html