This post was updated on .
안녕하세요.
grinder를 테스트 해 보다가 , 우연히 발견하여 놀라움으로 테스트를 하고 있었습니다. 구동 하는 과정에서 오류가 발생해 문의 드립니다. controller 와 동일한 agent는 정상 구동하는데 controller 외의 장비에서 agent를 구동하는데 다음과 같은 자바 오류가 나네요 의견 부탁드립니다. org.hyperic.sigar.SigarException: No such device or address at org.hyperic.sigar.NetInterfaceStat.gather(Native Method) ~[sigar-1.6.4.jar:na] at org.hyperic.sigar.NetInterfaceStat.fetch(NetInterfaceStat.java:30) ~[sigar-1.6.4.jar:na] at org.hyperic.sigar.Sigar.getNetInterfaceStat(Sigar.java:901) ~[sigar-1.6.4.jar:na] at org.ngrinder.monitor.agent.collector.AgentSystemDataCollector.getNetworkUsage(AgentSystemDataCollector.java:110) [ngrinder-core-3.1.2.jar:na] at org.ngrinder.monitor.agent.collector.AgentSystemDataCollector.initSigar(AgentSystemDataCollector.java:56) [ngrinder-core-3.1.2.jar:na] at org.ngrinder.monitor.agent.collector.AgentSystemDataCollector.refresh(AgentSystemDataCollector.java:47) [ngrinder-core-3.1.2.jar:na] at net.grinder.AgentController.<init>(AgentController.java:106) [ngrinder-core-3.1.2.jar:na] at net.grinder.AgentControllerDaemon.<init>(AgentControllerDaemon.java:64) [ngrinder-core-3.1.2.jar:na] at org.ngrinder.NGrinderStarter.startAgent(NGrinderStarter.java:174) [ngrinder-core-3.1.2.jar:na] at org.ngrinder.NGrinderStarter.main(NGrinderStarter.java:328) [ngrinder-core-3.1.2.jar:na] 2013-02-27 17:49:08,952 INFO agent controller daemon: agent controller daemon : started. 2013-02-27 17:49:09,072 ERROR org.ngrinder.monitor.agent.collector.AgentSystemDataCollector: Error while getting system perf data:No such device or address 2013-02-27 17:49:09,086 INFO agent controller: connected to agent controller server at /218.153.10.73:16001 2013-02-27 17:49:09,086 INFO agent controller: waiting for agent controller server signal 2013-02-27 17:49:09,091 ERROR org.ngrinder.monitor.agent.collector.AgentSystemDataCollector: Error while getting system perf data:No such device or address |
Administrator
|
OS 상세 정보와(배포본, 커널 버전등 모두..)
ifconfig 쳐서서 나온 정보를 공유 부탁드리겠습니다. |
다른 정보가 더 필요하면 말씀해 주세요~ 감사합니다.
CentOS release 5.5 (Final) Linux 2.6.18-194.el5PAE #1 SMP Fri Apr 2 15:37:44 EDT 2010 i686 i686 i386 GNU/Linux Linux version 2.6.18-194.el5PAE (mockbuild@builder16.centos.org) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)) #1 SMP Fri Apr 2 15:37:44 EDT 2010 eth0 Link encap:Ethernet HWaddr 00:50:56:99:00:3D inet addr:218.153.10.72 Bcast:218.153.10.255 Mask:255.255.255.0 inet6 addr: fe80::250:56ff:fe99:3d/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2790370558 errors:0 dropped:0 overruns:0 frame:0 TX packets:995004836 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:3499074615 (3.2 GiB) TX bytes:1549010015 (1.4 GiB) Interrupt:59 Base address:0x2024 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:1095802212 errors:0 dropped:0 overruns:0 frame:0 TX packets:1095802212 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:223736545 (213.3 MiB) TX bytes:223736545 (213.3 MiB) lo:0 Link encap:Local Loopback inet addr:218.153.10.77 Mask:255.255.255.255 UP LOOPBACK RUNNING MTU:16436 Metric:1 |
Administrator
|
아무래도 특정 PC에서 Sigar 라이브러리의 버전 문제가 발생하는 듯 하군요.
https://docs.google.com/file/d/0BydpbzD7dWIFaUNQTFJQaFBCVGc/edit?usp=sharing
일단 위 버전을 사용하시기 바랍니다.
|
Free forum by Nabble | Edit this page |