Category5.TV Community Forum
adagios TemplateDoesNotExist: edit_service.html - Printable Version

+- Category5.TV Community Forum (https://forum.category5.tv)
+-- Forum: NEMS - Nagios Enterprise Monitoring Server (https://forum.category5.tv/forum-8.html)
+--- Forum: Help and Support (https://forum.category5.tv/forum-9.html)
+--- Thread: adagios TemplateDoesNotExist: edit_service.html (/thread-316.html)



adagios TemplateDoesNotExist: edit_service.html - borgelite - 09-05-2018

Please help when i edit a host in adagios it will display this error

TemplateDoesNotExist: edit_service.html

If you think this is a bug. Send the following information to the developers:


Code:
Traceback (most recent call last):
 File "/usr/local/lib/python2.7/dist-packages/adagios/views.py", line 43, in wrapper
   result = view_func(request, *args, **kwargs)
 File "/usr/local/lib/python2.7/dist-packages/adagios/objectbrowser/views.py", line 219, in edit_object
   return _edit_service(request, c)
 File "/usr/local/lib/python2.7/dist-packages/pynag/Utils/decorators.py", line 35, in wrap
   return func(*args, **kwargs)
 File "/usr/local/lib/python2.7/dist-packages/adagios/objectbrowser/views.py", line 325, in _edit_service
   return render_to_response('edit_service.html', c, context_instance=RequestContext(request))
 File "/usr/local/lib/python2.7/dist-packages/django/shortcuts/__init__.py", line 29, in render_to_response
   return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs)
 File "/usr/local/lib/python2.7/dist-packages/django/template/loader.py", line 162, in render_to_string
   t = get_template(template_name)
 File "/usr/local/lib/python2.7/dist-packages/django/template/loader.py", line 138, in get_template
   template, origin = find_template(template_name)
 File "/usr/local/lib/python2.7/dist-packages/django/template/loader.py", line 131, in find_template
   raise TemplateDoesNotExist(name)
TemplateDoesNotExist: edit_service.html




RE: adagios TemplateDoesNotExist: edit_service.html - Robbie Ferguson - 09-06-2018

Do not edit a host in Adagios. As per the docs, Adagios' editing functionality is disabled and cannot be used, and will be removed in a future release. It is a replacement for Nagios Core only, but you still use NEMS NConf to configure your hosts (etc.).

Sorry - I know it's confusing that the settings are there in the first place. That's due to the original Adagios developers wanting their system to be a full solution in and of itself. It is on the to-do list to redo the Adagios interface in such a way that removes those unusable features. 1.4.1 has been a very busy cycle, but I will get that done soonish. :)

Thanks,
Robbie