Files
geedge-jira/md/OMPUB-853.md
2025-09-14 21:52:36 +00:00

45 lines
1.1 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 福建项目NEZHA监控图表全部失效
| ID | Creation Date | Assignee | Status |
|----|----------------|----------|--------|
| OMPUB-853 | 2023-03-19T12:13:09.000+0800 | 史振东 | 已关闭 |
---
所有应用实例显示ping不通prometheus可以查询**shizhendong** commented on *2023-03-19T17:30:26.570+0800*:
问题原因nz-agent 状态异常cortex & loki 组件因 interface_name 配置导致启动失败
如何定位:
* 查看 nz-agent 状态
* 插件 cortex 日志
解决方式:
* 修改 sys_config key=interface_name 配置   {*}eno1{*} 为服务器网卡名称)
# mysql -uroot -p****** -D nezha -e "update sys_config set param_value = 'eth0,en0,bond0,ens2f0,enp0s31f6,{*}eno1{*}' where param_key = 'interface_name'"
* 替换 cortex & loki 初始配置文件interface_name 配置增加 {*}eno1{*}{*}{*}
内置 interface_name 中未含有该服务器存在的网卡名称导致该问题
 
---
## Attachments
**36371/0bb6cb20e5bf8faef992720aca890fe.jpg**
---
**36372/d9db0dd7a30951cb11ecce1c20a9eee.jpg**
---