Dead Man's Snitch

Posts About Feature

Smart Alerts and Error Notices

Level up your Snitches with our two newest features: Smart Alerts and Error Notices. Both features are focused on letting you know as soon as possible that a critical job ran into problems. They also make it easier for you to get those issues fixed a lot sooner.

Together, Smart Alerts and Error Notices create a powerful combo. Error Notices let you know as soon as a job runs but errors, and Smart Alerts gives you a safety net when/if that job fails to run at all.

Smart Alerts

Smart Alerts empower your Snitches to let you know sooner when they go missing. Dead Man's Snitch will learn from your snitch's check-in behavior and adjust the expected check-in time as it learns more about when your snitch checks-in. This means no longer having to wait until the end of the day to find out your snitch failed to check-in 23 hours earlier.

Smart Alerts are available for weekly and monthly Snitches for all paid plans. Hourly and daily Snitches are supported on the Surveillance Van plan.

Error Notices

It's now possible (and highly recommended) to send your job's exit status along with your check-in rather than checking in only on success. If your job runs but errors, we will immediately notify you if something went wrong.

If you're already using the Dead Man's Snitch Field Agent, then there are no changes required and you can start getting Error Notices today.

If you're using an HTTP client (like Curl) to check-in, you can send the status as the "s" parameter in either the query or a form. We will treat an exit status of "0" as a success and anything else as a failure. When using Cron it's also important to always check-in whenever your job runs and not only on success. To do this replace "&&" with ";" and use "$?" to get the exit status of your command.

Example

run_backups_or_something.sh; curl https://nosnich.in/c2354d53d?s=$?

To get started with Error Notices you can read up on the documentation. This feature is available for users on the Surveillance Van plan

Field Agent

Field AgentIf you haven't already, you may want to add our Field Agent to your tool set. Error Notices is just the first of a host of features we have planned that take advantage of the Field Agent. Start using the Field Agent today so you’ll be ready when we roll those features out.

Posted on 2016-10-25 in alerts, announcement, documentation, feature, release


Introducing: Field Agent

Today we are introducing Field Agent, our new cross platform utility for monitoring your scripts and important jobs. Field Agent watches over your jobs, checks if they error, measures how long they take, and radios it all to Dead Man's Snitch.

We're not ready to take the wraps off of everything that the Field Agent is capable of just yet. We recommend you start using it today so you're able to take advantage of new features as they're released.

Field Agent is a stand alone binary that works on Windows, Linux, MacOS/OSX, FreeBSD, NetBSD, and Solaris. Having no dependencies means installation is easy and it will continue to work even as you upgrade your systems around it.

To get started, download Field Agent for your operating system. Unzip the binary, and then update your jobs to be run by the Field Agent

If you're currently using curl you can switch to using the Field Agent by changing your existing call from this:

/path/to/important_script.sh && curl https://nosnch.in/SNITCHTOKEN

 

To this:

/path/to/dms SNITCHTOKEN /path/to/important_script.sh

 

If you have any questions please check out the documentation or get in touch.

Check-in via Amazon SNS Queues

You can now configure your Snitch's check-in URL to messages from Amazon SNS using an HTTPS subscription. It's now easier to check-in with Dead Man's Snitch when your RDS backups finish.

Happy Snitching!

Posted on 2016-09-06 in announcement, feature, field agent, release