OCSInventory-NG / OCSInventory-Docker-Image

Docker image for OCSInventory Server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Why doesn't ipdiscover run automatically?

cairoapcampos opened this issue · comments

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 ?