Files
geedge-jira/md/OMPUB-853.md

49 lines
1.3 KiB
Markdown
Raw Permalink Normal View History

2025-09-14 21:52:36 +00:00
# 福建项目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 中未含有该服务器存在的网卡名称导致该问题
 
---
2025-09-14 22:26:17 +00:00
# Attachments
2025-09-14 21:52:36 +00:00
2025-09-14 22:26:17 +00:00
Attachment: 0bb6cb20e5bf8faef992720aca890fe.jpg
2025-09-14 22:27:11 +00:00
2025-09-14 22:26:17 +00:00
![0bb6cb20e5bf8faef992720aca890fe.jpg](https://gfwleak.exec.li/admin/geedge-jira/raw/branch/master/attachment/36371/0bb6cb20e5bf8faef992720aca890fe.jpg)
2025-09-14 21:52:36 +00:00
2025-09-14 22:26:17 +00:00
Attachment: d9db0dd7a30951cb11ecce1c20a9eee.jpg
2025-09-14 22:27:11 +00:00
2025-09-14 22:26:17 +00:00
![d9db0dd7a30951cb11ecce1c20a9eee.jpg](https://gfwleak.exec.li/admin/geedge-jira/raw/branch/master/attachment/36372/d9db0dd7a30951cb11ecce1c20a9eee.jpg)
2025-09-14 21:52:36 +00:00