Code Monkey home page Code Monkey logo

Comments (11)

trasher avatar trasher commented on September 28, 2024

Plese provide XML/JSON inventory file we can use to reproduce.

from glpi.

steph461 avatar steph461 commented on September 28, 2024

@hello bacus99

i have bug similary Stack 2 or 3 or 4 or 5

Try this command :

  1. glpi-netdiscovery.bat --host YourIP --credentials version:3,username:yourname,authprotocol:SHA,authpassword:XXXXXX,privprotocol:AES128,privpassword:XXXXXXX -i -s c:\folder
    image

  2. delete the stack and purge, its very important

  3. Import only in the c:\folder\netinventory\yourip.xml

  4. import
    image

  5. Normally it's ok

  6. perform an update, you lose the information
    I lose the information on all my stacks

I have this bug for 10.0.3

example :

before
image

if i udpate ( after): ko
image

from glpi.

bacus99 avatar bacus99 commented on September 28, 2024

OK, I tried your way.
image

Seems importing says OK, but only 1 port discovered

when I export my xml from GLPI, i can see all the config and ports... Something is blocking. Logs are empty

Waiting for security to approve cleaned xml

from glpi.

bacus99 avatar bacus99 commented on September 28, 2024

networkequipment_4_4977 1.txt
Here's the XML

from glpi.

trasher avatar trasher commented on September 28, 2024

I cannot see your original issue with provided XML. With this one, there is only one network equipment imported; with one port in it.

Plus on random frequency, glpi-netinventory snmp update flush all my ports (And sometime change the name of the switch 0 (ex: Site-SW-01 to Site-SW-01 - 2)

This looks like a rule issue.

@steph461 please provide inventory file to reproduce.

from glpi.

bacus99 avatar bacus99 commented on September 28, 2024

So you are right, it's not the common point. I reset the rules, still add/remove the ports and don't see 2 switches. Just found in my file that we DON'T see the second serial number switch like I can see in Orion
image

I'll do more tests, but it makes sense it will not create the second switch... Now why

from glpi.

bacus99 avatar bacus99 commented on September 28, 2024

@steph461 not 100% sure if related, but I have 2 sites OK

My faulty switches: Cisco IOS Software [Fuji], Catalyst L3 Switch Software (CAT9K_LITE_IOSXE), Version 16.9.4
My good switches: Cisco IOS Software [Bengaluru], Catalyst L3 Switch Software (CAT9K_LITE_IOSXE), Version 17.6.5

What is the version of your switches?

from glpi.

steph461 avatar steph461 commented on September 28, 2024

@steph461 not 100% sure if related, but I have 2 sites OK

My faulty switches: Cisco IOS Software [Fuji], Catalyst L3 Switch Software (CAT9K_LITE_IOSXE), Version 16.9.4 My good switches: Cisco IOS Software [Bengaluru], Catalyst L3 Switch Software (CAT9K_LITE_IOSXE), Version 17.6.5

What is the version of your switches?

Aruba 2930F VSF VC, revision WC.16.10.0009,

other example :
i have stack*5 If i update my stack, its ko . I must to delete stack *5 and I create the good XML folder netinventory
image

from glpi.

steph461 avatar steph461 commented on September 28, 2024

When you have test, you took the files in the folder in this folder ?
image

from glpi.

trasher avatar trasher commented on September 28, 2024

My faulty switches: Cisco IOS Software [Fuji], Catalyst L3 Switch Software (CAT9K_LITE_IOSXE), Version 16.9.4 My good switches: Cisco IOS Software [Bengaluru], Catalyst L3 Switch Software (CAT9K_LITE_IOSXE), Version 17.6.5

That looks like an issue on switch support on agent side. Please open a discussion on agent repository.

from glpi.

bacus99 avatar bacus99 commented on September 28, 2024

OK based on my tests, agent 1.9 installed on Linux

glpi-netdiscovery --first 172.16.10.1 --last 172.16.10.254 --credentials version:2c,community:community1 --credentials version:2c,community:community2 --credentials version:2c,community:public --credentials 'version:3,username:snmp-glpi,authprotocol:SHA,authpassword:aaaa,privprotocol:AES,privpassword:ssss' --debug --control --backend-collect-timeout 30 --timeout 5 --retries 1 --threads 10000 -i -s /tmp

glpi-injector --no-ssl-check -v --recursive --directory /tmp/netinventory -u https://glpi.mycompany/glpi/marketplace/glpiinventory/

Import all switches with stacks

From GLPI inventory interface, stack are single switch and delete ports after few passes

from glpi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.