You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2022-01-05 12:17:28

fledorze
Member
Registered: 2007-07-03
Posts: 70

[RESOLU] - Netdiscovery stalled with high CPU usage

GLPI 9.5.6 / Fusion Inventory 9.5+3.0
My netdiscovery tasks never work. They stay on going for a very long time in Fusion GUI.
In agent log, I says :
[Wed Jan  5  11:08:00 2022][debug] scanning block <startIP>-<endIP>
and nothing else.
The agent consumes a lot of CPU  (50% to 100%) for a long time, even for a small IP range (20 IPs) without doing apparently anything.
SNMP net inventory tasks are working fine
Any idea ?

Last edited by fledorze (2022-01-10 17:25:12)


GLPI 10.0.6 with GLPI Inventory 1.1.0 on Debian bullseye

Offline

#2 2022-01-06 08:39:06

Julien.Garrido
Member
Registered: 2019-12-23
Posts: 97

Re: [RESOLU] - Netdiscovery stalled with high CPU usage

Can you change the debug parameter on your agent and try again? You'll probably be able to have more intel.

Offline

#3 2022-01-06 11:26:26

fledorze
Member
Registered: 2007-07-03
Posts: 70

Re: [RESOLU] - Netdiscovery stalled with high CPU usage

debug=2 (3 is for debug of SSL  which is not activated yet) in agent.cfg gave extra info below.
But nothing which could explain the behavior

[Thu Jan  6 10:20:02 2022][info] running task NetDiscovery
[Thu Jan  6 10:20:02 2022][debug] [http client] Using Compress::Zlib for compression
[Thu Jan  6 10:20:02 2022][debug2] [http client] sending message:
<?xml version="1.0" encoding="UTF-8" ?>
<REQUEST>
  <CONTENT>
    <AGENT>
      <AGENTVERSION>2.4.2-1</AGENTVERSION>
      <START>1</START>
    </AGENT>
    <MODULEVERSION>2.7</MODULEVERSION>
    <PROCESSNUMBER>20241</PROCESSNUMBER>
  </CONTENT>
  <DEVICEID>cmdb-2021-11-09-20-41-03</DEVICEID>
  <QUERY>NETDISCOVERY</QUERY>
</REQUEST>
[Thu Jan  6 10:20:02 2022][debug2] format: Zlib
[Thu Jan  6 10:20:02 2022][debug2] [http client] receiving message:
<?xml version="1.0" encoding="UTF-8"?>
<REPLY>
</REPLY>
[Thu Jan  6 10:20:02 2022][debug] scanning block <startIP>-<endIP>


GLPI 10.0.6 with GLPI Inventory 1.1.0 on Debian bullseye

Offline

#4 2022-01-10 17:24:24

fledorze
Member
Registered: 2007-07-03
Posts: 70

Re: [RESOLU] - Netdiscovery stalled with high CPU usage

Bon. Pb réglé. Il y avait une erreur dans la plage IP qui était énorme du coup.


GLPI 10.0.6 with GLPI Inventory 1.1.0 on Debian bullseye

Offline

#5 2022-01-11 23:31:05

Julien.Garrido
Member
Registered: 2019-12-23
Posts: 97

Re: [RESOLU] - Netdiscovery stalled with high CPU usage

Just in case some english reader come here : Avoid using large IP adresses with fusion agent. Multiple /24 is fine, more can consume a lot of CPU.

Offline

Board footer

Powered by FluxBB