Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Run 'make -n install-daemon-config' and see what should get installed. Alternatively just create the required configuration yourself according to Nagios / NRPE documentation. Alternatively ponder why you're so bent on doing it that way when you've got access to something like 'yum install epel-release; yum install nagios nagios-plugins-all nrpe chkconfig nrpe;'...
Run 'make -n install-daemon-config' and see what should get installed. Alternatively just create the required configuration yourself according to Nagios / NRPE documentation. Alternatively ponder why you're so bent on doing it that way when you've got access to something like 'yum install epel-release; yum install nagios nagios-plugins-all nrpe chkconfig nrpe;'...
Got same error :
Code:
[root@localhost nrpe-3.0]# make -n install-daemon-config
make: *** No rule to make target `install-daemon-config'. Stop.
I know, CentOS has "nrpe" package but I want to install it from source code.
[root@localhost nrpe-3.0]# make -n install-daemon-config
make: *** No rule to make target `install-daemon-config'. Stop.
Supplying "-n" doesn't actually install: it just goes through the motions so you can see what it's up to. In this case there's no output shown that will help you so in this case I'd say it's safe to say there is no rule to "make" that target: so install the necessary configuration files yourself.
Quote:
Originally Posted by hack3rcon
I know, CentOS has "nrpe" package but I want to install it from source code.
Installing software from source on any RPM-based systems makes you, regardless of reason, responsible for updating software when security or bug fixes are released. While that's OK for a home system it definitely is not a Best Practice (or efficient) so shouldn't apply to any systems used in professional environments.
Supplying "-n" doesn't actually install: it just goes through the motions so you can see what it's up to. In this case there's no output shown that will help you so in this case I'd say it's safe to say there is no rule to "make" that target: so install the necessary configuration files yourself.
Installing software from source on any RPM-based systems makes you, regardless of reason, responsible for updating software when security or bug fixes are released. While that's OK for a home system it definitely is not a Best Practice (or efficient) so shouldn't apply to any systems used in professional environments.
Please see "http://www.tecmint.com/how-to-add-linux-host-to-nagios-monitoring-server/"
Please see "http://www.tecmint.com/how-to-add-linux-host-to-nagios-monitoring-server/"
Why? Again, installing from package is the better way to go...re-iterating that you WANT to build from source is pointless. Also, the link you posted does not say put the -n flag in for installing/building the NRPE plugin.
Again:
Don't put the -n flag in, which you could see if you read the help options on build, or the documentation
Install it from package, since there's no real benefit of building from source.
Why? Again, installing from package is the better way to go...re-iterating that you WANT to build from source is pointless. Also, the link you posted does not say put the -n flag in for installing/building the NRPE plugin.
Again:
Don't put the -n flag in, which you could see if you read the help options on build, or the documentation
Install it from package, since there's no real benefit of building from source.
If you read my posts then you can see that I never put "-n" by default and both have same result.
What is my Distro problem? I did all steps that the guidance said!!!!
If you read my posts then you can see that I never put "-n" by default and both have same result.
You're right..you did NOT put the -n flag in; however, you were ADVISED TO, to see what was going on, but haven't apparently.
Quote:
What is my Distro problem? I did all steps that the guidance said!!!!
AGAIN, you do not, should not have to, install from source. Period. You were given the exact yum command to run to not only install the repository, but to install NRPE too. Why you don't just type in one command and be done is beyond me.
Again, why are you wanting to install from source?? Saying "I want to" doesn't tell us anything at all.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.