nrpe 2.15 solaris 10
nrpe 2.15 solaris 10
Hello,
I'm trying to configure the nrpe daemon on a corporate solaris 10 machine.
I do not have permission to make the /usr/local/nagios user, but I can do it in a local home directory.
So, when using gmake install-daemon-config, I want it to mkdir in a the localhome/nagios/... not /usr/local/nagios
Would that be possible to change?
Thanks!
I'm trying to configure the nrpe daemon on a corporate solaris 10 machine.
I do not have permission to make the /usr/local/nagios user, but I can do it in a local home directory.
So, when using gmake install-daemon-config, I want it to mkdir in a the localhome/nagios/... not /usr/local/nagios
Would that be possible to change?
Thanks!
Re: nrpe 2.15 solaris 10
No, I'm using a guide.
https://lucamerello.wordpress.com/2014/ ... -and-nrpe/
Something like this for example, I'm just using the general steps in it.
gmake install-daemon-config I'm on this step.
I need to be able to start the daemon process so my ubunutu server can connect to it.
Thanks!
https://lucamerello.wordpress.com/2014/ ... -and-nrpe/
Something like this for example, I'm just using the general steps in it.
gmake install-daemon-config I'm on this step.
I need to be able to start the daemon process so my ubunutu server can connect to it.
Thanks!
Re: nrpe 2.15 solaris 10
I did with with-openssl, and the other ones needed for the Solaris 10 box.
The ./configure ran fine, I need to create a local nagios user in the /usr/local/etc...
I do have root access, however, I was told not to make one there and to make it in a localhome directory that I made.
so, when I use the ./instsall-sh, it says it failed because it doesn't have permission to mkdir /usr/loical/nagios.
The ./configure ran fine, I need to create a local nagios user in the /usr/local/etc...
I do have root access, however, I was told not to make one there and to make it in a localhome directory that I made.
so, when I use the ./instsall-sh, it says it failed because it doesn't have permission to mkdir /usr/loical/nagios.
Re: nrpe 2.15 solaris 10
Can you modify the install-sh with the directory you created for the user?
Former Nagios Employee.
me.
me.
Re: nrpe 2.15 solaris 10
As @hsmith mentioned, modifying the script should work. This may also work for you -
Code: Select all
./configure -prefix=/home/nagios
Former Nagios Employee
Re: nrpe 2.15 solaris 10
Thanks guys, I'm not at work, but I'll try it when I get in.
Also, I could not find in the install-sh where there home directory was being set.
Thanks!
Also, I could not find in the install-sh where there home directory was being set.
Thanks!
Re: nrpe 2.15 solaris 10
It should just be the flag, let us know when you get a chance to give it a try if you have any further questions.
Code: Select all
--prefix=
Former Nagios Employee
Re: nrpe 2.15 solaris 10
The --prefix worked great, thanks!
I am, however, getting another error when I try to ./configure and gmake the nagios plugins.
The error is :l
d: fatal: Symbol referencing errors. No output written to check_disk
collect2: ld returned 1 exit status
gmake[2]: *** [check_disk] Error 1
gmake[2]: Leaving directory `/localhome/nagios-plugins-2.1.1/plugins'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/localhome/nagios-plugins-2.1.1'
gmake: *** [all] Error 2
Thanks!
I am, however, getting another error when I try to ./configure and gmake the nagios plugins.
The error is :l
d: fatal: Symbol referencing errors. No output written to check_disk
collect2: ld returned 1 exit status
gmake[2]: *** [check_disk] Error 1
gmake[2]: Leaving directory `/localhome/nagios-plugins-2.1.1/plugins'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/localhome/nagios-plugins-2.1.1'
gmake: *** [all] Error 2
Thanks!