Quantcast
Channel: Ocsinventory Q&A - Recent questions and answers in OCS Inventory NG agent
Viewing all articles
Browse latest Browse all 4573

SNMP-SCAN-is-not-working-in-OCS-Inventory-2.8

$
0
0

OCS Agent Log

ocsinventory-agent --debug --nosoftware

[Thu Nov  5 16:21:55 2020][debug] Ocsinventory unified agent for UNIX, Linux and MacOSX 2.8.0

[Thu Nov  5 16:21:55 2020][debug] Log system initialised (File)

[Thu Nov  5 16:21:55 2020][debug] --scan-homedirs missing. Don't scan user directories

[Thu Nov  5 16:21:55 2020][debug] Accountinfo file: /var/lib/ocsinventory-agent/https:__cockpit-w23.c4sam.com_ocsinventory/ocsinv.adm

[Thu Nov  5 16:21:55 2020][debug] OCS Agent initialised

[Thu Nov  5 16:21:55 2020][debug] Turns hooks on for /etc/ocsinventory/modules.conf

[Thu Nov  5 16:21:55 2020][debug] Ocsinventory unified agent for UNIX, Linux and MacOSX 2.8.0

[Thu Nov  5 16:21:55 2020][debug] Log system initialised (File)

[Thu Nov  5 16:21:55 2020][debug] Ocsinventory unified agent for UNIX, Linux and MacOSX 2.8.0

[Thu Nov  5 16:21:55 2020][debug] Log system initialised (File)

[Thu Nov  5 16:21:55 2020][debug] Calling handlers : `start_handler'

[Thu Nov  5 16:21:55 2020][debug] [download] Calling download_start_handler

[Thu Nov  5 16:21:55 2020][debug]  - LWP loaded

[Thu Nov  5 16:21:55 2020][debug]  - LWP::Protocol::https loaded

[Thu Nov  5 16:21:55 2020][debug] [snmp] Calling snmp_start_handler

[Thu Nov  5 16:21:55 2020][debug]  - Net::SNMP loaded

[Thu Nov  5 16:21:55 2020][debug] Compress::Zlib is available.

[Thu Nov  5 16:21:55 2020][debug] Calling handlers : `prolog_writer'

[Thu Nov  5 16:21:55 2020][debug] sending XML

[Thu Nov  5 16:21:55 2020][debug] sending: <?xml version="1.0" encoding="UTF-8"?>

<REQUEST>

  <DEVICEID>cockpit-w23-2020-11-05-15-02-33</DEVICEID>

  <QUERY>PROLOG</QUERY>

</REQUEST>

[Thu Nov  5 16:21:55 2020][debug] =BEGIN=SERVER RET======

[Thu Nov  5 16:21:55 2020][debug] $VAR1 = '<?xml version=\'1.0\' encoding=\'UTF-8\'?>

<REPLY>

  <OPTION>

    <NAME>IPDISCOVER</NAME>

    <PARAM IPDISC_LAT="100">192.168.11.0</PARAM>

  </OPTION>

  <OPTION>

    <NAME>DOWNLOAD</NAME>

    <PARAM FRAG_LATENCY="10" PERIOD_LATENCY="1" ON="1" TYPE="CONF" CYCLE_LATENCY="60" TIMEOUT="30" PERIOD_LENGTH="10" EXECUTION_TIMEOUT="120" />

  </OPTION>

  <RESPONSE>SEND</RESPONSE>

  <INVENTORY_ON_STARTUP>1</INVENTORY_ON_STARTUP>

  <PROLOG_FREQ>24</PROLOG_FREQ>

</REPLY>

';

[Thu Nov  5 16:21:55 2020][debug] =END=SERVER RET======

[Thu Nov  5 16:21:55 2020][debug] PROLOG_FREQ has not changed since last process

[Thu Nov  5 16:21:55 2020][debug] Calling handlers : `prolog_reader'

[Thu Nov  5 16:21:55 2020][debug] [download] Calling download_prolog_reader

[Thu Nov  5 16:21:55 2020][debug] [download] <?xml version='1.0' encoding='UTF-8'?>

<REPLY>

  <OPTION>

    <NAME>IPDISCOVER</NAME>

    <PARAM IPDISC_LAT="100">192.168.11.0</PARAM>

  </OPTION>

  <OPTION>

    <NAME>DOWNLOAD</NAME>

    <PARAM FRAG_LATENCY="10" PERIOD_LATENCY="1" ON="1" TYPE="CONF" CYCLE_LATENCY="60" TIMEOUT="30" PERIOD_LENGTH="10" EXECUTION_TIMEOUT="120" />

  </OPTION>

  <RESPONSE>SEND</RESPONSE>

  <INVENTORY_ON_STARTUP>1</INVENTORY_ON_STARTUP>

  <PROLOG_FREQ>24</PROLOG_FREQ>

</REPLY>

[Thu Nov  5 16:21:55 2020][debug] [download] Writing config file.

[Thu Nov  5 16:21:55 2020][debug] [snmp] Calling snmp_prolog_reader

[Thu Nov  5 16:21:55 2020][debug]  - ipdiscover found

[Thu Nov  5 16:21:55 2020][debug]  - nmap found

[Thu Nov  5 16:21:55 2020][debug] Ocsinventory::Agent::Backend::IpDiscover::Nmap ignored

[Thu Nov  5 16:21:55 2020][debug] Ocsinventory::Agent::Backend::OS::AIX ignored

[Thu Nov  5 16:21:55 2020][debug] Ocsinventory::Agent::Backend::OS::BSD ignored

[Thu Nov  5 16:21:55 2020][debug]  - dmidecode found

[Thu Nov  5 16:21:55 2020][debug]  - dmidecode found

[Thu Nov  5 16:21:55 2020][debug]  - Sys::Hostname loaded

[Thu Nov  5 16:21:55 2020][debug]  - ipmitool found

[Thu Nov  5 16:21:55 2020][debug]  - Net::IP qw(:PROC) loaded

[Thu Nov  5 16:21:55 2020][debug] Ocsinventory::Agent::Backend::OS::Generic::Ipmi ignored

.....................

[Thu Nov  5 16:22:51 2020][debug] =BEGIN=SERVER RET======

[Thu Nov  5 16:22:51 2020][debug] $VAR1 = '<?xml version=\'1.0\' encoding=\'UTF-8\'?>

<REPLY>

  <RESPONSE>NO_ACCOUNT_UPDATE</RESPONSE>

</REPLY>

';

[Thu Nov  5 16:22:51 2020][debug] =END=SERVER RET======

[Thu Nov  5 16:22:51 2020][debug] Calling handlers : `end_handler'

[Thu Nov  5 16:22:51 2020][debug] [download] Calling download_end_handler

[Thu Nov  5 16:22:51 2020][debug] [snmp] Calling snmp_end_handler

[Thu Nov  5 16:22:51 2020][info] [download] Beginning work. I am 30091.

[Thu Nov  5 16:22:51 2020][info] [download] No more package to download.

[Thu Nov  5 16:22:51 2020][debug] [download] End of work...

OCS Invention Agent (Debian 10.6)

ocsinventory-agent --version

Ocsinventory unified agent for UNIX, Linux and MacOSX (2.8.0)

ocsinventory-agent.cfg

server=https://xxx.c4sam.com/ocsinventory

ca=/opt/c4sam/certs/xxx.c4sam.com.crt

basevardir=/var/lib/ocsinventory-agent

ssl=1

debug=1

tag=SERVER

logfile=/var/log/ocsinventory-agent.log

OCS Inventory Server (Docker Container)

  • PHP Version :
  • Web Server :
  • Database Server :
  • Version OCSReports:
  • 7.3.24
  • Apache/2.4.6 (CentOS) PHP/7.3.24 mod_perl/2.0.11 Perl/v5.16.3
  • MySQL Community Server (GPL) version 5.7.28
  • 2.8

Viewing all articles
Browse latest Browse all 4573

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>