Configuration OCS : Debian 8.9 / OcsInventory version 2.3
J'ai un problème je n'arrive pas à remonter mon matériel (switch, imprimante...) via le SNMP. Il m'indique 0 périphériques SNMP remontés. IpDiscover est bien activé sur certain poste.
I have a problem I can not get back my hardware (switch, printer ...). It tells me 0 SNMP devices reassembled. iP DISCOVER it's ok.
LOG server :
/var/log/ocs_agent.log
[Wed Apr 10 12:00:11 2019][error] Cannot establish communication : 400 Bad Request
[Wed Apr 10 13:15:01 2019][error] Cannot establish communication : 400 Bad Request
[Wed Apr 10 13:15:01 2019][info] No previous PROLOG_FREQ found - using fallback delay(3600 seconds)
ocsinventory-agent --debug --logfile=/tmp/agent.log
[Thu Apr 11 11:47:32 2019][debug] - LWP::Protocol::https loaded
[Thu Apr 11 11:47:32 2019][debug] Compress::Zlib is available.
[Thu Apr 11 11:47:32 2019][debug] Calling handlers : `prolog_writer'
[Thu Apr 11 11:47:32 2019][debug] sending XML
[Thu Apr 11 11:47:32 2019][debug] sending: <?xml version="1.0" encoding="UTF-8"?>
<REQUEST>
<DEVICEID>OCSSERVER2019-01-02-21-21-20</DEVICEID>
<QUERY>PROLOG</QUERY>
</REQUEST>
[Thu Apr 11 11:47:32 2019][error] Cannot establish communication : 400 Bad Request
LOG CLIENT :
C:\ProgramData\OCS Inventory NG\Agent\Ocsinventory.log
Starting OCS Inventory NG Agent on Thursday, April 11, 2019 01:52:11.
AGENT => Running OCS Inventory NG Agent Version 2.3.0.0
AGENT => Using OCS Inventory NG FrameWork Version 2.3.0.0
AGENT => Loading plug-in(s)
AGENT => Using network connection with Communication Server
AGENT => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.3.0.0>
AGENT => Sending Prolog
ERROR *** AGENT => Failed to send Prolog <HTTP Status Code #403>
AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:00:00.
Fichier ocsinventory.ini
[OCS Inventory Agent]
ComProvider=ComHTTP.dll
Debug=0
Local=
NoSoftware=0
HKCU=0
NoTAG=0
IpDisc=
[HTTP]
Server=http://10.0.0.1/ocsreports
SSL=1
CaBundle=ca.pem
AuthRequired=0
User=
Pwd=
ProxyType=0
Proxy=
ProxyPort=0
ProxyAuthRequired=0
ProxyUser=
ProxyPwd=
[OCS Inventory Service]
PROLOG_FREQ=168
INVENTORY_ON_STARTUP=0
OLD_PROLOG_FREQ=168
TTO_WAIT=13380
Je ne sais pas si cela peut aider mais sur la configuration PC j'ai SNMP_WITCH j'ai un point rouge et c'est noté 1 inactif
Merci pour votre aide.