Closed vollkommenIrrelevant closed 1 year ago
Hi @vollkommenIrrelevant firstly, can you tell which agent you're using and in which version ? If you're using glpi-agent, please provide the output of:
glpi-netdiscovery --host 10.5.135.1 --debug --debug
If you're not using the default credentials, you should add a --credentials
option, see glpi-netdiscovery man page.
C:\Program Files\GLPI-Agent>glpi-netdiscovery --host 10.5.135.1 --debug --debug
[debug] Logger backend Stderr initialized
[debug] GLPI Agent (1.5-git7e89bf8e)
[debug] initializing job 1
[debug] initializing block 10.5.135.1-10.5.135.1
[debug] Current run expiration timeout: soon
[debug] creating 1 worker threads
[debug] [thread 1] creation
[debug] [thread 1] #1, scanning 10.5.135.1
[debug] [thread 1] #1, full match for sysobjectID .1.3.6.1.4.1.11.2.3.7.11.104 in database
[debug2] [thread 1] #1, C:/Program Files/GLPI-Agent/etc/toolbox.yaml configuration not found
[debug] [thread 1] #1, sysobjectID match: hp-etherswitch mib support enabled
[debug] [thread 1] #1, - scanning 10.5.135.1 with SNMP, credentials 1: success
[debug] [thread 1] #1, - scanning 10.5.135.1 with netbios: no result
[debug] [thread 1] #1, - scanning 10.5.135.1 with echo ping: success
[debug2] [thread 1] #1, executing arp -a 10.5.135.1
[debug] [thread 1] #1, - scanning 10.5.135.1 in arp table: no result
<?xml version="1.0" encoding="UTF-8" ?>
<REQUEST>
<CONTENT>
<DEVICE>
<AUTHPORT /> <AUTHPROTOCOL /> <AUTHSNMP>1</AUTHSNMP>
<CONTACT>Vincent Uhres</CONTACT>
<DESCRIPTION> HP ProCurve 1810G - 24 GE, XYZ</DESCRIPTION>
<DNSHOSTNAME>10.5.135.1</DNSHOSTNAME>
<FIRMWARE>CFE-X.X</FIRMWARE>
<IP>10.5.135.1</IP>
<IPS>
<IP>10.5.135.1</IP>
</IPS>
<LOCATION>XYZ, IT-</LOCATION>
<MAC>c0:91:34:XX:XX:XX</MAC>
<MANUFACTURER>Hewlett-Packard</MANUFACTURER>
<MODEL>ProCurve 1810G-24 (J9450A)</MODEL>
<SERIAL>CNXXXXXXX</SERIAL>
<SNMPHOSTNAME>XYZ - Uplink</SNMPHOSTNAME>
<TYPE>NETWORKING</TYPE>
<UPTIME>20 days, 02:23:59.00</UPTIME>
</DEVICE>
<MODULEVERSION>5.1</MODULEVERSION>
<PROCESSNUMBER>1</PROCESSNUMBER>
</CONTENT>
<DEVICEID>foo</DEVICEID>
<QUERY>NETDISCOVERY</QUERY>
</REQUEST>
[debug2] [thread 1] processed 1 scans
[debug] [thread 1] termination
[debug] All netdiscovery threads terminated
This seems okay to me. Can you now share the output of:
glpi-netinventory --host 10.5.135.1 --debug --debug
This seems okay to me. Can you now share the output of:
glpi-netinventory --host 10.5.135.1 --debug --debug
You've got a mail.
This seems okay to me. Can you now share the output of:
glpi-netinventory --host 10.5.135.1 --debug --debug
You've got a mail.
Ps. - one Idea: Maybe the glpi is having a problem with updating the xml-file via snmp. I think it make sense to upgrade to 10.0.6 and check again?
Tested your XML and seems fine on my GLPI 10.0.6 test instance. Few fixes in GLPI 10.0.6 can still have fix your issue, so yes, upgrade your GLPI and test again. Just a point, I'm not sure to understand what you think is wrong. So if GLPI 10.0.6 doesn't fixe your problem, can you clarify the problem ?
@g-bougard
I Updated and found out that one inventory task did stuck in mode "running" with wireing issues. After
Use glpi; DELETE FROM glpi_networkports_networkports;
The task runs again. Interesting point is that the inventory plugin did show succes on page "Monitoring / Logs" and on Page Status=>Network inventory there was only the for some days running task visible.
Any Idea how I can get rid of all this old jobs?
forums is a better place to ask for support, this is not related at all with initial issue
@trasher I think you didn't understand this at all. I therefore recommend appropriate restraint.
The comment associated to the issue reopening does not seems related to initial issue. If I did not understood, please be more precise, and feel free to reopen.
Code of Conduct
Is there an existing issue for this?
Version
10.0.5
Bug description
We changed the IP-Adress of the Management Interface of one of our switches from 10.X.X.X to 10.5.135.1. I added 10.5.135.1 - 10.5.135.254 The snmp inventory didn't recognize this. I checked the xml-file which ist provided by glpi = there is no entry for 10.5.135.1.
I made a snmp walk and found the new Adress there. The switch is a HP HP ProCurve 1810G.
Relevant log output
Page URL
$GLPI/front/networkequipment.form.php
Steps To reproduce
Your GLPI setup information
Informationen über das System, die Installation und die Konfiguration
Server
GLPI constants
Libraries
LDAP directories
SQL replicas
Notifications
Plugins list
Anything else?
No response