kerberos-io / web

(DEPRECATED) An open source GUI to configure the machinery and to view events that were detected by the machinery.
https://www.kerberos.io
225 stars 69 forks source link

no feedback when the machinery is not running #32

Closed Orabig closed 8 years ago

Orabig commented 8 years ago

Whenever the machinery (kerberosio process) is down, the 'system' page in the web says it's running, which could be misleading.

The 'system' page should give correct informations about the process (if it's running).

cedricve commented 8 years ago

What do you mean with process is running, currently there is only the mention about the version available on the system. Maybe we'll need to add an extra section with running services (ps -aux or htop).

For the system page we use the Linfo library, when running on Linux we can use the getProcessStats or getServices. You can find a complete list of methods here.

Orabig commented 8 years ago

Yes, adding some ps -aux | grep kerberosio | grep -v grep would be the solution, I think.

currently there is only the mention about the version available on the system

Untrue : The System page is telling :

Kerberos.io has two services running: the web and the machinery
cedricve commented 8 years ago

Hmm that's a good one, didn't expect that someone would interpret it like that; but yes I confirm your reasoning. My purpose with this message was that I only wanted to note that Kerberos.io comes with two services.

I confirm that it's confusing and that we should fix this.

cedricve commented 8 years ago

screen shot 2016-05-12 at 09 51 12 screen shot 2016-05-12 at 09 51 30