This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using NLog; | |
using NLog.Common; | |
using NLog.Targets; | |
using NLog.Config; | |
namespace ConsoleApplication1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/platform/python/bin/python | |
import datetime | |
from dateutil.parser import parse as parse_date | |
import sys | |
import cachetclient.cachet as cachet | |
import json | |
ENDPOINT = 'http://status/api/v1' | |
API_TOKEN = '<%= @cachethq_key %>' |