Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

为什么agent.alive一直是-1呢 #18

Open
bfqymmt opened this issue Jul 23, 2019 · 1 comment
Open

为什么agent.alive一直是-1呢 #18

bfqymmt opened this issue Jul 23, 2019 · 1 comment

Comments

@bfqymmt
Copy link

bfqymmt commented Jul 23, 2019

nodata设置了agent.alive为-1
agent正常运行,其他监测项都能采集,唯独agent.alive一直为-1。
测试后,发现endpoint配置到nodata中,就一直返回的是-1,如果不配置到nodata中,可正常返回1。这是什么原因呢?

Windows agent日志:
[Debug]2019/07/23 18:22:05 listening :1988
[Debug]2019/07/23 18:23:05 IIs Monitor is disabled
[Debug]2019/07/23 18:23:05 MsSQL Monitor is disabled
[Debug]2019/07/23 18:23:07 => <Total=34> <Endpoint:web-01, Metric:agent.alive, Type:GAUGE, Tags:, Step:60, Time:1563877387, Value:1>
[Debug]2019/07/23 18:23:07 <= <Total=34, Invalid:0, Latency=0ms, Message:ok>
[Debug]2019/07/23 18:24:05 IIs Monitor is disabled
[Debug]2019/07/23 18:24:05 MsSQL Monitor is disabled
[Debug]2019/07/23 18:24:06 => <Total=34> <Endpoint:web-01, Metric:agent.alive, Type:GAUGE, Tags:, Step:60, Time:1563877446, Value:1>
[Debug]2019/07/23 18:24:06 <= <Total=34, Invalid:0, Latency=0ms, Message:ok>
[Debug]2019/07/23 18:25:05 IIs Monitor is disabled
[Debug]2019/07/23 18:25:05 MsSQL Monitor is disabled
[Debug]2019/07/23 18:25:06 => <Total=34> <Endpoint:web-01, Metric:agent.alive, Type:GAUGE, Tags:, Step:60, Time:1563877506, Value:1>
[Debug]2019/07/23 18:25:06 <= <Total=34, Invalid:0, Latency=0ms, Message:ok>
[Debug]2019/07/23 18:26:05 IIs Monitor is disabled
[Debug]2019/07/23 18:26:05 MsSQL Monitor is disabled
[Debug]2019/07/23 18:26:06 => <Total=34> <Endpoint:web-01, Metric:agent.alive, Type:GAUGE, Tags:, Step:60, Time:1563877566, Value:1>
[Debug]2019/07/23 18:26:06 <= <Total=34, Invalid:0, Latency=0ms, Message:ok>
[Debug]2019/07/23 18:27:05 IIs Monitor is disabled
[Debug]2019/07/23 18:27:05 MsSQL Monitor is disabled
[Debug]2019/07/23 18:27:06 => <Total=34> <Endpoint:web-01, Metric:agent.alive, Type:GAUGE, Tags:, Step:60, Time:1563877626, Value:1>
[Debug]2019/07/23 18:27:06 <= <Total=34, Invalid:0, Latency=0ms, Message:ok>

@bfqymmt bfqymmt closed this as completed Jul 24, 2019
@bfqymmt bfqymmt reopened this Jul 24, 2019
@freedomkk-qfeng
Copy link
Owner

时间不对吧

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants