Nagios 4.3.4 RHEL7.4

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
emjga
Posts: 8
Joined: Wed Mar 06, 2013 1:42 am

Nagios 4.3.4 RHEL7.4

Post 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
emjga
Posts: 8
Joined: Wed Mar 06, 2013 1:42 am

Re: Nagios 4.3.4 RHEL7.4

Post 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
kyang

Re: Nagios 4.3.4 RHEL7.4

Post 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!
Locked