artyomovs / netbox-plugin-config-officer

NetBox plugin that stores configuration diffs and checks templates compliance
Apache License 2.0
102 stars 7 forks source link

404 Page not found #3

Closed alexanderdeca closed 3 years ago

alexanderdeca commented 3 years ago

Hi,

Thanks for the plugin, similar I gave it a go after watching your YouTube video and installed it through PyPi. (NetBox version v2.10.3) However getting a "Page not found error" when running the "collect_device_data".

Not sure where I can look to troubleshoot what might be going wrong.

cheers

Alexander

jpobeda commented 3 years ago

@alexanderdeca , I'd start with looking at those custom links you have created. They should be pointing to https://yournetbox.com/plugins/config_officer/collect_device_config/{{ obj }}

alexanderdeca commented 3 years ago

@alexanderdeca , I'd start with looking at those custom links you have created. They should be pointing to https://yournetbox.com/plugins/config_officer/collect_device_config/{{ obj }}

Yeah that is what I am using : 'https://10.255.255.26/plugins/config_officer/collect_device_config/{{ obj }}' and the same goes for the running-config: 'https://10.255.255.26/plugins/config_officer/running_config/{{ obj.name }}'

jpobeda commented 3 years ago

@alexanderdeca

Replace 10.255.255.26 on those custom links for the FQDN or whatever you use to normally access your netbox instance. And close this issue if that resolved it.

alexanderdeca commented 3 years ago

@alexanderdeca

Replace 10.255.255.26 on those custom links for the FQDN or whatever you use to normally access your netbox instance. And close this issue if that resolved it.

@jpobeda 10.255.255.26 is my netbox ip

artyomovs commented 3 years ago

Hi @alexanderdeca and @jpobeda . Thank you guys. @alexanderdeca could you check whether the plugin is installed. (go to Admin -> Admin -> Installed plugins). I am creating the manual how to install plugin from pip. Will update readme file soon.

alexanderdeca commented 3 years ago

Hi,

The plugin is enabled, from a logging perspective i can see under nginx the correct request with the correct path.

Thanks

On Wed, Mar 10, 2021, 20:59 artyomovs @.***> wrote:

Hi @alexanderdeca https://github.com/alexanderdeca and @jpobeda https://github.com/jpobeda . Thank you guys. @alexanderdeca https://github.com/alexanderdeca could you check whether the plugin is installed. (go to Admin -> Admin -> Installed plugins). I am creating the manual how to install plugin from pip. Will update readme file soon.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/artyomovs/netbox-plugin-config-officer/issues/3#issuecomment-796001679, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEAJEUMCHRAGTCPEG5W47KLTC7FQVANCNFSM4YYFWSDQ .

alexanderdeca commented 3 years ago

Hi @alexanderdeca and @jpobeda . Thank you guys. @alexanderdeca could you check whether the plugin is installed. (go to Admin -> Admin -> Installed plugins). I am creating the manual how to install plugin from pip. Will update readme file soon.

Hi