Bug #40744 Insufficient feedback by MEM agent in case of startup problems

Submitted: 14 Nov 2008 13:48
Reporter: Kristian Köhntopp Email Updates:
Status: Open Impact on me:
None 
Category:MySQL Enterprise Monitor: Agent Severity:S4 (Feature request)
Version:2.0.0.7088 OS:Linux
Assigned to: CPU Architecture:Any

[14 Nov 2008 13:48] Kristian Köhntopp
Description:
Setting up the agent for multiple instances by creating additional instance directories and requisite agent configurations.

[root@dc01mdb-01 instances]# ls -l
total 56
drwxr-xr-x  2 root root 4096 Nov 14 14:37 dev-adminlog
drwxr-xr-x  2 root root 4096 Nov 14 14:37 dev-avmdb-vip
drwxr-xr-x  2 root root 4096 Nov 14 14:33 dev-avmdb-vip2
drwxr-xr-x  2 root root 4096 Nov 14 14:36 dev-bfdmdb-vip
drwxr-xr-x  2 root root 4096 Nov 14 14:04 dev-bpmdb-vip
drwxr-xr-x  2 root root 4096 Nov 14 14:04 dev-bpmdb-vip2
drwxr-xr-x  2 root root 4096 Nov 14 14:05 dev-bpmdb-vip3
drwxr-xr-x  2 root root 4096 Nov 14 14:36 dev-dwmdb-vip
drwxr-xr-x  2 root root 4096 Nov 14 14:36 dev-dwmdb-vip2
drwxr-xr-x  2 root root 4096 Nov 14 14:35 dev-finmdb-vip
drwxr-xr-x  2 root root 4096 Nov 14 14:35 dev-qamdb-vip
drwxr-xr-x  2 root root 4096 Nov 14 14:35 dev-sessdb-vip
drwxr-xr-x  2 root root 4096 Nov 14 14:34 dev-testmdb-vip

Starting the agents yields nothing. Turns out permissions in the database were missing. No proper logging from the agent was observed.

How to repeat:
Create an agent installation with one or multiple instances, create agent setup problems such as missing permissions or other problems. Try to derive the cause for the problem not using strace. Try finding out the name of the instance causing the problem.

Suggested fix:
At agent startup, report problems (or success in a single message per instance monitored with instance name and port) in a way that allows proper debugging.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.038 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.