Giter Site home page Giter Site logo

Comments (5)

jfrickson avatar jfrickson commented on August 20, 2024

@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.

bahaines avatar bahaines commented on August 20, 2024

@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.

jfrickson avatar jfrickson commented on August 20, 2024

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.

jfrickson avatar jfrickson commented on August 20, 2024

Apparently still a problem. Reopening.

from nrpe.

jfrickson avatar jfrickson commented on August 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.