Hello There, Guest! Login Register
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

adagios TemplateDoesNotExist: edit_service.html

#1
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

 Reply
#2
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
Robbie Ferguson // The Bald Nerd

Did I help you out? Appreciate what I do? Please consider saying thanks:
 Reply
 
 
Forum Jump:

Users browsing this thread: 1 Guest(s)