Search found 9 matches

by jauerbach1234
Fri Mar 27, 2020 10:06 am
Forum: Open Source Nagios Projects
Topic: nrpe problem on RedHat8 /tmp
Replies: 16
Views: 9900

Re: nrpe problem on RedHat8 /tmp

It could also be this "feature" of RHEL/CENTOS/... that are using systemd. If a daemon is started from systemd (like NRPE probably is) then each daemon get "their own" tmp. I think this is controlled with "PrivateTmp=" in the service file. Regards, Thanks! This seems l...
by jauerbach1234
Fri Mar 27, 2020 9:44 am
Forum: Open Source Nagios Projects
Topic: nrpe problem on RedHat8 /tmp
Replies: 16
Views: 9900

Re: nrpe problem on RedHat8 /tmp

It could also be this "feature" of RHEL/CENTOS/... that are using systemd. If a daemon is started from systemd (like NRPE probably is) then each daemon get "their own" tmp. I think this is controlled with "PrivateTmp=" in the service file. Regards, Thanks! This seems l...
by jauerbach1234
Fri Mar 27, 2020 9:34 am
Forum: Open Source Nagios Projects
Topic: nrpe problem on RedHat8 /tmp
Replies: 16
Views: 9900

Re: nrpe problem on RedHat8 /tmp

Thanks for supplying the script. You don't have a #! specifier in the front of the script. I'd correct that, first. That would assure that the script is run with the same shell regardless whether it's you running it or nagios. Could be a globbing issue, based on what it's the script. Sorry, I did n...
by jauerbach1234
Thu Mar 26, 2020 12:07 pm
Forum: Open Source Nagios Projects
Topic: nrpe problem on RedHat8 /tmp
Replies: 16
Views: 9900

Re: nrpe problem on RedHat8 /tmp

Any chance you could upgrade NRPE to the v4 branch ? gave it a go but no success... @nrpe-client# date Thu Mar 26 16:43:51 UTC 2020 @nrpe-client# /usr/local/nagios/bin/nrpe -V NRPE - Nagios Remote Plugin Executor Version: 4.0.2 @nrpe-client# grep check_tmp_files /etc/nagios/nrpe.cfg command[check_t...
by jauerbach1234
Thu Mar 26, 2020 9:20 am
Forum: Open Source Nagios Projects
Topic: nrpe problem on RedHat8 /tmp
Replies: 16
Views: 9900

Re: nrpe problem on RedHat8 /tmp

Box293 wrote:I'm thinking some TLS stuff may have been stricter and more secure. Also v4 may be updated for RHEL 8.
Seems reasonable. I will try to get it setup. Thx.
by jauerbach1234
Thu Mar 26, 2020 9:17 am
Forum: Open Source Nagios Projects
Topic: nrpe problem on RedHat8 /tmp
Replies: 16
Views: 9900

Re: nrpe problem on RedHat8 /tmp

Can you supply more details of this plugin you've written? see attached Had you put in debug statements in the script logging to a debug file to see the flow of execution? yes, tried that. The script flows as expected. The exception/issue is when doing the "ls" on /tmp remotely, the files...
by jauerbach1234
Wed Mar 25, 2020 10:17 am
Forum: Open Source Nagios Projects
Topic: nrpe problem on RedHat8 /tmp
Replies: 16
Views: 9900

Re: nrpe problem on RedHat8 /tmp

Box293 wrote:Any chance you could upgrade NRPE to the v4 branch ?
Thanks for responding.

Generally, I prefer packages from package mgmt systems, but since this is a test system, I am not adverse to trying that. Curious as to what fixes (if any) would be applied in so doing? or simply a shot in the dark... ?
by jauerbach1234
Wed Mar 25, 2020 10:09 am
Forum: Open Source Nagios Projects
Topic: nrpe problem on RedHat8 /tmp
Replies: 16
Views: 9900

Re: nrpe problem on RedHat8 /tmp

Any chance you could upgrade NRPE to the v4 branch ? Thanks for the response. Generally, I prefer released versions via package mgmt systems, but since this is a test system, I am not adverse to trying that. But, I would like to know what you think it will do to correct? Or would simply be a shot i...
by jauerbach1234
Mon Mar 23, 2020 10:53 am
Forum: Open Source Nagios Projects
Topic: nrpe problem on RedHat8 /tmp
Replies: 16
Views: 9900

nrpe problem on RedHat8 /tmp

I am having a problem with NRPE reading /tmp on a Redhat 8 system. I have a basic bash script that checks for particular files (by name) in /tmp and then warns if too many (done via ls piped to wc ).  The permissions on /tmp are : drwxrwxrwt ; I have tried setting them to : drwxrwxrwx  SELinux is di...