[ixpmanager] Grapher

Barry O'Donovan barry.odonovan at inex.ie
Sat Feb 24 09:51:28 GMT 2018



Diarmuid O Briain wrote:
> After reading the manual you are left with the impression that this
> command it only generating output to stdout, a sort of test if you will. 
> 
> ------------
> +# Move to the directory where you have installed IXP Manager
> (typically: /srv/ixpmanager)
> +cd $IXPROOT
> +
> +# Generate MRTG configuration and output to stdout:
>  ./artisan grapher:generate-configuration -B mrtg 
> 
> ------------
>  
> However, it appears to be generating these files ?
> 
> ubuntu at ixpm1:/srv/ixpmanager$ ls -la database/Proxies | grep 'Feb 24'
> drwxrwxr-x 1 www-data www-data  3028 Feb 24 06:53 .
> -rw-rw-r-- 1 www-data www-data 12083 Feb 24 06:53 __CG__EntitiesCabinet.php
> -rw-rw-r-- 1 www-data www-data 14049 Feb 24 06:53
> __CG__EntitiesCompanyBillingDetail.php
> -rw-rw-r-- 1 www-data www-data 10639 Feb 24 06:53
> __CG__EntitiesCompanyRegisteredDetail.php
> -rw-rw-r-- 1 www-data www-data  9490 Feb 24 06:53
> __CG__EntitiesInfrastructure.php
> -rw-rw-r-- 1 www-data www-data  7446 Feb 24 06:53
> __CG__EntitiesIRRDBConfig.php
> -rw-rw-r-- 1 www-data www-data 18212 Feb 24 06:53 __CG__EntitiesSwitcher.php
> -rw-rw-r-- 1 www-data www-data 21414 Feb 24 06:53
> __CG__EntitiesSwitchPort.php
> -rw-rw-r-- 1 www-data www-data  8238 Feb 24 06:53 __CG__EntitiesVendor.php
> 
> Is this correct ? 

No.

I'm not entirely sure how or why these are changing. They should be
static but they are autogenerated files. So long as:

 - you have the correct version of libraries (composer install)
 - have not changed database entities
 - are using an official release version

this should not happen.

It's not a major issue and, after it happens one, they should not change
again.

Can you:

cd /srv/ixpmanager   (or where ever $IXPROOT is for you)

and give me the output of:

git --no-pager show | head -1


 - Barry










More information about the ixpmanager mailing list