Internal Server Error: {u'kwargs': {}, u'args': (), u'request': <rest_framework.request.Request object at 0x7f24137d2450>, u'view': <nagios.restapi.ServiceProxyViewSet object at 0x7f24137d2150>}
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/rest_framework/views.py", line 463, in dispatch
response = handler(request, *args, **kwargs)
File "/usr/share/openattic/rest/multinode/handlers.py", line 64, in list
results.append(serializer.data)
File "/usr/lib/python2.7/dist-packages/rest_framework/serializers.py", line 503, in data
ret = super(Serializer, self).data
File "/usr/lib/python2.7/dist-packages/rest_framework/serializers.py", line 239, in data
self._data = self.to_representation(self.instance)
File "/usr/lib/python2.7/dist-packages/rest_framework/serializers.py", line 472, in to_representation
ret[field.field_name] = field.to_representation(attribute)
File "/usr/lib/python2.7/dist-packages/rest_framework/fields.py", line 1645, in to_representation
return method(value)
File "/usr/share/openattic/nagios/restapi.py", line 67, in get_performance_data
return obj.perfdata
File "/usr/share/openattic/nagios/models.py", line 89, in perfdata
perfdata = self.state.get("performance_data", "").strip()
File "/usr/share/openattic/nagios/models.py", line 84, in state
raise KeyError("The status for this service could not be found in Nagios's status cache.")
KeyError: "The status for this service could not be found in Nagios's status cache."