| Bug #41798 | Incomplete error message for SELECT denied to mysql.inventory | ||
|---|---|---|---|
| Submitted: | 30 Dec 2008 16:37 | ||
| Reporter: | Mark Leith | ||
| Status: | Verified | ||
| Category: | Monitoring: Agent | Severity: | S3 (Non-critical) |
| Version: | 2.0.0.7111 | OS: | Any |
| Assigned to: | Kay Roepke | Target Version: | 2.0 maint release |
| Tags: | mem_20_maint | ||
| Triage: | Needs Triage: D3 (Medium) | ||
[30 Dec 2008 16:37]
Mark Leith
[30 Dec 2008 16:53]
Jan Kneschke
The error-msg will be replaced by a link to the manual that describes the problem a lot better.
[30 Dec 2008 16:57]
Simon Mudd
GRANTing SELECT on mysql.inventory DOES NOT WORK as there are no table level grants on the MYSQL database. The help description should be clear about the grants that are actually required.
[30 Dec 2008 17:02]
Simon Mudd
The error message is a solution to the problem the proxy has, but it does not actually describe the problem which is that the connection information used by the proxy to connect to the backend doesn't correspond with the connection information stored in etc/instances/XXXX/agent-instance.ini. That fact the proxy can't find the required information may imply the administrator has not configured the proxy correctly. In this specific case the proxy backend had been configured with an ip-address while agent-instance.ini had been configured with a hostname. IMO the proxy should have been able to figure out that the configuration matched.
[30 Dec 2008 17:10]
Simon Mudd
In any case if the details don't match the agent SHOULD probably report this in the log file, so the administrator understands the problem, or the measures s[he] should take if the configuration is actually correct.
[27 Feb 18:50]
Mark Matthews
Two things to fix here: (1) Better message, like Simon's comment, just say things are misconfigured. (2) Do a more robust match on hosts between agent and proxy (compare hostnames, and IPs).
