Comments (2)
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.
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
from ocsinventory-server.
Related Issues (20)
- CVE Reporting issue HOT 1
- One agent getting HTTP 500 errors when trying to POST inventory HOT 19
- Setup.sh fails with "cannot stat 'ocsreports/*': No such file or directory" HOT 16
- CHEKSUM error when updating hardware using GLPI Agent HOT 2
- GPG key expired - Installation from repo not possible HOT 1
- Administrative data is reset on each update from agent HOT 4
- Rest API Get last updated computers returning a 404 response HOT 2
- Upgrade from 2.11.0 to 2.12.0 Lost Static and Dinamic group HOT 2
- HTTP Stats Code #400. Agent will not communicate with server. HOT 5
- Apache server is not starting HOT 3
- LDAPS error HOT 2
- Error after migration from Oracle Linux 7 to 9 and php 7.3 to 8.2. PHP Fatal error: Uncaught Error: Undefined constant "SSL_MODE"
- Erreur 500 entre agent et serveur OCS. Problème au niveau de la BD? HOT 9
- IpDiscover does not find machines on the network HOT 4
- Can't create deployment package HOT 2
- Software table is missing in the Database HOT 2
- DBD::mysql::st execute failed: Unknown column 'PRETTYVERSION' in 'field list' at /usr/share/perl5/vendor_perl/Apache/Ocsinventory/Server/Inventory/Software.pm line 64. HOT 1
- Database server requirements mismatch on documentation HOT 1
- GPG key of Debian repo has expired again HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ocsinventory-server.