Need clarification

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
ravish78
Posts: 269
Joined: Wed Mar 14, 2012 9:50 am

Need clarification

Post by ravish78 »

Can you please confirm if the following are compatible with soalris 10

nagios-plugins-1.4.13
nrpe-2.12
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Need clarification

Post 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..
ravish78
Posts: 269
Joined: Wed Mar 14, 2012 9:50 am

Re: Need clarification

Post 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.
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Need clarification

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
ravish78
Posts: 269
Joined: Wed Mar 14, 2012 9:50 am

Re: Need clarification

Post by ravish78 »

Please find the make version below:

/usr/ccs/bin/make: ELF 32-bit MSB executable SPARC Version 1, dynamically linked, stripped
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Need clarification

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
ravish78
Posts: 269
Joined: Wed Mar 14, 2012 9:50 am

Re: Need clarification

Post by ravish78 »

Our support team says they are getting error while installing using gnu make.
PLease find attachment.
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Need clarification

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
ravish78
Posts: 269
Joined: Wed Mar 14, 2012 9:50 am

Re: Need clarification

Post 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.
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Need clarification

Post 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...
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked