CHECK_SVN

diego.roccia at gmail.com diego.roccia at gmail.com
Fri Nov 19 20:25:22 CET 2010


I think you're right about the problem.
In nagios.cfg file you can find the user you're running these commands as. It's usually nagios

Sent from my BlackBerry® wireless device

-----Original Message-----
From: Luis Gustavo de Andrade Jordão Carneiro
	<Luis.Carneiro at compsisnet.com.br>
Date: Fri, 19 Nov 2010 16:27:13 
To: 'nagios-users at lists.sourceforge.net'<nagios-users at lists.sourceforge.net>
Reply-To: Nagios Users List <nagios-users at lists.sourceforge.net>
Subject: [Nagios-users] CHECK_SVN

Hello People!!



Can you help me?

I installed plugin check_svn in my Nagios 3.2.3. When I run check_svn using prompt, that's work. But not when Nagios running check_svn.



nagiosql:~# su - nagios

nagios at nagiosql:/usr/local/nagios/libexec$ ./check_svn -H 10.0.0.33 --https -U lcarneiro -P xxxx --dir /svn/aocsw_config

SVN OK: svn repository online - directory listing successful



But, when Service Nagios run, not work. See:



SVN CRITICAL: Error connecting to svn server - OPTIONS of 'https://svnaero/svn/aocsw_desenv': Server certificate verification failed: issuer is not trusted (https://svnaero)



Commands.cfg:   $USER1$/check_svn -H $HOSTADDRESS$ --https -U $ARG1$ -P $ARG2$ --dir $ARG3$

Service:

$ARG1$ lcarneiro

$ARG2$ xxxxx

$ARG2$/svn/aocsw_desenv



check_command                   check_svn!lcarneiro!xxxxx!/svn/aocsw_desenv





I already accept certificate permanent (p) using svn info <SVN PATH>.
How can i know which USER run check_svn?
I think this could be the problem, because i need to accept certificate to user that run check_svn.


Luis Gustavo de A. J. Carneiro



------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
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
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
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