Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - xiuzhh

#1
General Support / How to push table DCI from agents?
March 12, 2014, 04:45:09 AM
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.
#2
Hi:
    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.
#3
General Support / agent 1.2.10 crash on AIX 6100-08
February 08, 2014, 05:57:56 AM
Hi:
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:/>