zabbix调试脚本报错(Not all processes could be identified, non-owned process info will not be shown, you w
Posted fenggeblog
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了zabbix调试脚本报错(Not all processes could be identified, non-owned process info will not be shown, you w相关的知识,希望对你有一定的参考价值。
zabbix_get调试脚本报错:
[root@chaofeng sql]# zabbix_get -s 127.0.0.1 -k pgsql.ping (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) 0
经过排查后发现脚本中有运行 netstat 查看进程的命令,因为是在普通用户下执行的 netstat命令,所以权限不足
解决方法就是
登陆root用户,执行如下命令,让其它用户瞬间获得文件所有者的权限
[root@chaofeng sql]# chmod +s /bin/netstat
这样子就解决了问题
以上是关于zabbix调试脚本报错(Not all processes could be identified, non-owned process info will not be shown, you w的主要内容,如果未能解决你的问题,请参考以下文章
umount 报错was not found in /proc/mounts
zabbix分布式系统监控 (报错:host *** not monitored)
zabbix分布式系统监控报错( host not monitored)
PID file /run/zabbix/zabbix_server.pid not readable (yet?) after start. 报错解决
Zabbix 源码编译报错:configure: error: SSH2 library not found
zabbix--邮件告警报错“Support for SMTP authentication was not compiled in”