Nagios XI Linux agent installation

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Sundar
Posts: 35
Joined: Tue Nov 24, 2015 5:41 am

Nagios XI Linux agent installation

Post by Sundar »

Dear Forum,

I have installed Nagios XI offline in RHEL on customer DIT environment as they don't have internet access. I also tried to install Linux agent on one of the remote servers and it did not allow me to install with the error "Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again". I'm aware of a solution that suggests to modify https to http on epel.repo. I tried that which still did not resolve the issue (may be because there is no internet connection?). So, renamed epel.repo and tried to install the agent which actually worked. I can see the agent up on Nagios XI and can even run check_nrpe successfully.

Now, i'm wondering what I did with the Linux agent installation was correct in the absence of internet connection and it wouldn't have any impact later? Also, I have to install Solaris agents in the same environment, does it need internet access ? Please advise

Regards,
Sundar
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Nagios XI Linux agent installation

Post by rkennedy »

For clarification - which agent are you attempting to install?
Former Nagios Employee
Sundar
Posts: 35
Joined: Tue Nov 24, 2015 5:41 am

Re: Nagios XI Linux agent installation

Post by Sundar »

The Linux agent installed was "linux-nrpe-agent.tar.gz" on RHEL 6.5 by disabling epel.repo (renamed it).

We are yet to install Solaris agent "solaris-nrpe-agent.tar.gz"

Hope I have provided you the information that you were looking for.

Regards,
Sundar
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Nagios XI Linux agent installation

Post by rkennedy »

Which instructions are you following for this install?
Former Nagios Employee
Sundar
Posts: 35
Joined: Tue Nov 24, 2015 5:41 am

Re: Nagios XI Linux agent installation

Post by Sundar »

We referred - https://assets.nagios.com/downloads/nag ... _Agent.pdf

But, please remember renaming epel.repo is something we tried on our own as internet connection isn't enabled on the remote host. Thanks
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Nagios XI Linux agent installation

Post by rkennedy »

Here's a document about how to do it from source - https://assets.nagios.com/downloads/nag ... ios-XI.pdf

Perhaps this one will be a bit more help? Let us know!
Former Nagios Employee
Sundar
Posts: 35
Joined: Tue Nov 24, 2015 5:41 am

Re: Nagios XI Linux agent installation

Post by Sundar »

I'm new to this & sorry if may sound dumb, ...but, how exactly configuring NRPE via source differ from using a Linux agent like we did?

Also, if we use a source code, can we install it offline?? As mentioned in my initial post, the client environment don't have internet enabled on their remote hosts. Please advise.

Regards,
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Nagios XI Linux agent installation

Post by rkennedy »

The './fullinstall' will automatically configure the services related to NRPE, install all pre-reqs, and compile the source as well.

The link I posted goes more in depth about what all is done in the fullinstall. It also describes how to install each component.

For an offline install, you will need to install the pre-reqs, and configure it from the document I linked. I believe you'll run into issues trying to use the ./fullinstall on an offline server.
Former Nagios Employee
Locked