Comments (5)
@bahaines I'm kind of grasping at straws here, but instead of running:
${PROG_BIN} -n -c ${NRPE_CONFIG} -d
try using:
${PROG_BIN} -n -c ${NRPE_CONFIG} -d -s
(Add the -s
at the end). And let me know if that works.
from nrpe.
@jfrickson I saw your eMail John, I'm sorry I didn't have time to try this until now.
Introducing the "-s" causes strange behavior in AIX. It looks like it fixes the issue with the proc, but the cursor doesn't return to the terminal.
$ /etc/rc.d/init.d/nrpe start
Starting NRPE daemon...
(BLINKING CURSOR)
If I open a different session, I see the process and it is running as nagios.
user@hostname:/home/>ps -ef | grep nrp
nagios 21233702 9633948 0 20:24:57 pts/1 0:00 /usr/local/nagios/bin/nrpe -n -c /usr/local/nagios/etc/nrpe.cfg -d -s
If I do it as "nohup" with & on the process, it is fine:
nagios$:nohup /etc/rc.d/init.d/nrpe start&
nagios$:ps -ef | grep nrpe
nagios 23003370 21233714 0 20:28:15 pts/1 0:00 /usr/local/nagios/bin/nrpe -n -c /usr/local/nagios/etc/nrpe.cfg -d -s
from nrpe.
Looks like straw grasping worked :-)
The -s
parameter tells nrpe to run as a subsystem under AIX. As far as I can tell, that just means, don't fork.
Change your init script to include the -s
and you should be all set.
from nrpe.
Apparently still a problem. Reopening.
from nrpe.
I've worked on this several times, and have been unable to reproduce the problem, or to come up with a solution. I'm going to close the issue, but tag it with the archive/future
tag so I can possibly come back to it at a later time.
from nrpe.
Related Issues (20)
- Unable to build against OpenSSL 3.0.0 HOT 5
- 4.0.3 does not accept v3 Packets HOT 2
- NRPE not showing real output of check_apt HOT 6
- Remove deprecated anonymous diffie-helman options
- Nrpe not working with external ip
- Receive header underflow - only 0 bytes received (4 expected). HOT 1
- Error while making with OpenSSL 1.1.1k
- CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages.
- DNS issue should return UNKNOWN or CRITICAL HOT 6
- Parasitic characters in output
- Wrong user owning the nrpe process under AIX HOT 2
- nrpe[xxxx]: ERROR: my_system() write(fd, buffer)-2 failed... HOT 2
- RHEL9 fails with ERR_get_error_line_data HOT 2
- nrpe 4.1: configuration line length issue? HOT 2
- Problema a la hora de compilar el agente npre4.1.0 fedora17
- NRPE v4.1 repo EPEL : nrpe_user and nrpe_group in nrpe.fg not used HOT 2
- NRPE : "deprecated" removed HOT 2
- Feature Request - Support wildcards in exclude arguments HOT 9
- check_nrpe: Could not connect / Receive header underflow HOT 1
- Error: Request contained command arguments! HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nrpe.