I found "push" origin in "new table" page,but I dont' know how to do this.
I need steps to push table data(uncertain rows) from agent.
THANKS.
xiuzhh
Posts
-
How to push table DCI from agents? -
system.cpu.usage parameter of HPUX subagent problemHi:
I found the data collected by system.cpu.usage parameter of HPUX subagents inconsistent with the other performance tools like glance,top,vmstat and so on.
I tried to trace the CpuUsageCollector function in src/agent/subagent/HPUX/system.cpp and found the reason:
The HPUX subagent counts the cpu wait statment as cpu usage:
m_cpuUsage[m_currentSlot++] = 100 - ((float)((psd.psd_cpu_time[CP_IDLE] - m_idle) * 100) / delta);
but other performace tools counts the cpu wait statment as cpu idle.
I modified the souce code like this:
m_cpuUsage[m_currentSlot++] = ((float)(((psd.psd_cpu_time[CP_USER] - m_user) + (psd.psd_cpu_time[CP_SYS] - m_sys) ) * 100) / delta) (mybe adds the CPU nice statment is better);
As a result this metric was consistent with other performance tools.
I wonder which way calculates the CPU usage is more helpful. -
agent 1.2.10 crash on AIX 6100-08Hi
I solved this problem with modifing netxms-1.2.10\netxms-1.2.10\src\agent\subagents\aix\cpu.cpp line 31 :
#define MAX_CPU (64 + 1) /* 64 + 1 for overall */
My client server has more than 64 cpu, so I modified it to a larger integer ,and it plays well. -
agent 1.2.10 crash on AIX 6100-08Hi:
I extracted nxagent-1.2.10-aix5.3-ppc64.tar on AIX 6100-06,and it runs well.But i tried this on AIX 6100-08,it crashes everytime.root:/>/opt/netxms/bin/nxagentd -f
[08-Feb-2014 11:57:04.045] [INFO ] Additional configs was loaded from /etc/nxagentd.conf.d
[08-Feb-2014 11:57:04.050] [INFO ] Debug level set to 0
[08-Feb-2014 11:57:04.050] [ERROR] Failed to load agent's registry from file /opt/netxms/var/netxms/registry.dat
[08-Feb-2014 11:57:04.050] [ERROR] Failed to save agent's registry to file /opt/netxms/var/netxms/registry.dat: No such file or directory
Segmentation fault(coredump)
root:/>