Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.11.1 available

The official documentation can be found on http://wiki.ocsinventory-ng.org. Read it before asking your question.

ipdiscover class A network

I have a class a network with a lot of systems to scan with ipdiscover. I know class a network is bat to use with ipdiscover, but is unchangeable. My problem is that the result is not complete. I use a computer with windows agent and option IPDISCOVER: 101.0.0.0. The scan starts and I get a lot of computer between 101.0.0.0 and 101.0.0.254:

    IPDISCOVER => Computer found @IPv4:101.0.0.62 @MAC:00:79:64:80:00:EA NAME:blabla

After the scan is finished this message appeard in the log file:

    IPDISCOVER => NETWORK scan finished, 49 hosts found, 65535 scanned

But this is not correct. I have for example a lots of computer and other systems between 101.1.1.0 and 101.1.1.254. If I use nmap like:

nmap -sP 101.0.0.0/8

the scan is running and after long time i got all my systems like:

Nmap scan report for blabla (101.2.4.228)

I tried to scan subnets manually like:

OCSInventory.exe /debug=2 /notag /force /np /server=http://ocsng/ocsinventory /ipdisc="101.0.0.1-254" /ipdisc_lat="2"

AGENT => IpDiscover required by /IPDISC on network 101.0.0.1-254
    AGENT => IpDiscover Latency forced by /IPDISC_LAT to 2
ERROR *** IPDISCOVER => No mask is available for the given network number:

OCSInventory.exe /debug=2 /notag /force /np /server=http://ocsng/ocsinventory /ipdisc="101.0.0.0/24" /ipdisc_lat="2"

AGENT => IpDiscover required by /IPDISC on network 101.0.0.0/24
    AGENT => IpDiscover Latency forced by /IPDISC_LAT to 2
ERROR *** IPDISCOVER => No mask is available for the given network number:

OCSInventory.exe /debug=2 /notag /force /np /server=http://ocsng/ocsinventory /ipdisc="101.0.0.0/255.255.255.0" /ipdisc_lat="2"

AGENT => IpDiscover required by /IPDISC on network 101.0.0.0/255.255.255.0
    AGENT => IpDiscover Latency forced by /IPDISC_LAT to 2
ERROR *** IPDISCOVER => No mask is available for the given network number:

Also I tryed to add sub nets and to change TVALUE = 101.1.0.0 at the database table 'devices'. No success.

Has anyone a suggestion?

ipconfig /all

IPv4-Adresse  . . . . . . . . . . : 101.2.4.228(Bevorzugt)
Subnetzmaske  . . . . . . . . . . : 255.0.0.0

Test:

C:\Program Files (x86)\OCS Inventory Agent>OCSInventory.exe /debug=2 /notag /force /np /server=http://ocsng/ocsinventory /ipdisc="101.0.0.0" /ipdisc_lat="2"

Output LOG: C:\ProgramData\OCS Inventory NG\Agent

==============================================================================
Starting OCS Inventory NG Agent on Thursday, November 10, 2016 11:12:10.
AGENT => Running OCS Inventory NG Agent Version 2.1.1.3
AGENT => Using OCS Inventory NG FrameWork Version 2.1.1.3
AGENT => Loading plug-in(s)
    DLL PLUGIN => Searching for Plug-in DLL(s) in folder <C:\Program Files (x86)\OCS Inventory Agent\plugins>
    DLL PLUGIN => 0 DLL Plug-in(s) successfully loaded on 0 DLL(s) found
AGENT => Using network connection with Communication Server
    COM PROVIDER => Loading Communication Provider <C:\Program Files (x86)\OCS Inventory Agent\ComHTTP.dll>
AGENT => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.1.1.3>
AGENT => Sending Prolog
    DID_CHECK => Read DeviceID <MAIK-2014-11-24-13-35-10> and MACs <A0:C2:C1:47:63:8B> in file <ocsinventory.dat>
    COM SERVER => Initializing cURL library for sendRequest
    COM SERVER => Using cURL without server authentication
    COM SERVER => Disabling cURL proxy support
    COM SERVER => Disabling cURL SSL server validation support
    COM SERVER => Sending HTTP Post request to URL <http://ocsng/ocsinventory>
    COM SERVER => HTTP Post response received <HTTP Status Code #200>
    COM SERVER => Cleaning cURL library
================= TRACE START ===============
<?xml version='1.0' encoding='UTF-8'?>
<REPLY>
  <RESPONSE>SEND</RESPONSE>
  <INVENTORY_ON_STARTUP>1</INVENTORY_ON_STARTUP>
  <PROLOG_FREQ>24</PROLOG_FREQ>
  <OPTION>
    <PARAM IPDISC_LAT="100">101.0.0.0</PARAM>
    <NAME>IPDISCOVER</NAME>
  </OPTION>
  <OPTION>
    <PARAM ON="1" TYPE="CONF" EXECUTION_TIMEOUT="120" FRAG_LATENCY="10" PERIOD_LENGTH="10" CYCLE_LATENCY="60" PERIOD_LATENCY="1" TIMEOUT="30" />
    <NAME>DOWNLOAD</NAME>
  </OPTION>
</REPLY>

================= TRACE STOP ===============
AGENT => Prolog successfully sent
SUPPORT => No support detected, Registration key : N/A
    AGENT => Prolog Frequency set to 24 hour(s)
AGENT => Inventory forced by /FORCE option
AGENT => Launching hardware and software checks
...
AGENT =>  Communication Server ask for Registry Query
    REGISTRY => Executing query asked by server
    REGISTRY => 3 query successfully executed
AGENT => IpDiscover required by /IPDISC on network 101.0.0.0
    AGENT => IpDiscover Latency forced by /IPDISC_LAT to 2
    IPDISCOVER => Scanning to detect IPv4 enabled hosts for network <101.0.0.0> with <2> ms between each request
    IPDISCOVER => Computer found @IPv4:101.0.0.14 @MAC:00:50:56:84:2D:63 NAME:erased_manually
    IPDISCOVER => Computer found @IPv4:101.0.0.29 @MAC:80:EE:73:BE:92:5C NAME:erased_manually
...
    IPDISCOVER => Computer found @IPv4:101.0.0.24 @MAC:00:0A:83:00:5E:2B NAME:101.0.0.24
    IPDISCOVER => Computer found @IPv4:101.0.0.180 @MAC:00:C0:EE:58:57:57 NAME:101.0.0.180
    IPDISCOVER => Waited 3180 ms for the threads to die
    IPDISCOVER => NETWORK scan finished, 49 hosts found, 65535 scanned
    EXECUTABLE PLUGIN => Searching for VBS script(s) in folder <C:\Program Files (x86)\OCS Inventory Agent\plugins>
    EXECUTABLE PLUGIN => Searching for executable(s) in folder <C:\Program Files (x86)\OCS Inventory Agent\plugins>
AGENT => Sending Inventory
    INVENTORY => Checking last inventory state
    INVENTORY => Logical drives inventory state changed
INVENTORY => Inventory changed since last run
...
================= TRACE START ===============
<?xml version='1.0' encoding='UTF-8'?>
<REPLY>
  <RESPONSE>NO_ACCOUNT_UPDATE</RESPONSE>
</REPLY>

================= TRACE STOP ===============
in OCS Inventory NG agent for Windows by (540 points)

Please log in or register to answer this question.

 
Powered by Question2Answer
...