server monitoring

Matthew Macdonald-Wallace lists at truthisfreedom.org.uk
Thu Jul 17 10:29:21 CEST 2008


On Thu, 17 Jul 2008 08:24:28 +0000 (GMT)
Kermito le kermit <angeolivier2003 at yahoo.fr> wrote:

> hello all,
> 
> Ihave one problem, i want to monitoring a server certificat but a
> server nagios dont have acces to this server.   the  server nagios
> hava acces to server ldap who hava acces to certificat server. how i
> can monitoring certificat server by ldap server without install
> something on ldap server like npre
> 
> 
> thanks,


The first thing that springs to mind is using an SSH tunnel on the LDAP
server although I've never tested this.

You could run the following from the nagios server:

ssh -C -L 56666:IP.Address.of.certificate-server:5666 -n
ip.address.of.LDAP-Server

and install NRPE on the certificate server

You would then specify the check_nrpe commands to run against port
56666 on the Nagios server which would forward the data via the LDAP
server to the Certificate server.

As I say, I've not tested this, but in theory at least it should work.

Kind regards,

Matt
-- 
Matthew Macdonald-Wallace
matthew at truthisfreedom.org.uk
http://www.truthisfreedom.org.uk

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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