Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Webserver Restart to see updated stats? #10

Closed
tedyoung opened this issue May 2, 2013 · 2 comments
Closed

Webserver Restart to see updated stats? #10

tedyoung opened this issue May 2, 2013 · 2 comments

Comments

@tedyoung
Copy link

tedyoung commented May 2, 2013

I started the server and the web server. I then added some new hosts to the hosts.js file, shutdown and restarted the server.js, but the web server wasn't reporting any of the new statistics until I shutdown and restarted the web server. I didn't see anything obvious. Is there some delay in the webserver getting the data from the redis store? Or is it caching the service list?

@iloire
Copy link
Owner

iloire commented Jul 13, 2013

Yes, it is caching the server lists (see lib/service.js)

Ideally, hosts and services would be added using sort of a control panel (auth needs to be implemented), and the data would be stored in redis. Every time a service is created or updated, watchmen would update the corresponding monitoring task.

That´s in the TODO list, I am afraid :)

@iloire
Copy link
Owner

iloire commented Jun 29, 2015

This is not an issue in watchmen 3.x

@iloire iloire closed this as completed Jun 29, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants