Skip to main content

Nagios Development Kit

Project description

Nagios Development Kit

NDK is a software development framework for defining Nagios Object in code and deploy it to your Nagios.

Use the NDK to define your resources you want monitor to.

Quick Start

Example

from ndk.stack import Stack

from ndk.objects.command import Email
from ndk.objects.host import Host
from ndk.objects.timeperiod import TwentyFourSeven

stack = Stack('StackTesting')
_24x7 = TwentyFourSeven(stack)
email = Email(stack)
host = Host(stack, host_name='foo',
            check_period=self.tp, notification_period=self.tp)

print(stack.synth())

Testing

pytest

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ndk-0.1.0.tar.gz (11.8 kB view hashes)

Uploaded Source

Built Distribution

ndk-0.1.0-py3-none-any.whl (25.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page