Page 1 of 1

Nagios 4.3.4 RHEL7.4

Posted: Wed Nov 01, 2017 12:16 pm
by emjga
Folks

Been using Nagios for years and runs very well under RHEL6
Just starting to look at Nagios 4.3.4 on RHEL7.3
Nagios seemed to run fine

The problem is that we upgraded the server to RHEL7.4
Nagios Status = Not Running even though Nagios is.

Using the cmd line
export QUERY_STRING='query=programstatus'
export REQUEST_METHOD=GET
./statusjson.cgi

"programstatus": {
"version": "4.3.4",
"nagios_pid": 3520,
"daemon_mode": false,

Any idea's or suggestions on where to look

Matt

Re: Nagios 4.3.4 RHEL7.4

Posted: Thu Nov 02, 2017 8:29 am
by emjga
Found the issue if this effects anybody else.

RHEL7 systemctl httpd users a new option called PrivateTmp
/usr/lib/systemd/system/httpd.service
PrivateTmp=true

https://access.redhat.com/blogs/766093/posts/1976243
Changing this to
PrivateTmp=false
The doing a reload , restart of httpd solves the issue

Re: Nagios 4.3.4 RHEL7.4

Posted: Thu Nov 02, 2017 10:12 am
by kyang
Glad you got this working and posted your solution! I'll be closing this topic.

If you have any more questions, feel free to create another thread!

Thank you for using the Nagios Support Forum!