checks

base

datadog_checks.base.checks.base.AgentCheck

alias of datadog_checks.base.checks.base.__AgentCheckPy2

network

class datadog_checks.base.checks.network.EventType[source]
class datadog_checks.base.checks.network.NetworkCheck(*args, **kwargs)[source]

Bases: datadog_checks.base.checks.base.__AgentCheckPy2

This class should never be directly instantiated. This class is deprecated, please make your checks inherit from the AgentCheck class directly.

STATUS_TO_SERVICE_CHECK = {'CRITICAL': 2, 'DOWN': 2, 'UP': 0, 'WARNING': 1}
check(instance)[source]
report_as_service_check(sc_name, status, instance, msg=None)[source]

This function should be implemented by inherited classes

class datadog_checks.base.checks.network.Status[source]
CRITICAL = 'CRITICAL'
DOWN = 'DOWN'
UP = 'UP'
WARNING = 'WARNING'