Bug #40309 agent AIX5.3 shows critical sigar error: sigar_cpu_list_get() failed
Submitted: 24 Oct 2008 14:13 Modified: 26 Jun 2009 13:29
Reporter: Carsten Segieth Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Enterprise Monitor: Agent Severity:S2 (Serious)
Version:2.0.0.7083 OS:IBM AIX (5.3)
Assigned to: Jan Kneschke CPU Architecture:Any
Tags: mem_platforms

[24 Oct 2008 14:13] Carsten Segieth
Description:
Connecting the 32bit or 64bit AIX agents a critical error is shown in the log:

 2008-10-24 14:24:40: (critical) job_collect_os.c:416: sigar_cpu_list_get() failed

Also, trying "<AGENT> --agent-run-os-tests", it crashes:

mysqldev@aix53:/data0/mysqldev/merlin/agent/2.0.0.7083/aix5.3-powerpc-64bit/aix53> bin/mysql-monitor-agent --agent-run-os-tests
2008-10-24 15:26:08: (critical) network-socket.c.299: connect(127.0.0.1:3306) failed: Connection refused (79)
sigar-test-all.c.105 (test_sigar_pid_get):
  pid = 630794
Assertion failed: __EX, file  sigar-test-all.c, line 78
IOT/Abort trap (core dumped)

How to repeat:
- install AIX5.3 agent and connect to dashboard
[24 Oct 2008 16:00] Carsten Segieth
debug log from agent

Attachment: aix53.sigar.log.gz (application/x-download, text), 58.64 KiB.

[29 Oct 2008 16:04] Jan Kneschke
these are two issues in one bug-report:

1060 jan@kneschke.de	2008-10-29
     let --sigar-test-all not assert() out if a platform doesn't support a call 
     (fixes #40309 partially)
modified:
 plugins/agent/sigar-test-all.c

fixes the --sigar-test-all side of it. The real issue is that AIX + sigar doesn't return a CPU list right now.
[10 Nov 2008 16:07] Carsten Segieth
- agent 2.0.0.7092 no longer crashes when called with '--agent-run-os-tests'
- but still shows "(critical) job_collect_os.c:433: sigar_cpu_list_get() failed"
  (for what I set this bug back to VER)
[26 Jun 2009 13:29] Jan Kneschke
This is a duplicate of http://bugs.mysql.com/bug.php?id=38001