Hi Mike,

 

actually we use the rancid integration with our own config collection mechanism – which uses git. The result is probably exactly the same as the URL you gave.

 

>From what I see in http://fisheye.observium.org/changelog/Observium?cs=5964 the key points are:

-    Add svn/git selector (i.e. decide which VCS to use for a given config)

-    Specialcase log parser (if applicable, haven’t compared svn log to git log yet..)

-    Allow alphanum chars in revision regex for git

-    Use “git show $rev:$filename” rather than svn cat

-    Use git diff with its syntax rather than svn diff

 

to get the git part flying.

 

As a personal preference, I’d love to have the max configs part configurable. ;-)

 

If you want a test-bunny for a demo code just ask me.

 

TIA!

Best,

Kilian

 

From: observium [mailto:observium-bounces@observium.org] On Behalf Of Mike Stupalov
Sent: Tuesday, November 11, 2014 8:09 AM
To: Observium Network Observation System
Subject: Re: [Observium] Rancid SVN integration makes apache2 crash

 

Rancid able use git?

You use this? https://dotwaffle.github.io/rancid-git/

 

Currently only supported svn.
Maybe if someone give me the archive with git configs, I will try to add support this SCM.

 

On Tue, Nov 11, 2014 at 2:21 AM, <krause@rus.uni-stuttgart.de> wrote:

Mike,

 

that’s awesome!

 

Can’t we just use this new way to also support other VCS‘ like Git? ;-)

 

Best,

Kilian

 

From: observium [mailto:observium-bounces@observium.org] On Behalf Of Mike Stupalov
Sent: Monday, November 10, 2014 4:59 PM
To: Observium Network Observation System
Subject: Re: [Observium] Rancid SVN integration makes apache2 crash

 

On 10.11.2014 14:18, Ole Hansen wrote:

I see. But I'll loose versioning in the (observium) webinterface then, right?

Try latest revision.
Code for show rancid config rewritten without php-svn extension.

Anyway I recommend you uninstall this php extension.

 

Ole

 

On 10/11/2014, at 11.03, Mike Stupalov <mike@observium.org> wrote:

 


php-svn extension too old and faulty.
In fact, we do not recommend use it.

$ sudo apt-get remove php5-svn
$ sudo service apache2 restart

On 10.11.2014 12:41, Ole Hansen wrote:

Hi,

 

We're using Observium Subscription-version on a Ubuntu 14.04 LTS server.

 

I've configured the Rancid-integration and the basic "show configuration" works, but as soon as i click the button for a previous version Apache restarts with:

[Mon Nov 10 10:33:09.544998 2014] [core:notice] [pid 1327] AH00051: child pid 1337 exit signal Segmentation fault (11), possible coredump in /tmp/dump

 

I've configured apache to core dump into /tmp/dump and gdb tells me:

 

Core was generated by `/usr/sbin/apache2 -k start'.

Program terminated with signal SIGSEGV, Segmentation fault.

#0  0x00007f82cbbf0398 in is_numeric_string_ex (allow_errors=-1, oflow_info=0x0, dval=<synthetic pointer>, lval=0x1, length=<optimized out>, str=0x7f82c198cf38 "164")

    at /build/buildd/php5-5.5.9+dfsg/Zend/zend_operators.h:255

255 /build/buildd/php5-5.5.9+dfsg/Zend/zend_operators.h: No such file or directory.

 

I'm suspecting some svn permissions or likewise, but my www-data user (which runs apache) is a member of the rancid group and should have permission to read the files.

 

Any clues where to look?

 

-- 

Ole Hansen



_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium



-- 
Mike Stupalov
http://observium.org

_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

 



_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium



-- 
Mike Stupalov
http://observium.org


_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

 



--

Mike Stupalov
http://observium.org/

_______________________________________________

observium mailing list

observium@observium.org

http://postman.memetic.org/cgi-bin/mailman/listinfo/observium