Database Inventory With GLPI Agent Not Working As Expected #940
Replies: 8 comments 3 replies
-
Hi @delboy1966 you should probably better use databaseinventory plugin to setup databases credentials. Can you share the result of the following command ?
At least the "content"->"databases_services" node. |
Beta Was this translation helpful? Give feedback.
-
Hi I tried as you suggested and also tried it with glpi-agent and get the same info, it does find the databases but it never updates the Database Instances for the server on glpi.
|
Beta Was this translation helpful? Give feedback.
-
I've tried as you suggested, and even though the output I get back lists all the databases on that server, they still don't get added to the list of Database Instances for that asset in GLPI. |
Beta Was this translation helpful? Give feedback.
-
Any idea why this data isn't going into GLPI even though running glpi-agent with the creds brings back the databases? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Thanks for the prompt reply. I outputted the data to a json file as you suggested and then run the glpi-injector line. The only output i got from the glpi-injector command was Loading ./databases.json...[CE8FE841] [agentid:02c4334f-e13a-4702-80bb-3212a316aa7e] DEBUG: Uncompressing received content Is there anywhere in GLPI that I can look at to see why they didn't get added? |
Beta Was this translation helpful? Give feedback.
-
In answer to your suggestions. Yes there was a databases_services in the json. And I'm getting nothing out of the php-errors.log file whilst I'm doing the import and tailing the log file. |
Beta Was this translation helpful? Give feedback.
-
Hello Yes we have other MySQL servers in GLPI. The databases.json file is attached. Thanks for your help. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Documentation & bug reporting acknowledgment
Not applicable
Describe your problem
I'm trying to get GLPI to inventory Databases on a server, I've started with a MySQL server.
I have the latest version of glpi-agent on the server and run it with the --credentials arguement
But that didn't seem to produce any valid debug.
Bur when I use
i get the following debug output. But never get any population on the Database Instances tab on the Asset in GLPI.
Beta Was this translation helpful? Give feedback.
All reactions