Did I find the right examples for you? yes no

All Samples(6)  |  Call(0)  |  Derive(0)  |  Import(6)

src/s/a/salt-2014.1.3/salt/modules/pagerduty.py   salt(Download)
HAS_LIBS = False
try:
    import pygerduty
    HAS_LIBS = True
except ImportError:

src/s/k/skyline-HEAD/src/analyzer/alerters.py   skyline(Download)
def alert_pagerduty(alert, metric):
    import pygerduty
    pager = pygerduty.PagerDuty(settings.PAGERDUTY_OPTS['subdomain'], settings.PAGERDUTY_OPTS['auth_token'])
    pager.trigger_incident(settings.PAGERDUTY_OPTS['key'], "Anomalous metric: %s (value: %s)" % (metric[1], metric[0]))
 

src/s/a/salt-HEAD/salt/modules/pagerduty.py   salt(Download)
HAS_LIBS = False
try:
    import pygerduty
    HAS_LIBS = True
except ImportError:

src/s/a/salt-thin-HEAD/salt/modules/pagerduty.py   salt-thin(Download)
HAS_LIBS = False
try:
    import pygerduty
    HAS_LIBS = True
except ImportError:

src/p/y/pygerduty-0.19/bin/grab_oncall.py   pygerduty(Download)
import getpass
import optparse
import pygerduty
import re
import sys

src/p/y/pygerduty-HEAD/bin/grab_oncall.py   pygerduty(Download)
import getpass
import optparse
import pygerduty
import re
import sys