Comments (10)
I've tried to reproduce on my side, but if I could have strange behavior; I did not see the exact one you talk about here. But I've built myself XML files, and maybe did I create use cases that does not exists.
Please provide inventory files we can use to reproduce on a fresh GLPI instance and inspect on our side. It can be very light versions, no need for 200+ ports nor all computer hardware/software list to get that specific issue reproduced.
from glpi-inventory-plugin.
Hello, thank you for the answer. please let me know what address I should send the inventory files to
from glpi-inventory-plugin.
There is no private way to send data for community support. You can post them here, just ensure to remove sensitive data before (as said, most of the file content won't be required to reproduce the issue you describe).
from glpi-inventory-plugin.
The agent name is created the first time it is run
a GLPI-Agent.dump
file is created and reused each time it is run
The only way to update the agent name is to reinstall it or delete this file
from glpi-inventory-plugin.
The agent name is created the first time it is run
a
GLPI-Agent.dump
file is created and reused each time it is runThe only way to update the agent name is to reinstall it or delete this file
Wrong issue ;)
from glpi-inventory-plugin.
Hello,
I prepared files that I uploaded to the new version of glpi 11 nightly build main-23caf39.tar.gz.
The effect is the same as on my production version.
Below I am sending you a detailed step-by-step scenario
Step 1
On a new glpi installation, we add the computer from the file: a17129_clear_new2.json
a17129_clear_new2.json
I imported from the Administration->Inventory->Import from file->Upload tab
After importing, we have added a computer named a17129
Step2.
Then we import switch_PD1-STACK from the file: switch_PD1-STACK.xml
switch_PD1-STACK.zip
Administration->Inventory->Import from file->Upload
After importing, a switch called PD1-STACK will appear, which has 102 ports. The a17129 computer will be connected to port 0/0/16
When we go to the Computers->Networks ports tab, we see that the computer is Connected to PD1-STACK
Step 3
Then we import switch_PD1-POE from the file: switch_PD1-POE.xml
switch_PD1-POE.zip
Administration->Inventory->Import from file->Upload
After importing, there will be a switch called PD1-POE which has 27 ports. On port XGigabitEthernet2/0/1
When we go to the Computers->Network ports tab, we see that the computer has been connected to the new Hub
from glpi-inventory-plugin.
OK, I can reproduce with provided files; thank you. I'll take a closer look.
from glpi-inventory-plugin.
I've inspected provided files, and GLPI actual behaviour seems correct. Computer's MAC address is present on both switches XML. Therefore, when you import the first switch, a link is done, but it's replaced when importing the second one; and that seems logic.
I have no idea how switches ports are retrieved; but provided data tend to demonstrate computer is plugged on both switches with same mac, I don't think this is possible.
from glpi-inventory-plugin.
Have I understood correctly that there is not much that can be done about it?
If nothing can be done about it, I would like to use a rule that will skip the inventory of this port.
However, when I tried the Update only mac address (mac on switch port) rule, I tried to modify it by adding e.g. criteria
Asset>Network port>Port number in not (number port) however the rule does not seem to work.
from glpi-inventory-plugin.
Have I understood correctly that there is not much that can be done about it?
If XML you provide are correct (ie you did not edit mac list by hand on "PD1-STACK" and made mistakes); I do not see what we could do GLPI side.
Maybe agent can do something, but there also are chances that data provided from your switches is incorrect - I can't say.
Attaching assets to a switch at inventory time is not related to rules if I remember correctly; it's just about the mac address presence. Rule works on asset level; not on what they contain; therefore you cannot choose to not inventory a port that is present - as far as I know.
from glpi-inventory-plugin.
Related Issues (20)
- Software inventory doesn't update the install_date HOT 12
- Deploy task : Restart selected jobs => Wrong job restarted HOT 4
- Target a task ( My iprange) : Uncaught Exception TypeError: Dropdown::addNewCondition()
- SNMP inventory bug on Cisco devices HOT 10
- Trigger error : impossible deployment HOT 5
- After migrated 9.5.5 -> 10.0.10 error Undefined constant "PLUGIN_FUSIONINVENTORY_VERSION" HOT 3
- Inventory Cisco Switch in Stack HOT 11
- Self-deployement : Cible pour le déploiement à la demande, utilisateurs introuvables HOT 1
- Running task Deploy - [error] [http client] Can't decode JSON content, starting with HOT 7
- Repository has some strange version tags HOT 1
- Update 1.3.5 HOT 1
- Self-deploy : Add target for deploy on demand
- Change agent name according to pc name change HOT 2
- GLPI Inventory not linking with Computers ITEM 0 HOT 1
- PHP Warning (2): Trying to access array offset on null in statediscovery.class.php at line 168 HOT 9
- taskscheduler error when using a dynamic group with a criteria on the fields plugins HOT 3
- Deployment Task Message is Garbled on Client HOT 8
- Collect : access denied on POST when using a proxy HOT 5
- No access to Inventory Agents HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from glpi-inventory-plugin.