[ixpmanager] Can't Create New Nagios Template (4.7.0)
Kyle Spencer
kyle at stormzero.com
Wed Jan 24 10:45:35 GMT 2018
Works now. Thanks!
I recommend the docs be updated to include a reference to the skinning
documentation.
On Wed, Jan 24, 2018 at 1:36 PM, Barry O'Donovan <barry.odonovan at inex.ie> wrote:
>
>
> Kyle Spencer wrote:
>> # VIEW_SKIN="myskin"
>
> Right, so skinning is not actually set up.
>
> Please see:
>
> http://docs.ixpmanager.org/features/skinning/
>
> As you've gone with the example from the Nagios docs of 'myskin' you
> should just need to uncomment the above:
>
>
> VIEW_SKIN="myskin"
>
>
> - Barry
>
>> On Wed, Jan 24, 2018 at 1:19 PM, Barry O'Donovan <barry.odonovan at inex.ie> wrote:
>>> What does the following give (from the IXP Manager install dir):
>>>
>>>
>>> cat .env | grep SKIN
>>>
>>> - Barry
>>>
>>>
>>>
>>>
>>>
>>> Kyle Spencer wrote:
>>>> The instructions for skinning Nagios configuration templates do not
>>>> seem to work: http://docs.ixpmanager.org/features/nagios/
>>>>
>>>> Particularly, when doing the following:
>>>>
>>>> # cd $IXPROOT
>>>> # mkdir -p resources/skins/myskin/api/v4/nagios/customers
>>>> # cp resources/views/api/v4/nagios/customers/default.foil.php
>>>> resources/skins/myskin/api/v4/nagios/customers/mytemplate1.foil.php
>>>>
>>>> Attempts to use the API (+key) with that template as per the
>>>> instructions fail. For example this gives me a 404:
>>>> https://portal.djix.dj/api/v4/nagios/customers/1/4/mytemplate1
>>>>
>>>> Laravel's log shows a GET but no errors:
>>>>
>>>> HTTP_HOST : portal.djix.dj
>>>> HTTP_USER_AGENT: <CUT>
>>>> HTTP_COOKIE: PHPSESSID=<CUT>
>>>> REMOTE_PORT: 6241
>>>> REQUEST_METHOD: GET
>>>> REQUEST_URI: /api/v4/nagios/customers/1/4/mytemplate1
>>>>
>>>> Apache's log shows similar. Am I missing something obvious? Using 4.7.0.
>>>>
>>>> Regards,
>>>> Kyle Spencer
>>>>
>>> --
>>>
>>> Kind regards,
>>> Barry O'Donovan
>>> INEX Operations
>>>
>>> https://www.inex.ie/support/
>>> +353 1 531 3339
>>>
>>>
>>> _______________________________________________
>>> INEX IXP Manager mailing list
>>> ixpmanager at inex.ie
>>> https://www.inex.ie/mailman/listinfo/ixpmanager
>>
>>
>>
>
> --
>
> Kind regards,
> Barry O'Donovan
> INEX Operations
>
> https://www.inex.ie/support/
> +353 1 531 3339
>
>
> _______________________________________________
> INEX IXP Manager mailing list
> ixpmanager at inex.ie
> https://www.inex.ie/mailman/listinfo/ixpmanager
--
Cell/WhatsApp/Signal: +256790884905
More information about the ixpmanager
mailing list