Closed tedyoung closed 9 years ago
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 :)
This is not an issue in watchmen 3.x
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?