OCSInventory-NG / OCSInventory-Docker-Image

Docker image for OCSInventory Server
GNU General Public License v3.0
80 stars 96 forks source link

Why doesn't ipdiscover run automatically? #104

Open cairoapcampos opened 1 year ago

cairoapcampos commented 1 year ago

It's hard to solve a problem when important details are missing, so we've added this template to help you and us.

General information

Docker host operating system: Debian 12 Mysql Server Version: 8.0

Docker Information

Docker compose version: 1.29.2 Docker Version: 20.10.24

Problem description

I'm using the image ocsinventory/ocsinventory-docker-image:2.12. I noticed that it doesn't have nmap and fping required for IpDiscover. So I installed these packages. Later I had to define mysql_native_password in the database to be able to make queries. After these changes, I was able to successfully run perl ipdiscover-util.pl -network=192.168.2.0/24 -scantype=nmap -h=ocsdb -u=ocsuser -p=ocspass. The machines appeared in the web interface. However, I want new machines to appear in the web interface after automatic scans. I always need to run the ipdiscover-util.plscript manually.

Can you help me ?