Dead Man's Snitch

Blog

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 10/25/2016 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 09/06/2016 in announcement, feature, field agent, release


iOS Update: More Snitch Details

Version 2.2.0 of the Dead Man's Snitch iOS app is now available for download. The latest version is aimed at making it much easier for you to see what exactly is going on with your job, just like you would if you logged into your dashboard at deadmanssnitch.com.

When viewing snitches on your iOS device, you can now tap on an individual snitch to get a more detailed breakdown. You are now able to view recent history, tags, notes, and messages that were sent with a check-in. With these added details, if something does go wrong with a job, you'll be able to react faster.

In order to make the experience between the app and the website much more seamless, we've updated the icons as well. Another thing we did is fix a bug revolving around error handling. Previously, if there was a network or HTTP error, the app would hang on the loading screen and never display anything. With new error handling, you now know what exactly went wrong.

If you haven't updated to the newest version of Dead Man's Snitch for iOS yet, head on over to the App Store today.

Happy Snitching!

Posted on 08/22/2016 in announcement, ios, release, update


Create Custom Alerts Using Webhooks and Zapier

With the recent launch of Webhook integrations on Dead Man's Snitch it's now easier to hook our alerts into your systems and operations workflow. Webhooks give you the ability to receive critical notifications about your snitches at custom URLs. Zapier makes it easy to take our Webhook alerts and route them to a large and ever growing list of other systems and services.

In this example, we are going to use Zapier to create an alert log in Google Sheets.


The first step is to log into Zapier and create a new Zap with "Catch Hook" as the trigger.


Next, copy the example JSON payload, paste into the "Pick off a Child Key" text field, and then press "Continue". Feel free to only include the information you would like to receive in the payload. You can check out the documentation on Dead Man's Snitch for more setup options.

{
"type": "snitch.reporting",
"timestamp": "2016-07-15T14:13:32.013Z",
"data": {
"snitch": {
"token": "c2354d53d2",
"name": "Critical System Reports",
"notes": "Useful notes for dealing with the situation",
"tags": [ "critical", "reports" ],
"status": "healthy",
"previous_status": "missing"
}
}
}


Once you are on the test step, copy the webhook URL.


Now, add a webhooks integration on Dead Man's Snitch using the copied URL.


After the integration is created, press the "Sent Test" button to send a test payload to the endpoint.


Back on the Zapier page press the "Ok, I did this" button and wait for Zapier to receive your webhook.


Now, set up the action by searching for Google Sheets. Set the action to create a new row in a specific spreadsheet.


After you've connected your Google account and selected a spreadsheet, create headers for all the information in the payload.


Populate all the columns with the sample JSON information from the payload.


Make sure to save your Zap and give it a creative name! Now when Dead Man's Snitch alerts on a failed or missing job, it will automatically update your spreadsheet with the information you customized.

Is there another webhook integration you would like us to look into? Let us know!

Happy Snitching!

Posted on 06/28/2016 in Dead Man's Snitch, integrations, Webhooks, Zapier


Introducing Webhook Integrations for Dead Man’s Snitch

Webhook Alerts

We have added a new integration for receiving alerts via HTTP POST, making it easier to incorporate Dead Man’s Snitch into your own tools and systems. Now you can build tools to better control how and when you get alerted beyond our support for Slack and PagerDuty.

Get started by reading up on our documentation before adding a new integration to your account. Webhooks are available for users on the Private Eye plan or higher. If you’re on the Lone Snitch or Little Birdy plan, head on over to Plans & Billing to upgrade today.

Snitcher (Ruby) 0.4.0 Released

The 0.4.0 release includes a new API client that makes integrating with the Dead Man’s Snitch API a lot easier. This release should make it easier to manage your Snitches with Chef or other custom tools.

Extensive documentation and examples can be found on GitHub.

If there’s anything else you would like to see us add for Dead Man’s Snitch in the future, drop us a line here.

Happy Snitching!

Posted on 06/21/2016 in documentation, integrations, release


Easier Invoicing

We've made it easier to access your invoices and track your expenses. Now, when you receive your email confirming your payment, your invoice is attached right to the email.


As always, you can still find a list of all your invoices on your account page.

Like this and want to let us know? Have ideas on how to make it better? Shoot us an email!

Posted on 02/29/2016 in accounts, announcement, billing, email


Slack Slash Commands

Our Slack Integration just got some exciting enhancements! You can now use the /dms slash command to get information about your snitches right in your Slack channel. You can use it to get a list of your snitches, or check up on a single snitch.


Use /dms missing to get a list of all your snitches that missed their check in, or /dms status followed by a snitches name or token to see how that snitch is doing. /dms list will show you a list of all your snitches. Take control by tacking on a tag or a status to filter the list that is given.

Integrations are available for users on the Private Eye plan or higher. Head to Plans & Billing to upgrade, or your integrations page to get set up! You can read more about our Slack integrations to find out more.

Know how we can be even better? Let us know!

Posted on 02/08/2016 in announcement, integrations, slack


New Year, New Looks

Snitch Activity

We’ve improved what you see when you’re looking at your snitches! When you check up on your snitch, you’ll see a report describing any recent incidents. With this, you will quickly be able to see if your snitch failed to check in at any point, how long it was missing, and if it still needs attention.


We also list your snitch’s check-in activity with all new graphics. It is now easy to see when during a period your snitch checked in. This visual can help you to find abnormalities in your job’s check in time, or just be reassured that everything is running as expected.

Icon Changes

Note, we changed the icon for when a snitch misses a check-in (in preparation for some future developments). You will now be alerted with a blue question mark icon instead of the red 'X'. 


Have Ideas?

Let us know what you would like to see on this page in the future!

Posted on 01/27/2016 in announcement, update


Android Update: Snitches Tell You More

With the latest version of Dead Man's Snitch for Android, we have taken a big step toward giving you the information you need to react quickly and appropriately when the unexpected occurs. Our Android development team has been hard at work so you can get more information about your snitches at a glance.

Snitch Details and Check-in History

In addition to seeing the current state of your snitches, you can now dig deeper to see more information about what is going on within the app. Now you can see your notes about the job and how to fix it if something goes wrong. You can also see the history of your check-in periods and any messages that were sent when it completed or failed.


React Quickly with Enhanced Notifications

We have enhanced our notifications to make it clearer which snitches are acting up and what they are doing. Each snitch now has its own notification stream showing you a timeline of the latest activity right from your lock screen.


Swipe to dismiss the notifications, or click them to open the app directly to the detail screen. Use your notes to let you and your team know about job priority and provide debugging guidelines. Send messages when your jobs succeed or fail so you can react quickly to the problem at hand.

The Usual Stuff

Just as before, you will get push notifications to the app provided you have an upgraded plan. You can also pause any failing snitches to stop those notifications while you investigate the problem, or just decide to wait and see what happens. Either way, we'll still notify you when everything starts working again.

So if you already have an older version, or haven't tried it yet, go download the app to your Android device and start getting informed!

Posted on 12/04/2015 in android, announcement, release, updates


PagerDuty Integration Now Available!

We're extremely excited to announce that we now support sending alerts to PagerDuty! PagerDuty, an Incident Management System for IT Teams, provides alerting, on-call scheduling, escalation policies and incident tracking to increase uptime of your apps, servers, websites and databases. Dead Man's Snitch alerts will show up as incidents and your on-call team members will know immediately if your scheduled jobs go missing.


Integrating with PagerDuty is fast and simple. Head to your account integrations page to get started. Documentation is available here.

If there is a service you would love to see us add support for please let us know!

Posted on 09/03/2015 in integrations, updates