what are the things that I need to consider If I want to move away from NRDS when monitoring devices with SSH instead
any best practices I should consider from the SSH configuration perspective, more from the nagios xi server perspective. Primary because I have abour 300 servers and that means that the nagios ssh will initiate that amount of ssh sessions
Question - check_by_ssh
Re: Question - check_by_ssh
Assuming you are going to gravitate towards active checks, myself and a colleague ran a quick test. We measured the time it takes to run the same command from Nagios XI (CLI) via NRPE, then via check_by_ssh:
NRPE: 0m0.006s
SSH: 0m0.269s
Of course these results are going to vary from system to system, but it seems the key exchange is what took the longest. The act of encrypting the check results is a matter of bytes and did not account for much in THIS scenario.
Given the vast number of variables involved, we do not have an established bass line in regards to the hit on resources check_by_ssh will introduce.There is a spirited discussion on the topic here, and nobody seems have noticed much of a performance impact when using check_by_ssh:
[url]http://serverfault.com/questions/2 ... rpe-vs-ssh[/url]
Here is our XI set-up guide for using check-by-ssh
https://assets.nagios.com/downloads/nag ... ng_SSH.pdf
- Hope this helps -
NRPE: 0m0.006s
SSH: 0m0.269s
Of course these results are going to vary from system to system, but it seems the key exchange is what took the longest. The act of encrypting the check results is a matter of bytes and did not account for much in THIS scenario.
Given the vast number of variables involved, we do not have an established bass line in regards to the hit on resources check_by_ssh will introduce.There is a spirited discussion on the topic here, and nobody seems have noticed much of a performance impact when using check_by_ssh:
[url]http://serverfault.com/questions/2 ... rpe-vs-ssh[/url]
Here is our XI set-up guide for using check-by-ssh
https://assets.nagios.com/downloads/nag ... ng_SSH.pdf
- Hope this helps -
Be sure to check out the Knowledgebase for helpful articles and solutions!
Re: Question - check_by_ssh
Thanks for the input.
NRPE requieres and agent. How mature is NRPE and how flexible is?
NRPE doesn't seem to support AIX 7.1. and it doesn't support RHEL 7
also the agent installation requires a lot packages to be installed, and that is a problem is the device is behind a firewall
NRPE requieres and agent. How mature is NRPE and how flexible is?
NRPE doesn't seem to support AIX 7.1. and it doesn't support RHEL 7
also the agent installation requires a lot packages to be installed, and that is a problem is the device is behind a firewall
Re: Question - check_by_ssh
I would say NRPE is a pretty mature project. NRPE-1.3 was released in 2002. It is pretty flexible, too. You can set up a variety of checks, including running custom scripts, running checks against remote servers, etc.NRPE requieres and agent. How mature is NRPE and how flexible is?
We always recommend running our Linux agent installer script, as it makes installing NRPE, and Nagios plugins very simple. RHEL 7 and CentOS 7 are supported.NRPE doesn't seem to support AIX 7.1. and it doesn't support RHEL 7
As for installing NRPE on AIX 7.1, you could download the source and build it yourself.
http://www.ehow.com/how_8791563_install-nrpe-aix.html
You will need to open the "default" NRPE port 5666 in the firewall, unless you decide to use a different port. You can even install NRPE in an offline environment. We don't have an offline installer, but you can download the Linux agent on the different machine (with Internet access) and moving it over to your server, i.e in the "/tmp/" directory.also the agent installation requires a lot packages to be installed, and that is a problem is the device is behind a firewall
Run:
Code: Select all
cd /tmp
tar zxvf linux-nrpe-agent.tar.gz
cd /tmp/linux-nrpe-agent
touch installed.repos
touch installed.prereqsLastly, run the fullinstall script:
Code: Select all
./fullinstallBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Question - check_by_ssh
Thanks a lot. that helped a lot. you can close this ticket