互联网服务AIXsigargetnetstat

sigar获取网络状态信息getNetStat()报异常

在aix上通过sigar获取网络状态信息的时候,在调用getNetStat方法的时候报如下异常,大神们给看看:org.hyperic.sigar.SigarFileNotFoundException: A file or directory in the path name does not exist.        at org.hyperic.sigar.NetSta...显示全部

在aix上通过sigar获取网络状态信息的时候,在调用getNetStat方法的时候报如下异常,大神们给看看:

org.hyperic.sigar.SigarFileNotFoundException: A file or directory in the path name does not exist.

        at org.hyperic.sigar.NetStat.stat(Native Method) ~[cloudwise-os-1.0.3.jar:na]

        at org.hyperic.sigar.NetStat.stat(NetStat.java:37) ~[cloudwise-os-1.0.3.jar:na]

        at org.hyperic.sigar.Sigar.getNetStat(Sigar.java:794) ~[cloudwise-os-1.0.3.jar:na]

        at com.cloudwise.plugin.os.processor.TcpProcessor.getMetricMsgInfo(TcpProcessor.java:63) ~[cloudwise-os-1.0.3.jar:na]

        at com.cloudwise.plugin.os.OsMonitorThread.collcetHostMetricInfo(OsMonitorThread.java:96) [cloudwise-os-1.0.3.jar:na]

        at com.cloudwise.plugin.base.AbstractMonitorThread.run(AbstractMonitorThread.java:44) [cloudwise-os-1.0.3.jar:na]

        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) [na:1.6.0]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) [na:1.6.0]

收起
参与17

查看其它 1 个回答wangsanjun的回答

wangsanjunwangsanjun技术经理上海南天

配置文件不存在,请检查相关配置文件!

系统集成 · 2016-04-12
浏览3496
  • 什么配置文件啊?和siga相关的???
    2016-04-12
  • sigar可以采集aix上的cpu,memeory数据,采集网络状态数据时报错啊!
    2016-04-12

回答者

wangsanjun
技术经理上海南天
擅长领域: 服务器系统管理AIX

wangsanjun 最近回答过的问题

回答状态

  • 发布时间:2016-04-12
  • 关注会员:3 人
  • 回答浏览:3496
  • X社区推广