Nagios核心错误无法获取进程状态

时间:2018-06-10 13:24:32

标签: nagios

我遇到Nagios Core版本4.1.1的问题

我认为它与httpd有关,我说的原因就是当我执行时

服务nagios停止,我仍然收到像

这样的错误消息

无法获取流程状态

我检查了nagios.log和access_log以及error_log但没有明显的针对点。

是否因为对目录的权限?

[root@puppet nagios]# pwd
/etc/nagios
[root@puppet nagios]# ls -ld .
drwxrwxr-x. 5 root root 4096 Jun 10 22:42 .
[root@puppet nagios]# ls -alrth
total 92K
-rw-r-----.   1 root apache   27 Nov 25  2017 passwd
-rw-rw-r--.   1 root root    44K Nov 25  2017 nagios.cfg
-rw-rw-r--.   1 root root    13K Nov 25  2017 cgi.cfg
drwxr-x---.   2 root nagios 4.0K Jun 10 16:46 private
drwxr-x---.   2 root nagios 4.0K Jun 10 21:52 conf.d
drwxr-x---.   2 root nagios 4.0K Jun 10 22:41 objects
drwxrwxr-x.   5 root root   4.0K Jun 10 22:42 .
drwxr-xr-x. 127 root root    12K Jun 10 23:00 ..
[root@puppet nagios]# 

用户和权限对我来说也没问题:

[root@puppet nagios]# id nagios
uid=495(nagios) gid=492(nagios) groups=492(nagios),48(apache),501(nagcmd)
[root@puppet nagios]# id apache
uid=48(apache) gid=48(apache) groups=48(apache),501(nagcmd)
[root@puppet nagios]# id nagcmd
id: nagcmd: No such user
[root@puppet nagios]# cat /etc/group|grep nagcmd
nagcmd:x:501:apache,nagios
[root@puppet nagios]# 

httpd.conf配置:

#
# Controls who can get stuff from this server.
#
    Order allow,deny
    Allow from all

我想要检查的任何东西?

0 个答案:

没有答案