Page 1 of 2

Need clarification

Posted: Fri Jul 19, 2013 2:11 pm
by ravish78
Can you please confirm if the following are compatible with soalris 10

nagios-plugins-1.4.13
nrpe-2.12

Re: Need clarification

Posted: Mon Jul 22, 2013 9:29 am
by slansing
There have been guides on how to compile NRPE for Solaris 10, so I would say that yes, it is compatible. Please take a look at this link:

https://www.google.com/search?q=nrpe+so ... =firefox-a

Also, please do not double post, we see everyone's thread so there is no need to bump..

Re: Need clarification

Posted: Mon Jul 22, 2013 11:01 am
by ravish78
Thank you for the information.

Our system support team was facing issue while installing this below packages and doing make on solaris 10
nagios-plugins-1.4.13
nrpe-2.12

Attached is the error they are getting during installs.Can you please suggest what might be missing.

Re: Need clarification

Posted: Mon Jul 22, 2013 3:40 pm
by lmiltchev
Are you using the GNU make or the Solaris make? What is the output of the following command?

Code: Select all

make --version

Re: Need clarification

Posted: Tue Jul 30, 2013 10:07 am
by ravish78
Please find the make version below:

/usr/ccs/bin/make: ELF 32-bit MSB executable SPARC Version 1, dynamically linked, stripped

Re: Need clarification

Posted: Tue Jul 30, 2013 10:42 am
by lmiltchev
It seems like you are using the Solaris make. Try using the GNU make instead and see if this is going to fix your issue.

Re: Need clarification

Posted: Tue Aug 06, 2013 9:46 am
by ravish78
Our support team says they are getting error while installing using gnu make.
PLease find attachment.

Re: Need clarification

Posted: Tue Aug 06, 2013 10:32 am
by lmiltchev
Unfortunately, we are not able to test this in house. However, I found a guide on configuring NRPE on Solaris 10, with a possible solution to your problem:
http://utahsysadmin.com/2008/03/14/conf ... olaris-10/

You may try commenting out the following lines in the "nrpe.c" file (699-702):

Code: Select all

else if(!strcmp(varvalue,"authpriv"))
		log_facility=LOG_AUTHPRIV;
	else if(!strcmp(varvalue,"ftp"))
		log_facility=LOG_FTP;
or replacing them with:

Code: Select all

else if(!strcmp(varvalue,”authpriv”))
			log_facility=LOG_AUTH;
	else if(!strcmp(varvalue,”ftp”))
		log_facility=LOG_DAEMON;
and recompiling. Hope this helps.

You can also try to use our official solaris agent installer, instead of trying to compile it on your own:

http://assets.nagios.com/downloads/nagi ... _Agent.pdf

Re: Need clarification

Posted: Tue Aug 20, 2013 1:33 pm
by ravish78
My support team tried this and still facing issues.

Attached error file .Below are their comments

We have tried by commenting out below lines and then trying to install Nagios but still we are getting error attached in mail:

623 # else if(!strcmp(varvalue,"authpriv"))^M
624 # log_facility=LOG_AUTHPRIV;^M
625 # else if(!strcmp(varvalue,"ftp"))^M
626 # log_facility=LOG_FTP;^M

Also tried to install nagios from http://assets.nagios.com/downloads/nagi ... _Agent.pdf link but same result.

Re: Need clarification

Posted: Tue Aug 20, 2013 3:20 pm
by scottwilkerson
What is the error you received when you followed these instructions?
http://assets.nagios.com/downloads/nagi ... _Agent.pdf

Because what you posted certainly isn't from following this document...