Giter VIP home page Giter VIP logo

Comments (2)

Lea9250 avatar Lea9250 commented on June 14, 2024

Hi @bud4,

Can you generate the inventory locally and check within the file generated if the IpDiscover section did return this IP to the server ?

Regards,
Léa

from ocsinventory-server.

bud4 avatar bud4 commented on June 14, 2024

Hi @Lea9250 , as you can see from the previously attached debug log, the ocs agent sends the IP to the server which is not present in the netmap table.
IPDISCOVER => Computer found @IPv4:172.30.18.254 @MAC:70:DF:2F:00:9F:BF NAME:172.30.18.254
Furthermore we have 93 subnets of the type 172.3X.XX.0/24. In all these subnets the gateway is the IP address with final number 254. For example 172.31.74.0/24 has the gateway 172.31.74.254.
Well, although there are OCS agents in all 93 subnets in the netmap table there are only 50 addresses with a final of 254.
As you can see from the result of the following sql queries:
*** number of subnet of type 172.3%.xxx.xx/24
SELECT count(DISTINCT substr(IP,1,10)) FROM netmap where ip like '172.3%';
93
**** number of ip end in 254 (gateway)
SELECT count( DISTINCT IP) FROM netmap where ip like '172.3%.254%';
50
#*************
an example of a missing ip(gateway) is 172.30.18.254 although there are 4 ipdiscover agents in its subnet.
Below is the snmp scan result to show that it is present
immagine

from ocsinventory-server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.