pynag 0.6.0 をダウンロード

ダウンロード:
提供元サイトからダウンロード

Anyone who has tried Nagios knows that the configuration files can be a pain to manage, especially when the installation starts growing. It takes a lot of time to learn the small nuances of getting things working exactly how you want them. The main goal of this project is to provide a python tool for pragmatically handling configuration file maintenance, and plugin development.

サンプルコード
from pynag import Model
Get all hosts
all_hosts = Model.Host.objects.all
for i in all_hosts:
print i.host_name, i.contacts

IT

Posted by arkgame