This file contains hidden or 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
{# /srv/salt/generic/nagios/plugins/check_disk/files/map.jinja -#} | |
{% from "nagios/plugins/check_disk/files/map.jinja" import check_disk with context -%} | |
{% include ".hash_headers.jinja" -%} | |
{% for node in check_disk -%} | |
command[check_disk{{ check_disk[node]['canonical'] }}]=/usr/lib64/nagios/plugins/check_disk{{ check_disk[node]['args'] }} | |
{% endfor -%} |
This file contains hidden or 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
#!/usr/bin/python python | |
import threading | |
from ovirtsdk.api import API | |
from ovirtsdk.xml import params | |
from ovirtsdk.infrastructure.errors import (NoCertificatesError, | |
ImmutableError, | |
RequestError, | |
ConnectionError, | |
MissingParametersError) |
This file contains hidden or 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
def parse(ziphandle, klass, filename): | |
intance=klass() | |
if not filename in ziphandle.namelist(): | |
filename = filter(lambda f: f.lower() == filename.lower(), ziphandle.namelist())[0] | |
NewerOlder