OCS Inventory NG Forums

OCS Inventory NG, an OpenSource computer inventory and package deployement system for Windows and Unix

You are not logged in.

  • Index
  • » ipdiscover
  • » IPDISCOVER: function not required by HTTP server...

#1 2010-02-09 12:52:22

girish.navuda
Member
Registered: 2008-05-30
Posts: 11

IPDISCOVER: function not required by HTTP server...

Hi,


i am running OCS_UNIX_SERVER 1.3 beta version in ubuntu and OCS INVENTORY windows client ver. 4061.1.
I have enabled debug mode in windows client.
In log file i can see below message for ipdiscover.

  -- IPDISCOVER: function not required by HTTP server...

I have enabled ipdiscover in server side configuration.
I don't know what issue with this..

Need help..


Thnx,
Naavda

Offline

#2 2010-04-15 13:24:56

Markus
Member
Registered: 2008-12-04
Posts: 22

Re: IPDISCOVER: function not required by HTTP server...

Same Problem here. Using OCS_UNIX_SERVER 1.3.1 with Windows agent 4061.1 and 4054
No look for other Device in the Network

Need help too

Thanks

Offline

#3 2010-04-16 08:38:46

Markus
Member
Registered: 2008-12-04
Posts: 22

Re: IPDISCOVER: function not required by HTTP server...

It's not a Problem of IPDISCOVER. The Problem is that the Server don't elect machines for IPDISCOVER.
Try enter a machine manually into Databasetable "devices"
Hardware_ID = Hardware_ID of the machine found in table hardware
NAME = must be IPDISCOVER
IVALUE = must be 1
TVALUE = must be the subnet adress (for me 192.168.1.0)
COMMENTS = nothing

For me, the machine i entered there is working with ipdiscovery
So it is a Problem of the Server not the IPDISOVERY i think

Offline

#4 2010-04-16 16:27:28

lesmikesell
Power user
Registered: 2008-02-12
Posts: 136

Re: IPDISCOVER: function not required by HTTP server...

Are you sure that the server didn't elect a machine where the perl modules needed for discovery weren't installed?

Offline

#5 2010-04-16 18:21:12

girish.navuda
Member
Registered: 2008-05-30
Posts: 11

Re: IPDISCOVER: function not required by HTTP server...

Ya i am pretty sure it didn't elect a machine.
Can u specify perl modules need for discovery...


Thnx,
Naavda

Offline

#6 2010-04-19 08:55:59

Markus
Member
Registered: 2008-12-04
Posts: 22

Re: IPDISCOVER: function not required by HTTP server...

I found the file "Ipdiscover.pm" in /usr/lib/perl5/site_perl/5.10.0/Apache/Ocsinventory/Server/Capacities

It's look like the one that elect the machines. But i dont know it for 100%

Offline

#7 2010-04-27 10:39:57

girish.navuda
Member
Registered: 2008-05-30
Posts: 11

Re: IPDISCOVER: function not required by HTTP server...

OCS INVENTORY ver. 4061  Starting session for Device <NAAVAD> on Tuesday, April 27, 2010 14:47:51...
Command line parameters: <</DEBUG /SERVER:192.168.2.223 /PNUM:80 /NP /HKCU /XML /DMI /BIOSFUNC >>

HTTP SERVER: Connection WITHOUT proxy
WMI Connect: Trying to connect to WMI namespace root\cimv2 on device <Localhost>...OK.
Registry Connect: Trying to connect to HKEY_LOCAL_MACHINE on device <Localhost>...OK.
CHECKINGS: read <NAAVAD-2010-01-29-13-37-38> and <xx:xx:xx:xx:xx:xx> in ocsinventory.dat
IpHlpAPI GetNetworkAdapters...
IpHlpAPI GetNetworkAdapters: Calling GetIfTable to determine network adapter properties...OK
IpHlpAPI GetNetworkAdapters: Calling GetAdapterInfo to determine IP Infos...OK
IpHlpAPI GetNetworkAdapters: OK (1 objects).
CHECKINGS: write <NAAVAD-2010-01-29-13-37-38> and <xx:xx:xx:xx:xx:xx> in ocsinventory.dat
HTTP SERVER: Creating CInternetSession to get inventory parameters...OK.
HTTP SERVER: Getting HTTP Connection to server 192.168.2.223 port 80 using no authentication...OK.
HTTP SERVER: Sending prolog query...HTTP status 200 OK
OK.
HTTP SERVER: Receiving prolog response...OK.
DOWNLOAD: Working directory already exists
DOWNLOAD: Package history file cleaning not required
PROLOG FREQ was set to 1
HTTP SERVER: Inventory requested by server
HTTP SERVER: Closing HTTP connection
Retrieving Device informations...
getUserName: Trying to get logged on User ID...
getUserName: Will using Process32...OK
User found (explorer): Administrator.
Registry NT GetLastLoggerUser: Trying to get the last user who'd been logged in...OK (administrator).
WMI GetOS: Trying to find Win32_OperatingSystem WMI objects...OK (Microsoft Windows XP Professional 5.1.2600 Service Pack 2 1 Patil).
WMI GetDomainOrWorkgroup: Trying to find Win32_ComputerSystem WMI objects...OK (enpaqadserver.com)
Registry NT GetDomainOrWorkgroup...OK (NAAVAD).
WMI GetBiosInfo: Trying to find Win32_ComputerSystem WMI objects...OK (Kobian PVM7 Pro)
WMI GetBiosInfo: Trying to find Win32_SystemEnclosure WMI objects...OK (Kobian PVM7 Pro 00000000 3 0123ABC)
WMI GetBiosInfo: Trying to find Win32_Bios WMI objects...OK (American Megatrends Inc. N/A 00000000)
WMI GetProcessors: Trying to find Win32_Processor WMI objects...Intel(R) Pentium(R) 4 CPU 3.00GHz 3000 (x86 Family 15 Model 6 Stepping 5). OK
WMI GetProcessors: 2 processor(s) found.
getMemory...Physical: 1006546944 bytes, Swap: 3063054336 bytes. OK
WMI GetMemorySlots: Trying to find Win32_PhysicalMemory WMI objects...OK (2 objects)
WMI GetMemorySlots: Trying to find Win32_PhysicalMemoryArray WMI objects...OK (2 objects updated)
WMI GetInputDevices: Trying to find Win32_Keyboard WMI objects...OK (1 objects)
WMI GetInputDevices: Trying to find Win32_PointingDevice WMI objects...OK (1 objects)
WMI GetInputDevices: OK
WMI GetSystemPorts: Trying to find Win32_SerialPort WMI objects...OK (1 objects)
WMI GetSystemPorts: Trying to find Win32_ParallelPort WMI objects...OK (1 objects)
WMI GetSystemPorts: OK
WMI GetSystemSlots: Trying to find Win32_SystemSlot WMI objects...OK (4 objects)
WMI GetSystemControllers: Trying to find Win32_FloppyController WMI objects...OK (1 objects)
WMI GetSystemControllers: Trying to find Win32_IDEController WMI objects...OK (6 objects)
WMI GetSystemControllers: Trying to find Win32_SCSIController WMI objects...Failed because no Win32_SCSIController object !
WMI GetSystemControllers: Trying to find Win32_InfraredDevice WMI objects...Failed because no Win32_InfraredDevice object !
WMI GetSystemControllers: Trying to find Win32_USBController WMI objects...OK (5 objects)
WMI GetSystemControllers: Trying to find Win32_1394Controller WMI objects...Failed because no Win32_1394Controller object !
WMI GetSystemControllers: Trying to find Win32_PCMCIAController WMI objects...Failed because no Win32_PCMCIAController object !
WMI GetSystemControllers: OK
WMI GetStoragePeripherals: Trying to find Win32_FloppyDrive WMI objects...OK (1 objects)
WMI GetStoragePeripherals: Trying to find Win32_DiskDrive WMI objects...OK (1 objects)
WMI GetStoragePeripherals: Trying to find Win32_CDROMDrive WMI objects...Failed because no Win32_CDROMDrive object !
WMI GetStoragePeripherals: Trying to find Win32_TapeDrive WMI objects...Failed because no Win32_TapeDrive object !
WMI GetStoragePeripherals: OK
WMI GetSoundDevices: Trying to find Win32_SoundDevice WMI objects...OK (1 objects)
WMI GetModems: Trying to find Win32_POTSModem WMI objects...OK (1 objects)
IpHlpAPI GetNetworkAdapters...
IpHlpAPI GetNetworkAdapters: Calling GetIfTable to determine network adapter properties...OK
IpHlpAPI GetNetworkAdapters: Calling GetAdapterInfo to determine IP Infos...OK
IpHlpAPI GetNetworkAdapters: OK (1 objects).
WMI GetPrinters: Trying to find Win32_Printer WMI objects...OK (4 objects)
WMI GetVideoAdapters: Trying to find Win32_VideoController WMI objects...OK (1 objects)
SetupAPI Connect: Trying to connect to SetupAPI on device <Localhost>...OK.
SetupAPI: Enumerating DISPLAY devices...
    Gediff : Ecran SAM.0117.4C423137 (HHAL926157)
SetupAPI: Enumerates DISPLAY devices finished (1 objects)...
SetupAPI: Enumerating MONITOR devices...
    SetupAPI: SetupDiGetClassDevs MONITOR failed with error 87.
SetupAPI: Enumerates MONITOR devices finished (0 objects)...
SetupAPI Disconnect: Disconnected from SetupAPI.
WSA GetIPAddress...OK (192.168.2.42)
WMI GetWindowsRegistration: Trying to find Win32_OperatingSystem WMI objects...OK (prakruthi girish 11111-OEM-1111111-11111).
Registry GetWindowsProductKey...OK (XXXXX-XXXXX-XXXXX-XXXXX-XXXXX).
Registry NT GetRegistryApplications READING hive HKCU  ...
Registry NT GetRegistryApplications: OK (1 objects).
Registry NT GetRegistryApplications READING hive HKLM  ...
Registry NT GetRegistryApplications: OK (83 objects).
Creating CXMLInteract object...OK
Trying to open database on folder <C:\Program Files\OCS Inventory Agent\> with XML...OK.
Scanning Device's Logical Drive(s) for informations and softwares...
    Getting Logical Drive <A:\> properties...OK
    Getting Logical Drive <C:\> properties...OK
    Getting Logical Drive <F:\> properties...OK
    XML Read BIOS from file <C:\Program Files\OCS Inventory Agent\Bios\NAAVAD.csv>...
    XML Read BIOS: Failed because unable to open file !
Reading last inventory state file...
    XML Read last inventory state from file <C:\Program Files\OCS Inventory Agent\last_state>...OK
IPDISCOVER: function not required by HTTP server...
Registry Values: function enabled by server...
Registry GetRegistryMultipleValues (HKLM\SOFTWARE\Yahoo\pager)...
    Value 0: ProductVersion=9.0.0.2034
Registry GetRegistryMultipleValues...OK (1 values read).
Registry GetRegistryMultipleValues (HKLM\SOFTWARE\OpenVPN)...
    Value 0: =C:\Program Files\OpenVPN
    Value 1: config_dir=C:\Program Files\OpenVPN\config
    Value 2: config_ext=ovpn
    Value 3: exe_path=C:\Program Files\OpenVPN\bin\openvpn.exe
    Value 4: log_dir=C:\Program Files\OpenVPN\log
    Value 5: priority=NORMAL_PRIORITY_CLASS
    Value 6: log_append=0
Registry GetRegistryMultipleValues...OK (7 values read).
Registry GetRegistryValue (HKLM\SOFTWARE\Mozilla\Mozilla Firefox \CurrentVersion)...Failed in call to <RegOpenKey> function for subkey SOFTWARE\Mozilla\Mozilla Firefox  of selected hive !
Registry Values: scan finished (4 query executed)
Checking last inventory state...
    No change since last inventory.
XML Update Device properties...
    XML Update Memory Slots: OK (2 objects).
MEM: Bogus summed memoryslots, 1024 is too far from 959 (keeping the last one)
BIOSINFO: Launching in BIOS FUNCTIONS mode
BIOSINFO: Searching BIOS informations...
    XML Update Logical Drives...
    XML Update Logical Drives: OK (3 objects).
    XML Update Input Devices...
    XML Update Input Devices: OK (2 objects).
    XML Update Modems: OK (1 objects).
    XML Update Monitors: OK. (1 objects).
    XML Update Network Adapters: OK (1 objects).
    XML Update System Ports: OK (2 objects).
    XML Update Printers...
    XML Update Printers: OK (4 objects).
    XML Update Registry Values...
    XML Update Registry Values: OK (8 objects).
    XML Update Softwares...
    XML Update Softwares: OK (85 objects).
    XML Update Sound Devices...
    XML Update Sound Devices: OK (1 objects).
    XML Update Storage Peripherals...
    XML Update Storage Peripherals: OK (2 objects).
    XML Update System Controllers...
    XML Update System Controllers: OK (12 objects).
    XML Update System Slots...
    XML Update System Slots: OK (4 objects).
    XML Update Video Adapters...
    XML Update Video Adapters: OK (1 objects).
XML Update Device properties: OK.
WMI Disconnect: Disconnected from WMI namespace.
Writing results to standard XML file <ocsinventory.xml> required by argument -XML...OK
HTTP SERVER: Creating CInternetSession to send inventory results...OK.
HTTP SERVER: Getting HTTP Connection to server 192.168.2.223 port 80 using no authentication...OK
HTTP SERVER: INV : SEND received, sending inventory...HTTP status 200 OK
OK.
HTTP SERVER: INV : no account info update
HTTP SERVER: Closing HTTP connection....OK.
Writing last inventory state file...
    XML Write new inventory state to file <C:\Program Files\OCS Inventory Agent\last_state>...OK
Execution duration: 00:00:04.


Thnx,
Naavda

Offline

#8 2010-04-27 11:28:31

Markus
Member
Registered: 2008-12-04
Posts: 22

Re: IPDISCOVER: function not required by HTTP server...

If the Host is not elected for IP Discovery, the log will always show "IPDISCOVER: function not required by HTTP server...".

If the Host is elected by the server for IP Discovery, the log message will say something like "IPDISCOVER: bla bla for network xxx.xxx.xxx.xxx....."

Offline

#9 2010-06-16 09:31:45

amfi12
New member
Registered: 2010-06-16
Posts: 1

Re: IPDISCOVER: function not required by HTTP server...

I've the same problem.
OCS Server v1.3.2 on Debian 5.0 (Lenny).
226 inventoried machines in 19 subnets.
Quality ranges from 0 to ~14, fidelity from 1 to 719.
All hosts have agent 4.0.6.1 installed.

Server doesn't elect machines to perform IPDISCOVERY - column IpDiscover in Security->Network information is all 0.

I haven't tried to manually designate a machine to perform IPDISCOVERY, but according to documentation it is better to "be elected by the server".

Anybody knows why it doesn't work?

TIA
Maciek

Offline

#10 2010-07-14 07:01:01

da_yoshman
New member
Registered: 2008-12-30
Posts: 4

Re: IPDISCOVER: function not required by HTTP server...

hi everybody,

i have the same problem, that ocs doesn't select machines for ipdiscover. and if i remember right it happens since the last update to 1.3.2.

but maybe i played to much with the settings for ipdiscover - turning it on and off and on and off sad is it possible to reset the settings to original standard just for the ipdiscover feature?

regards steffen

Offline

#11 2010-07-23 19:34:04

mh.mostafavi
New member
Registered: 2010-07-23
Posts: 1

Re: IPDISCOVER: function not required by HTTP server...

Hi
Same Problem here. Using OCS_UNIX_SERVER 1.3.1 with Windows agent 4061.1 and 4054
I solved it by copy /usr/lib/perl5/site_perl/5.10.0/Apache/Ocsinventory/Server/Capacities/Ipdiscover.pm from older OCS_UNIX_SERVER
the diff result is:

diff Ipdiscover-older-version.pm Ipdiscover-1.3.1-version.pm2
59c59,60
<
---
>
>   return unless ref($current_context->{'PARAMS'}{'IPDISCOVER'}) eq 'HASH';
139a141
>   return unless ref($current_context->{'PARAMS'}{'IPDISCOVER'}) eq 'HASH';

you could comment these two line if you have not older version;
but I don't know why!!!

after several inventory it run correctly.

Offline

#12 2010-07-29 08:19:07

mferpan
New member
Registered: 2010-05-18
Posts: 8

Re: IPDISCOVER: function not required by HTTP server...

mh.mostafavi, you are right !!! now ipdiscover is working perfectly smile

Thank you so much

Offline

  • Index
  • » ipdiscover
  • » IPDISCOVER: function not required by HTTP server...

Board footer

Powered by FluxBB