The discussion revolved around automating the process of rebooting a server that is being monitored using Scoutbees. Various suggestions were made, such as using the API to check alerts on an interval, running a custom hive, and using EdgeDX or RTDX. It was suggested that a user feedback item should be created for this feature. A new version of Scoutbees API was mentioned, which allows for retrieving alerts and writing a script to initiate a server restart based on that. The API can be found at https://api.controlup.com/.
Read the entire ‘Automating Server Reboots for Monitored URLs with Scoutbees and ControlUp API’ thread below:
Hi, question… we monitor our URL’s via Scoutbees, behind some of this url’s is a piece of software which is sometimes unresponsive. The software it self is not reporting any errors in logging, and our support is required to reboot the server. The vendor is not really co-operating in finding a solution, all though we are still hopeful this will be resolved.
To make this more an automated process instead of an manual reboot we are investigating if we can have the scout alerts to force a reboot of the server…. any good suggestions on this? The alerts are received by email for now, but in a nearby future also ServiceNow will be available.
We just need a trigger somewhere for an automated process to run.
I am open minded, so anything that pops-up in your mind can be helpfull 😉
I think your best bet is to use the API to check alerts on an interval
Do you use a cloud hive or a custom hive to run these tests?
cloud hive
@member this is basically asking for a type of "script action" to be ran based on test result.
Marcel, since this is your web server, any chance you have real-time DX agent running on it? We currently dont have integration between synthetic testing and rtdx or edge dx, but just brainstorming here how we could tie things together
Current only the Realtime agent, but Edgedx is also possible.
I was thinking a custom hive could write to an event log. The RTDX (or EdgeDX) agent could then pick up on that.
As a sort of in between solution until we can consider script actions as a formal feature
So would that assume the hive running on the tested webserver itself?
No. We’d take the scout name from the event message.
But it would prevent having to find a way for a hive to write an event to a remote machine. Imagine doing an EUC test. How would the hive write an event log message on the remote machine?
The hive can very easily do that locally though.
I guess Im trying to figure out how this would work with edge dx and rebooting the target web server
Hey Marcel, I think at least putting in a user voice/feedback item from the interface for this is a good idea. Basically to allow for some type of custom action (possibly through edge dx or rtdx) based on a test result/alert
HI @member
We recently released a new version of Scoutbees API which includes ability to retrieve Alerts.
You can use that to get an update specifically on the scout that are interested in and write a script which initiates the server restart based on that.
Continue reading and comment on the thread ‘Automating Server Reboots for Monitored URLs with Scoutbees and ControlUp API’. Not a member? Join Here!
Categories: All Archives, ControlUp Edge DX, ControlUp Scoutbees, ControlUp Scripts & Triggers