I'm building a tool in Python for which I need to read out error codes for specific devices using the Server-Eye API. Server-Eye is our monitoring solution where all of our devices and the devices of our customers are registered. The documentation at https://api.server-eye.de/ wasn't very helpful or I'm just not finding what I need. Does anybody have any experience with the Server-Eye API?

The Server-Eye support wasn't helpful either. My request apparently was so exotic that they have to discuss the problem in a weekly meeting they are having. No answer from them yet.

What I am able to do is read out customers from our tenant and the devices registered in a customer. I'm also able to format the data that the API gives you which is a huge pain. I just can't seem to find how I can read which sensors are applied to a device or what errors these sensors found.

A usual request would look like this:

requests.get('https://api.server-eye.de/2/customer/cId/containers', params=apiKey)

cId would be the ID of the customer you want to read from.

apiKey is an authorization token which can be generated in the webconsole.

This request gives a response object out of which you have to read the contents with something like .json() or .text.

Any help is appreciated, I'm starting to get real frustrated here as my deadline is slowly approaching.

Looks like you'll have to contract and pay them for your custom solution. I'm reading this from their site:
"Your choice of sensors – for customized monitoring

Evaluate all incoming data reliably – Server-Eye uses information from various sensors for server monitoring. But that’s not all: You can even configure your own sensors if the right solution is not yet available. Alternatively, you can contact us and ask for specific sensors."

What you'll discover in almost all these systems is they look nice and do some things well but when you want more, you pay them to add it in.

commented: This is not true. I have since done it and it didn't cost any money. Server-Eye provides an API from which you can extract any Data. +0

Congrats on solving/writing your own solution.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.