Debugging Serverscheck
Hi,
Is there way to log debug exactly what serverscheck is doing?
As posted in my previous posts, Serverscheck occasionally just stops executing my rules and therefore doesn't monitor.
For example, I have the 'Group View' displayed showing green across all my checks.
I got a call to say there was a problem this morning.
I checked serverscheck 'All Rules' view, and all checks appear to have stopped at 5:02am today... (but all still show as green)
I checked my monitoring server - all services running, no problems in Event View - even the time listed on the serverscheck main page (to the left of the logged in user) shows the current date and time! (like it IS working).
The page is not cached, no changes have been made...
All logs, Graphs and checks have no data from 5:02am.
If I restart the 2 serverscheck services, it all now started working again.
I really need to prevent these 'hangs'.
Thanks
Is there way to log debug exactly what serverscheck is doing?
As posted in my previous posts, Serverscheck occasionally just stops executing my rules and therefore doesn't monitor.
For example, I have the 'Group View' displayed showing green across all my checks.
I got a call to say there was a problem this morning.
I checked serverscheck 'All Rules' view, and all checks appear to have stopped at 5:02am today... (but all still show as green)
I checked my monitoring server - all services running, no problems in Event View - even the time listed on the serverscheck main page (to the left of the logged in user) shows the current date and time! (like it IS working).
The page is not cached, no changes have been made...
All logs, Graphs and checks have no data from 5:02am.
If I restart the 2 serverscheck services, it all now started working again.
I really need to prevent these 'hangs'.
Thanks
This discussion has been closed.
Comments
1/ Stop the Monitoring Service
2/ Start the s-graphs and s-alerts components by double clicking on it
3/ type following command via the command prompt (and in the ServersCheck directory)
monitoring_manager > debuglog.txt
This will output everything to the debuglog.txt (all activity).
Also, doesn't the monitoring service need to be running for me to have the checks working?
Thanks
The server should not be logged off when running in debug mode.
Is it possible I could get some help in finding why my checks appear to randomly stop?
This morning at 7:43 all the checks stopped being processed.
The time at the top of the serverscheck screen still shows current time.
Both servers check services are running.
No events are logged in Event Viewer.
But all the checks just freeze - with no notification or anything.
I checked the proccess, and they all look normal - no duplicates running are running at high CPU.
What can I check to find why it stopped? (again)
Thanks
Do you have the debuglog.txt ?
I will check with development as they were preparing a special built-in for you that watches the checks and if they stop (for whatever reason), then the monitoring_manager will automatically be restarted.
http://www.serverscheck.com/files/s-service.zip
Here is what it does:
1/ It continously monitors the jobs
2/ If no job has been handled for 5 minutes, then the monitoring_manager is automatically restarted