Перейти из форума на сайт.

НовостиФайловые архивы
ПоискАктивные темыТоп лист
ПравилаКто в on-line?
Вход Забыли пароль? Первый раз на этом сайте? Регистрация
Компьютерный форум Ru.Board » Компьютеры » В помощь системному администратору » OCS Inventory

Модерирует : lynx, Crash_Master, dg, emx, ShriEkeR

 Версия для печати • ПодписатьсяДобавить в закладки
Страницы: 1 2 3 4 5 6 7 8 9 10 11 12

Открыть новую тему     Написать ответ в эту тему

slech



Silver Member
Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
Open Computers and Software Inventory

 
   
 
Домашняя страница
Roadmap
Скриншоты
Скачать     Windows Server 1.1(100 Mb)    Windows Agent 1.1(3 Mb)
Автоматическая установка агента(в текущем конфиге предпологается наличие прав админа на удалённых машинах)
the FusionInventory Project
 
OCS Inventory NG, Open Computers and Software Inventory Next Generation is an application designed to help administrator keep track of the computers configuration and installed softwares. Low network traffic HTTP communications between agents and server
 
  • Поддерживаются следующие OS: Microsoft Windows, Linux, *BSD, Sun Solaris, IBM AIX, HP-UX, MacOS X
  • Инвентаризация до 1 000 000 компютеров в день на сервере bi-Xeon 3 GHz and 4 GB RAM.
     
     
    Родственные темы
    Инвентаризация оборудования  
    GLPI
     
    Ссылки, статьи, обзоры
    GLPI - небольшой обзор
    Инвентаризация компьютерной и оргтехники
    Инвентаризация компьютерной и оргтехники. OCS Inventory
    Инвентаризация компьютеров в сети не вставая со стула или OCS Inventory + GLPI

  • Всего записей: 4893 | Зарегистр. 10-11-2004 | Отправлено: 18:21 09-04-2007 | Исправлено: slech, 16:57 23-04-2014
    polisoft

    Newbie
    Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
    SergAvs0001

    Цитата:
        COM SERVER => Sending HTTP Post request to URL <http://192.168.1.110:80/ocsinventory>  
        COM SERVER => HTTP Post response received <HTTP Status Code #404>  

     
    Судя по этим строчкам не установлен или не запущен коммуникационный сервер

    Всего записей: 16 | Зарегистр. 26-03-2006 | Отправлено: 12:54 24-05-2012
    yanix7777

    Newbie
    Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
    У меня следующая проблема:
     
    Добавлено:
    Подробнее...

    Всего записей: 1 | Зарегистр. 22-06-2012 | Отправлено: 11:26 13-07-2012
    storm2005

    Newbie
    Редактировать | Профиль | Сообщение | ICQ | Цитировать | Сообщить модератору
    HTTP status code 404 возникает в частности из-за неустановленного перлового модуля для apache.
     
    При заходе на страницу инвентаризации получаем:
    http://server/ocsinventory
     

    Код:
     
    Object not found!
     
    The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.
     
    If you think this is a server error, please contact the webmaster.
    Error 404
    192.168.56.102
    Fri 14 Sep 2012 12:09:22 PM EEST
    Apache/2.2.21 (Linux/SUSE)  
     

     
    А должны:
     

    Код:
     
    Bad request!
     
    Your browser (or proxy) sent a request that this server could not understand.
     
    If you think this is a server error, please contact the webmaster.
    Error 400
    192.168.56.101
    Fri 14 Sep 2012 03:01:15 PM EEST
    Apache/2.2.21 (Linux/SUSE)  
     

     
     
    Ошибка выше "Object not found!" говорит, что к апачу не подключен модуль mod_perl
     
     
     
    Поверить загруженные модули:

    Код:
     
    linux-ky2g:~ # apache2ctl -t -D DUMP_MODULES
    Loaded Modules:
     core_module (static)
     mpm_prefork_module (static)
     http_module (static)
     so_module (static)
     actions_module (shared)
     alias_module (shared)
     auth_basic_module (shared)
     authn_file_module (shared)
     authz_host_module (shared)
     authz_groupfile_module (shared)
     authz_default_module (shared)
     authz_user_module (shared)
     autoindex_module (shared)
     cgi_module (shared)
     dir_module (shared)
     env_module (shared)
     expires_module (shared)
     include_module (shared)
     log_config_module (shared)
     mime_module (shared)
     negotiation_module (shared)
     setenvif_module (shared)
     ssl_module (shared)
     userdir_module (shared)
     php5_module (shared)
     reqtimeout_module (shared)
     perl_module (shared) <<<============ required module
     

     
    Далее инструкция для OpenSUSE
     
    Для подключения перлового модуля в файле
    /etc/sysconfig/apache2
    Необходимо прописать соответствующий модуль (mod_perl)

    Код:
     
    APACHE_MODULES="actions alias auth_basic authn_file authz_host authz_groupfile authz_default authz_user autoindex cgi dir env expires include log_config mime negotiation setenvif ssl userdir php5 reqtimeout mod_perl"
     

     
    и перезапустить апач:

    Код:
     
    /etc/init.d/apache2 restart
     


    Всего записей: 15 | Зарегистр. 18-02-2006 | Отправлено: 19:57 19-09-2012
    qazerr

    Newbie
    Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору

    Цитата:
    Решаемо!  
     
    Беда в том, что разработчики OCSI, в PHP-коде, используют функцию htmlentities(), опуская необязательный параметр, который определяет кодировку входной строки.  
     
    Для того, что бы кириллица отображалась нормально, в папке с серверной частью ocs необходимо найти все файлы *.php содержащие строку htmlentities и после первой переменной добавить еще два параметра: ENT_COMPAT и 'UTF-8'.  
    Например:  
      htmlentities($value);  
    заменить на  
      htmlentities($value,ENT_COMPAT,'UTF-8');  
     
    PS: А вообще, в 2.0.3 эта проблема уже, вроде, решена.  

     
    на версии 2.0.2 отлично помогло, спасибо
     
    в версии 2.0.5 всё нормально отображается из коробки (долго они к этому шли, однако)

    Всего записей: 1 | Зарегистр. 24-02-2009 | Отправлено: 07:00 11-12-2012
    py6jlb125



    Newbie
    Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
    Всем мира и счастья!  
    Друзья подскажите, настроил в доменной сети связку OCS+GLPI(просто инвентаризация без трекера обращений пока), все замечательно работает и отлично собирает информацию, но так как в домене(в организации) иногда пользователи могут работать не за своим компом(что не приветствуется) то при отправке информации клиенты OCS отправляют разные имена пользователей(что очень неудобно). Внимание вопрос))) есть ли возможность следить за историей изменений в конфигурации в частности смену пользователей??? меняю помощь на пиво))))))))))))))))))))))))))))))))))

    Всего записей: 26 | Зарегистр. 22-09-2009 | Отправлено: 11:30 19-02-2013
    and1by

    Junior Member
    Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
    Всем привет. Настроил связку GLPI + OCSi на Centos 6.3. Версии последние. Никак не могу разобраться с развертыванием, никак не работает, пакет вроде бы собрался активировался, добавляется правило на инвенторную машину, версия агента 2.0.5.0. Вот читаю нет и вроде как для Развертывания нужен SSL, только вот вопрос, как генерировать сертификат или его можно откуда-то взять? Заранее спасибо!

    Всего записей: 76 | Зарегистр. 10-03-2009 | Отправлено: 15:50 07-03-2013
    Vanoc



    Newbie
    Редактировать | Профиль | Сообщение | ICQ | Цитировать | Сообщить модератору
    and1by
    на вендовые машины я ставил из виртуалки с вендой через OCS Inventory NG Agent Deployment Tool. По сути указываешь агента, сервер и ip диапазон установки.

    Всего записей: 7 | Зарегистр. 23-12-2004 | Отправлено: 16:33 07-03-2013
    and1by

    Junior Member
    Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
    Vanoc
    Агентов то я уже раскидал, пытаюсь сделать установку другого софта, только вот пакеты висят в WAITING NOTIFICATION и дальше движения нет, вот и не знаю в какую сторону рыть даже....

    Всего записей: 76 | Зарегистр. 10-03-2009 | Отправлено: 17:49 07-03-2013
    and1by

    Junior Member
    Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
    Развертывание победил, может кто ставил плагины и победил кодировку? Чтобы русские буквы бали русскими, а не крякозябрами?
     
    Я думал что проблема уже в момент добавления инфы в XML для отправки на сервак. Может кто подскажет, в какой кодировке надо туда подставлять данные, понятно, что конечный файл, который отправляется на сервак будет в кодировке UTF-8, но винда тогда получается соберает данные в cp2151. Но если перекодировать данные в скрипте плагина в UTF-8 все равно крякозябры, в cp1251 тоже самое. Мб у кого есть какие идеи?

    Всего записей: 76 | Зарегистр. 10-03-2009 | Отправлено: 16:23 27-03-2013
    ser9289

    Newbie
    Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
    коллеги!
    кто нидь в настоящее время пользуется OCSinventory???

    Всего записей: 7 | Зарегистр. 11-07-2013 | Отправлено: 14:23 24-01-2014
    konstruktor123

    Newbie
    Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
    Доброго времени суток!
    Подскажите пожалуйста, не встречал ли кто для ocs отчетов. Интересует именно карточка компьютера, ну или паспорт компьютера по другому. PS: В гугле искал.

    Всего записей: 4 | Зарегистр. 09-12-2009 | Отправлено: 20:49 27-01-2014
    tagilchanin

    Newbie
    Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
    Добрый день. Появилась проблема с ocsinventory. Развернул тестовый сервер. Все подключил, все нормально заработало. Настроил боевой сервер и столкнулся с тем, что не могу  получить конфигурацию windows рабочих станций. в логах windows машины вот это:
    ==============================================================================
    Starting OCS Inventory NG Agent on Monday, February 03, 2014 10:54:52.
    AGENT => Running OCS Inventory NG Agent Version 2.1.0.1
    AGENT => Using OCS Inventory NG FrameWork Version 2.1.0.1
    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) succesfully 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.0.1>
        AGENT => Sending getLabel request
        COM SERVER => Initializing cURL library for getFile
        COM SERVER => Using cURL without server authentication
        COM SERVER => Disabling cURL proxy support
        COM SERVER => Disabling cURL SSL server validation support
        COM SERVER => Sending fileGet request to URL <http://my_domain/ocsinventory/deploy/label>
        COM SERVER => fileGet response received <HTTP Status Code #400>
        COM SERVER => Cleaning cURL library
        AGENT => Failed to retrieve Label <HTTP Status Code #400>
    AGENT => Sending Prolog
        DID_CHECK => Read DeviceID <SB352-2014-02-03-10-23-58> and MACs <00:16:E6:5B:16:B6> 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://my_domain/ocsinventory>
        COM SERVER => HTTP Post response received <HTTP Status Code #200>
        COM SERVER => Cleaning cURL library
    AGENT => Prolog successfully sent
    SUPPORT => No support detected, Registration key : N/A
        AGENT => Prolog Frequency set to 24 hour(s)
    AGENT => Inventory required
    AGENT => Launching hardware and software checks
        INVENTORY => Loading Download history
        INVENTORY => Logged on user ID is <user>
        INVENTORY => Operating System is <Microsoft Windows 7 Enterprise 6.1.7601 Service Pack 1>, description <>
        INVENTORY => Operating System uses 64 bits memory address width
        INVENTORY => Computer domain or workgroup is <my_domain>
        WARNING *** INVENTORY => Failed to retrieve user domain
        INVENTORY => System Manufacturer <GBT___>, System Model <GBTUACPI>, System S/N <>, Bios Manufacturer <Award Software International, Inc.>, Bios Date <12/10/2006>, Bios Version <F7>
        INVENTORY => 1 processor(s) Intel(R) Core(TM)2 CPU          6600  @ 2.40GHz [2 core(s) x86_64] at 2400 MHz
        INVENTORY => OS Memory 2047 MB, OS Swap size 4093 MB
        INVENTORY => 4 memory slot(s) found
        INVENTORY => 3 input device(s) found
        INVENTORY => 10 system port(s) found
        INVENTORY => 4 system slot(s) found
        INVENTORY => 17 system controler(s) found
        INVENTORY => 2 storage peripheral(s) found
        INVENTORY => 2 sound device(s) found
        WARNING *** INVENTORY => Failed to retrieve modems
        INVENTORY => 1 network adapter(s) found
        INVENTORY => 3 system printer(s) found
        INVENTORY => 3 video adapter(s) found
        INVENTORY => 1 system monitor(s) found
        INVENTORY => Default IPv4 address is <172.30.0.170>
        INVENTORY => Registered company <>, registered owner <user>, Product ID <55041-00...>
        INVENTORY => Product key <MAK or V...>
        INVENTORY => 377 software found
        INVENTORY => Computer/VM UUID is <FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF>
        INVENTORY => Computer seems to be physical host
        INVENTORY => System Memory set to 2048 (instead of 2047)
        INVENTORY => Reading last inventory state
        WARNING *** INVENTORY => Failed to load/parse inventory state from file <C:\ProgramData\OCS Inventory NG\Agent\last_state>
        WARNING *** INVENTORY => Failed to load/parse plugin state from file <C:\ProgramData\OCS Inventory NG\Agent\last_state>
        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 => Hardware inventory state changed
        INVENTORY => Bios inventory state changed
        INVENTORY => Memory slots inventory state changed
        INVENTORY => System slots inventory state changed
        INVENTORY => System controllers inventory state changed
        INVENTORY => Monitors inventory state changed
        INVENTORY => System ports inventory state changed
        INVENTORY => Storage peripherals inventory state changed
        INVENTORY => Logical drives inventory state changed
        INVENTORY => Input peripherals inventory state changed
        INVENTORY => Network adapters inventory state changed
        INVENTORY => Printers inventory state changed
        INVENTORY => Sound adapters inventory state changed
        INVENTORY => Video adapters inventory state changed
        INVENTORY => Software inventory state changed
        INVENTORY => CPU inventory state changed
    INVENTORY => Inventory changed since last run
        INVENTORY => Generating XML document with Device properties
        INVENTORY => XML Update BIOS
        INVENTORY => XML Update 1 CPU(s)
        INVENTORY => XML Update 4 Memory Slot(s)
        INVENTORY => XML Update 3 Input Device(s)
        INVENTORY => XML Update 10 System Port(s)
        INVENTORY => XML Update 17 System Controler(s)
        INVENTORY => XML Update 4 System Slot(s)
        INVENTORY => XML Update 2 Sound Device(s)
        INVENTORY => XML Update 2 Storage Peripheral(s)
        INVENTORY => XML Update 2 Logical Drive(s)
        INVENTORY => XML Update 0 Modem(s)
        INVENTORY => XML Update 1 Network Adapter(s)
        INVENTORY => XML Update 3 Video Adapter(s)
        INVENTORY => XML Update 1 Monitor(s)
        INVENTORY => XML Update 3 Printer(s)
        INVENTORY => XML Update 378 Software
        INVENTORY => XML Update 0 Registry Value(s)
        INVENTORY => XML Update Administrative Information(s)
        INVENTORY => XML Update common Device properties
        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://my_domain/ocsinventory>
        COM SERVER => HTTP Post response received <HTTP Status Code #417>
        COM SERVER => Cleaning cURL library
    ERROR *** AGENT => Failed to send Inventory <HTTP Status Code #417>
    AGENT =>  Communication Server ask for Package Download
        DOWNLOAD => Package history file successfully cleaned for duplicate IDs
        DOWNLOAD => Download disabled by server
    AGENT => Unloading communication provider
    AGENT => Unloading plug-in(s)
    AGENT => Execution duration: 00:00:06.
     
    В event viewer:
    Service encounter error <OCS Inventory NG Agent encounter an error (exit code is 4 => Failed to talk with Communication Server)>.
     
     
    Добавлено:
    Всем спасибо. Разобрался сам
     
    Добавлено:
    еще один вопрос. В OCSInventory я вижу серийные номера устройств, как их можно автоматом перенести в glpi?

    Всего записей: 18 | Зарегистр. 06-01-2007 | Отправлено: 11:15 03-02-2014
    Master898

    Newbie
    Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
    Добрый день.... есть проблема с плагином MSOfficekey... а точнее с кодировкой.
    Сама база работает в UTF-8, а вот плагин судя по всему нет...
     
    http://pumpshooter.com/KorrsqPS
     
    http://pumpshooter.com/fKg1IJb2
     
    Устанавливал и настраивал согласно Wiki.
     
    Суть проблемы заключается в том, что из-за неверной кодировки ключи от 2010 офиса не импортируются в GLPI.
     
    XML генерит в UTF-8.

    Всего записей: 1 | Зарегистр. 06-02-2014 | Отправлено: 13:16 06-02-2014
    cleverboy

    Newbie
    Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
    Я так понимаю агент берет сведения об установленных программах из раздела uninstall. При этом большую часть этих программ составляют обновления windows, информация о которых мне в glpi совершенно не нужна. Можно ли каким то образом фильтровать сведения о каких программах должны импортироваться в GLPI а какие не должны?

    Всего записей: 18 | Зарегистр. 26-06-2006 | Отправлено: 11:15 05-06-2014
    ufypbr



    Junior Member
    Редактировать | Профиль | Сообщение | ICQ | Цитировать | Сообщить модератору
    Подскажите у меня проблема строи OCS Inventory 2  на сервере 2008r2 (64) комп с win7 (32) нормально монитор роится а комп сwin7 (64) после установки агента пишет что сервис не запущен.
     
     
     
     
     

    Всего записей: 185 | Зарегистр. 16-05-2006 | Отправлено: 23:14 29-06-2014
    Service2



    Newbie
    Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
    Всем привет! У кого нибудь получилось запустить новый OCSNG-Windows-Server V 2.1.1 в паре с OCSNG-Windows-Agent-2.1.1.1 ?
    2 мес назад, для пробы, устанавливал все работало, клиенты появлялись на сервере, возможно ставил версию 2.0.5 сказать точно немогу. Вот с новой версией вообще все запутано, лог Apche  ошибок не пишет, лог агента тоже все гуд. Но информация на сервере не появляется. Где рыть подскажите?
     
    лог apache с разными папками агента, пробовал server\ocsinventory server\ocsreports и просто server, агенты на localhost и на соседнем компе, версии агентов 2.0.2 и 2.1.1.1.

    Код:
     [Mon Aug 11 17:41:01 2014] [notice] Digest: generating secret for digest authentication ...
    [Mon Aug 11 17:41:01 2014] [notice] Digest: done
    [Mon Aug 11 17:41:01 2014] [notice] Apache/2.2.21 (Win32) mod_ssl/2.2.21 OpenSSL/1.0.0e PHP/5.3.8 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
    [Mon Aug 11 17:41:01 2014] [notice] Server built: Sep 10 2011 11:34:11
    [Mon Aug 11 17:41:01 2014] [notice] Parent: Created child process 152
    [Mon Aug 11 17:41:02 2014] [notice] Digest: generating secret for digest authentication ...
    [Mon Aug 11 17:41:02 2014] [notice] Digest: done
    [Mon Aug 11 17:41:02 2014] [notice] Child 152: Child process is running
    [Mon Aug 11 17:41:02 2014] [notice] Child 152: Acquired the start mutex.
    [Mon Aug 11 17:41:02 2014] [notice] Child 152: Starting 150 worker threads.
    [Mon Aug 11 17:41:02 2014] [notice] Child 152: Starting thread to listen on port 443.
    [Mon Aug 11 17:41:02 2014] [notice] Child 152: Starting thread to listen on port 443.
    [Mon Aug 11 17:41:02 2014] [notice] Child 152: Starting thread to listen on port 80.
    [Mon Aug 11 17:41:02 2014] [notice] Child 152: Starting thread to listen on port 80.
    Adding password for user admin
    [Mon Aug 11 17:44:27 2014] [error] [client 127.0.0.1] File does not exist: C:/xampp/htdocs/ocsinventory
    [Mon Aug 11 17:44:42 2014] [error] [client 127.0.0.1] File does not exist: C:/xampp/htdocs/ocsinventory
    [Mon Aug 11 17:46:19 2014] [error] [client 192.168.100.77] File does not exist: C:/xampp/htdocs/ocsinventory
    [Mon Aug 11 17:48:06 2014] [error] [client 192.168.100.77] File does not exist: C:/xampp/htdocs/ocsinventory
    [Mon Aug 11 17:48:13 2014] [error] [client 127.0.0.1] File does not exist: C:/xampp/htdocs/ocsinventory
    [Mon Aug 11 17:49:01 2014] [error] [client 127.0.0.1] File does not exist: C:/xampp/htdocs/ocsinventory
    [Mon Aug 11 17:49:15 2014] [error] [client 192.168.100.77] File does not exist: C:/xampp/htdocs/ocsinventory
    [Mon Aug 11 17:50:53 2014] [error] [client 127.0.0.1] user  not found: /xampp/
    [Mon Aug 11 17:51:09 2014] [error] [client 127.0.0.1] user  not found: /xampp/
    [Mon Aug 11 17:51:55 2014] [error] [client 192.168.100.77] File does not exist: C:/xampp/htdocs/ocsinventory
    [Mon Aug 11 17:57:33 2014] [error] [client 192.168.100.77] File does not exist: C:/xampp/htdocs/ocsreports/deploy
    [Mon Aug 11 17:57:38 2014] [error] [client 192.168.100.77] File does not exist: C:/xampp/htdocs/ocsreports/deploy
    [Mon Aug 11 18:00:12 2014] [error] [client 192.168.100.77] File does not exist: C:/xampp/htdocs/ocsreports/deploy
    [Mon Aug 11 18:00:21 2014] [error] [client 192.168.100.77] File does not exist: C:/xampp/htdocs/ocsreports/deploy
    [Mon Aug 11 18:03:46 2014] [error] [client 192.168.100.77] File does not exist: C:/xampp/htdocs/ocsreports/deploy
    [Mon Aug 11 18:05:25 2014] [error] [client 192.168.100.77] File does not exist: C:/xampp/htdocs/ocsinventory
    [Mon Aug 11 18:05:26 2014] [error] [client 192.168.100.77] File does not exist: C:/xampp/htdocs/ocsinventory
    [Mon Aug 11 18:06:06 2014] [error] [client 192.168.100.77] File does not exist: C:/xampp/htdocs/ocsinventory
    [Mon Aug 11 18:06:06 2014] [error] [client 192.168.100.77] File does not exist: C:/xampp/htdocs/ocsinventory
    [Mon Aug 11 18:07:56 2014] [error] [client 192.168.100.77] File does not exist: C:/xampp/htdocs/ocsinventory
    [Mon Aug 11 18:07:56 2014] [error] [client 192.168.100.77] File does not exist: C:/xampp/htdocs/ocsinventory
    [Mon Aug 11 18:15:54 2014] [error] [client 192.168.100.77] File does not exist: C:/xampp/htdocs/ocsinventory
    [Mon Aug 11 18:15:55 2014] [error] [client 192.168.100.77] File does not exist: C:/xampp/htdocs/ocsinventory
    [Mon Aug 11 18:31:54 2014] [error] [client 192.168.100.77] File does not exist: C:/xampp/htdocs/ocsinventory
    [Mon Aug 11 18:31:54 2014] [error] [client 192.168.100.77] File does not exist: C:/xampp/htdocs/ocsinventory
    [Mon Aug 11 18:31:54 2014] [error] [client 127.0.0.1] File does not exist: C:/xampp/htdocs/ocsinventory
    [Mon Aug 11 18:33:02 2014] [error] [client 127.0.0.1] user  not found: /xampp/
    [Mon Aug 11 18:33:19 2014] [error] [client 127.0.0.1] user  not found: /xampp/
    [Mon Aug 11 18:33:33 2014] [error] [client 127.0.0.1] user  not found: /xampp/

     
    лог агента  

    Код:
    Starting OCS Inventory NG Agent on Monday, August 11, 2014 18:33:19.
    AGENT => Running OCS Inventory NG Agent Version 2.0.2.0
    AGENT => Using OCS Inventory NG FrameWork Version 2020
    AGENT => Loading plug-in(s)
    AGENT => Using network connection with Communication Server
    AGENT => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.0.2.0>
    AGENT => Sending Prolog
    ERROR *** AGENT => Failed to send Prolog <HTTP Status Code #401>
    AGENT => Unloading communication provider
    AGENT => Unloading plug-in(s)
    AGENT => Execution duration: 00:00:00.
     
    ==============================================================================
    Starting OCS Inventory NG Agent on Monday, August 11, 2014 18:33:33.
    AGENT => Running OCS Inventory NG Agent Version 2.0.2.0
    AGENT => Using OCS Inventory NG FrameWork Version 2020
    AGENT => Loading plug-in(s)
    AGENT => Using network connection with Communication Server
    AGENT => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.0.2.0>
    AGENT => Sending Prolog
    ERROR *** AGENT => Failed to send Prolog <HTTP Status Code #401>
    AGENT => Unloading communication provider
    AGENT => Unloading plug-in(s)
    AGENT => Execution duration: 00:00:00.
     
     
    ==============================================================================
    Starting OCS Inventory NG Agent on Monday, August 11, 2014 18:06:06.
    AGENT => Running OCS Inventory NG Agent Version 2.1.1.1
    AGENT => Using OCS Inventory NG FrameWork Version 2.1.1.1
    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) succesfully 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.1>
     AGENT => Sending getLabel request
     COM SERVER => Initializing cURL library for getFile
     COM SERVER => Using cURL without server authentication
     COM SERVER => Disabling cURL proxy support
     COM SERVER => Enabling cURL SSL server validation support using CA Bundle <C:\ProgramData\OCS Inventory NG\Agent\cacert.pem>
     COM SERVER => Sending fileGet request to URL <http://192.168.100.86/ocsinventory/deploy/label>
     COM SERVER => fileGet response received <HTTP Status Code #404>
     COM SERVER => Cleaning cURL library
     AGENT => Failed to retrieve Label <HTTP Status Code #404>
    AGENT => Sending Prolog
     DID_CHECK => Read DeviceID <CONF-003-2014-08-11-17-57-33> and MACs <20:CF:30:E9:46:3B> 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 => Enabling cURL SSL server validation support using CA Bundle <C:\ProgramData\OCS Inventory NG\Agent\cacert.pem>
     COM SERVER => Sending HTTP Post request to URL <http://192.168.100.86/ocsinventory>
     COM SERVER => HTTP Post response received <HTTP Status Code #404>
     COM SERVER => Cleaning cURL library
    ERROR *** AGENT => Failed to send Prolog <HTTP Status Code #404>
    AGENT => Unloading communication provider
    AGENT => Unloading plug-in(s)
    AGENT => Execution duration: 00:00:00.
     
    ==============================================================================
    Starting OCS Inventory NG Agent on Monday, August 11, 2014 18:07:55.
    AGENT => Running OCS Inventory NG Agent Version 2.1.1.1
    AGENT => Using OCS Inventory NG FrameWork Version 2.1.1.1
    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) succesfully 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.1>
     AGENT => Sending getLabel request
     COM SERVER => Initializing cURL library for getFile
     COM SERVER => Using cURL without server authentication
     COM SERVER => Disabling cURL proxy support
     COM SERVER => Enabling cURL SSL server validation support using CA Bundle <C:\ProgramData\OCS Inventory NG\Agent\cacert.pem>
     COM SERVER => Sending fileGet request to URL <http://192.168.100.86/ocsinventory/deploy/label>
     COM SERVER => fileGet response received <HTTP Status Code #404>
     COM SERVER => Cleaning cURL library
     AGENT => Failed to retrieve Label <HTTP Status Code #404>
    AGENT => Sending Prolog
     DID_CHECK => Read DeviceID <CONF-003-2014-08-11-17-57-33> and MACs <20:CF:30:E9:46:3B> 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 => Enabling cURL SSL server validation support using CA Bundle <C:\ProgramData\OCS Inventory NG\Agent\cacert.pem>
     COM SERVER => Sending HTTP Post request to URL <http://192.168.100.86/ocsinventory>
     COM SERVER => HTTP Post response received <HTTP Status Code #404>
     COM SERVER => Cleaning cURL library
    ERROR *** AGENT => Failed to send Prolog <HTTP Status Code #404>
    AGENT => Unloading communication provider
    AGENT => Unloading plug-in(s)
    AGENT => Execution duration: 00:00:01.
     

     
    З.Ы. Win 8.1 x64 на сервере и на агенте, фаервол на сервере отключен.

    Всего записей: 12 | Зарегистр. 26-08-2008 | Отправлено: 20:09 08-08-2014 | Исправлено: Service2, 19:58 11-08-2014
    kometacoto

    Newbie
    Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
    ocs inventory не видет агентов. При установке агента задаю сервер http://ocsserver/ocsinventory . Через пару часов зашел http://ocsserver/ocsreports не увидел ни одного ПК. Может быть подскажете куда копать?

    Всего записей: 13 | Зарегистр. 09-12-2010 | Отправлено: 09:59 05-09-2014
    tashkent



    Junior Member
    Редактировать | Профиль | Сообщение | ICQ | Цитировать | Сообщить модератору
    Дано:  
    OCS Inventory Ver. 2.1.2 (Ubuntu 14.04 x64)
    OCS Inventory агент v.2.1.1 (Win)
     
    === ocsinventory.ini ===
    [OCS Inventory Agent]
    ComProvider=ComHTTP.dll
    Debug=1
    Local=
    NoSoftware=0
    HKCU=0
    NoTAG=0
    IpDisc=
    [HTTP]
    Server=http://192.168.10.10/ocsinventory
    SSL=0
    CaBundle=cacert.pem
    AuthRequired=0
    User=
    Pwd=
    ProxyType=0
    Proxy=
    ProxyPort=0
    ProxyAuthRequired=0
    ProxyUser=
    ProxyPwd=
    [OCS Inventory Service]
    TTO_WAIT=180
    PROLOG_FREQ=10
    === ocsinventory.ini ===
     
    ===OCSInventory.log===
    AGENT => Running OCS Inventory NG Agent Version 2.1.1.1
    AGENT => Using OCS Inventory NG FrameWork Version 2.1.1.1
    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) succesfully 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.1>
    AGENT => Sending Prolog
     
        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://192.168.10.10/ocsinventory>
        COM SERVER => HTTP Post response received <HTTP Status Code #400>
        COM SERVER => Cleaning cURL library
    ERROR *** AGENT => Failed to send Prolog <HTTP Status Code #400>
    AGENT => Unloading communication provider
    AGENT => Unloading plug-in(s)
    AGENT => Execution duration: 00:00:00.
     
    === OCSInventory.log ===
     
    === activity.log ===
    OCS-NG_WINDOWS_AGENT_v2.1.1.1;end;bad_request
    === activity.log ===
     
     
    Подразумеваю косяк в версии perl, т.к. (предположительно) перестало работать после обновления файлов сервака.  
     
    Пробовал использовать локально созданный инвентаризационный файл .ocs. Запускаю  ocsinventory-injector.pl - без каких-либо сообщений быстро завершает работу. Где смотреть логи работы этого скрипта? Ранее этим скриптом нормально отрабатывались файлики.  
     
    Добавлено:
    Решил свою проблему. Дело не в версиях ПО.
    шаловливые ручки мои
    OCS Inventory был настроен на работу по http, а у меня в корне сервака лежал .htaccess с редиректом на https. Закомментировал нижеуказанные строки:
     
    #RewriteEngine On
    #RewriteCond %{HTTPS} off
    #RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
     
     
    и агенты стали пересылать данные нормально. Блин, день потерял на разборки

    Всего записей: 146 | Зарегистр. 23-08-2004 | Отправлено: 13:23 19-09-2014 | Исправлено: tashkent, 14:10 19-09-2014
    Stmf



    Newbie
    Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
    Многим будет интересно. В версии 2.1.2 для экспорта в csv с нормальной кодировкой необходимо подправить 2 файла:
     
    1) /usr/share/ocsinventory-reports/ocsreports/plugins/main_sections/ms_export/ms_csv.php
     
    в конце файла находим
    Код:
    echo $toBeWritten,

    меняем на
    Код:
    echo iconv('UTF-8', 'windows-1251', $toBeWritten),

     
    2) /usr/share/ocsinventory-reports/ocsreports/plugins/main_sections/ms_export/ms_soft_csv.php
    делаем тоже самое

    Всего записей: 1 | Зарегистр. 19-08-2009 | Отправлено: 15:25 20-09-2014 | Исправлено: Stmf, 15:26 20-09-2014
    unklav

    Newbie
    Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
    Здравствуйте!
    Сталкнулся с проблемой администрирования в системе.
    Задача: нужно завести несколько пользователей, чтобы они видели только свои компьютеры и прочую переферию.
    В данный момент любой пользователь видет все компьютеры.

    Всего записей: 1 | Зарегистр. 06-01-2015 | Отправлено: 11:28 06-01-2015
    Открыть новую тему     Написать ответ в эту тему

    Страницы: 1 2 3 4 5 6 7 8 9 10 11 12

    Компьютерный форум Ru.Board » Компьютеры » В помощь системному администратору » OCS Inventory


    Реклама на форуме Ru.Board.

    Powered by Ikonboard "v2.1.7b" © 2000 Ikonboard.com
    Modified by Ru.B0ard
    © Ru.B0ard 2000-2024

    BitCoin: 1NGG1chHtUvrtEqjeerQCKDMUi6S6CG4iC

    Рейтинг.ru