Jump to content

LT - Offline Servers monitor keeps disabling.

Recommended Posts

This keeps happening to me every day and has been for a couple of weeks now.

I know that monitors trip and disable themselves if the query fails (which it doesn't, it's the stock one from Connectwise) or if the monitor takes too  long to run.  I manage to run in in just a couple of seconds.  The server and DB itself is tuned for performance so that pretty much all of it is in RAM at any one time.

I've looked in the LT logs, but they seem to cycle so fast that I can never find any indication as to what the problem is.

Has anyone else run into this and, hopefully, found a fix?



Edited by pschneider

Share this post

Link to post
Share on other sites

I also noticed the problem at least once in the past month (who knows how long it was Disabled). I asked on the Slack channel and they said the best thing is to create a monitor for Disabled monitors, and possibly automatically reset them. 

Share this post

Link to post
Share on other sites

monitor: Monitor Disabled

table: v_internalmonitors
field: AgentName
check cond.: AnyThing
result: (blank)
identity: AgentName

add'l cond.:
v_internalmonitors.lastscan > DATE_ADD(NOW(),INTERVAL 388800 MINUTE)

edit: I don't think it will disable if the query fails, actually...I've accidentally typo'd the SQL and it just doesn't trigger... :(

Edited by SteveYates

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...