Skip to content

Inventory Dabase Mysql #75

@EC2311

Description

@EC2311

Code of Conduct

  • I agree to follow this project's Code of Conduct

Is there an existing issue for this?

  • I have searched the existing issues

GLPI Version

10.0.19

Plugin version

1.0.3

Bug description

When running the agent, I hope it will 'scan' mysql DB.

The agent (glpi agent 1.12) sends the contact :
{
"action": "contact",
"deviceid": "AgentName",
"enabled-tasks": [
"collect",
"deploy",
"esx",
"inventory",
"netdiscovery",
"netinventory",
"remoteinventory"
],
"installed-tasks": [
"collect",
"deploy",
"esx",
"inventory",
"netdiscovery",
"netinventory",
"remoteinventory"
],
"name": "GLPI-Agent",
"tag": "xx",
"version": "1.12"
}
And recevied message :
{"message":"remoteinventory task not supported","disabled":["remoteinventory"],"expiration":"24","status":"ok","tasks":{"collect":{"version":"1.5.3","server":"glpiinventory"},"deploy":{"version":"1.5.3","server":"glpiinventory"},"esx":{"version":"1.5.3","server":"glpiinventory"},"inventory":{"server":"glpi","version":"10.0.19","params":[{"category":"database","use":["mysql"],"params_id":2,"delay":1}]},"netdiscovery":{"version":"1.5.3","server":"glpiinventory"},"netinventory":{"version":"1.5.3","server":"glpiinventory"}}}

we can see there is the DB parameters in it, but the remoteinventory is not supported :

and of course there is no DB inventory.

What is the configuration to set (on agent ? on server) in order to inventory mysql DB ?
in fact the MSSQL DB are well inventoried, without using plugin databaseInventory...

Thanks

Relevant log output

Page URL

No response

Steps To reproduce

No response

Your GLPI setup information

No response

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions