Monitor remote machine's memory using Nagios Core
-
vinothsethuram
- Posts: 147
- Joined: Thu Nov 07, 2013 11:44 am
Monitor remote machine's memory using Nagios Core
Can we monitor remote machine's free memory/load using Nagios Core ?
Re: Monitor remote machine's memory using Nagios Core
Yes. NRPE lets you command a remote server to run a certain command and send the results back to Nagios.
http://exchange.nagios.org/directory/Ad ... or/details
http://exchange.nagios.org/directory/Ad ... or/details
Former Nagios employee
-
vinothsethuram
- Posts: 147
- Joined: Thu Nov 07, 2013 11:44 am
Re: Monitor remote machine's memory using Nagios Core
I downloaded nrpe and extracted the folder, but couldnt find check_nrpe command
-
vinothsethuram
- Posts: 147
- Joined: Thu Nov 07, 2013 11:44 am
Re: Monitor remote machine's memory using Nagios Core
Sorry its there.
Re: Monitor remote machine's memory using Nagios Core
I guess I should have been more clear.
The check_nrpe command is found in your nagios plugins directory, and is run on the nagios server. The package you downloaded needs to go on the remote machine you wish to monitor. The following doc can explain better than I can:
http://nagios.sourceforge.net/docs/nrpe/NRPE.pdf
It is somewhat dated (version numbers are not current) but the information is still mostly valid.
If you're looking for a different solution, NCPA might work better. It's a cross-platform agent that supports both active and passive checks:
http://exchange.nagios.org/directory/Ad ... PA/details
In fact now that I think about it, NCPA might be your best choice.
The check_nrpe command is found in your nagios plugins directory, and is run on the nagios server. The package you downloaded needs to go on the remote machine you wish to monitor. The following doc can explain better than I can:
http://nagios.sourceforge.net/docs/nrpe/NRPE.pdf
It is somewhat dated (version numbers are not current) but the information is still mostly valid.
If you're looking for a different solution, NCPA might work better. It's a cross-platform agent that supports both active and passive checks:
http://exchange.nagios.org/directory/Ad ... PA/details
In fact now that I think about it, NCPA might be your best choice.
Former Nagios employee
-
vinothsethuram
- Posts: 147
- Joined: Thu Nov 07, 2013 11:44 am
Re: Monitor remote machine's memory using Nagios Core
/usr/local/nagios/libexec/check_nrpe -H localhost
connect to address 127.0.0.1 port 5666: Connection refused
If I specify a host other than local host then I am getting socket time out
connect to address 127.0.0.1 port 5666: Connection refused
If I specify a host other than local host then I am getting socket time out
Re: Monitor remote machine's memory using Nagios Core
You may want to run through the troubleshooting steps and possible solutions in the following doc:
http://assets.nagios.com/downloads/nagi ... utions.pdf
http://assets.nagios.com/downloads/nagi ... utions.pdf
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
vinothsethuram
- Posts: 147
- Joined: Thu Nov 07, 2013 11:44 am
Re: Monitor remote machine's memory using Nagios Core
Its for Nagios XI not for Nagios core
Re: Monitor remote machine's memory using Nagios Core
Most of that document is relevant to Nagios Core as well.
Former Nagios employee
Re: Monitor remote machine's memory using Nagios Core
In order to check with nrpe, you have to have the daemon running on the host that you are trying to check. The README file from the tarball you downloaded has full instructions on how to compile/install/configure it.