NRPE Agent and Setup

Tony Earnshaw tonye at billy.demon.nl
Wed Jun 1 21:13:24 CEST 2005


ons, 01.06.2005 kl. 19.46 skrev Sxan:

> I'm just about to start trying to use the NRPE agent for monitoring
> some remote
> servers (Linux right now and maybe Windows in the future), but I'm
> just not clear on 
> how it works. Does the NRPE Agent run on the remote server and then
> executes 
> plug ins on that remote server, while the Nagios server connects to
> the remote server 
> and gets the results?

Just what isn't clear from the (somewhat limited) docs?

The daemon on a remote note runs the nrpe daemon, the client runs the
client with a call to the demon at the remote host, remote daemon
carries out a check_* command, returns it to the calling client. All can
be guarded with host/client access. Supposedly with SSL, but that last
bit surpasses my understanding (it don't work, according to Ethereal,
but the rest does). Client m/c has to have all the check_* modules in
the default places, with /usr/local/nagios/etc determining where that
is. Much configuration, but only one config per remote node and muc
pleasure :)

>  Or I guess, I just want to know exactly what has to be installed 
> where for me to be able to use the NRPE agent. 
> i.e. 
>  
> 1) NRPE Agent gets installed on the remote server 
> 2) <Something else gets installed on the nagios server> 
> 3) <It gets configured here>
> 4) Restart the Nagios process and it's done. 
> etc...
>  
> Just something like that is really what is needed, the configuration
> details I'm sure 
> I could figure out. It's just unclear as to what goes where in order
> for this to work. I'd be 
> happy if someone could just point me to a decent how-to also, thanks
> in advace.

[...]

> 1) NRPE Agent gets installed on the remote server 
> 2) <Something else gets installed on the nagios server> 
> 3) <It gets configured here>
> 4) Restart the Nagios process and it's done. 
> etc...
>  
> Just something like that is really what is needed, the configuration
> details I'm sure 
> I could figure out. It's just unclear as to what goes where in order
> for this to work. I'd be 
> happy if someone could just point me to a decent how-to also, thanks
> in advace.

AFAIK there's no howto.  Hmmm ... - how did I ever get to know that ...
services.cfg? Calling check_command? O.k., the command has first to be
entered into check_command, after that then into services.cfg.

In all of the above, I've found nagiosQL (web interface) an invaluable
tool, but not for defining command infrastructure.

Without a test machine I'd obviously never hat been to implement
anything.

--Tonni

-- 
mail: tonye at billy.demon.nl
http://www.billy.demon.nl

Eg er bergenser og, eg, men, Trondheims-ordfører Marvin Wiseth:
«Bergenserne er flinke til å gjøre mye ut av lite» (uttalte seg over 17.
mai feiringen iår, men gjelder sannsynligvis og dette mel mitt).



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list