1
0
mirror of https://github.com/opinkerfi/nagios-plugins.git synced 2024-11-22 02:13:44 +01:00

Allow -u "" for service macros

This commit is contained in:
Tomas Edwardsson 2013-06-06 10:11:31 +00:00
parent d6e0eee0fb
commit 0828935d90

View File

@ -44,6 +44,7 @@ def main():
success = 0 success = 0
failed = 0 failed = 0
for uri in plugin.options.uri: for uri in plugin.options.uri:
if not uri: continue
webstate, status = check_website(uri) webstate, status = check_website(uri)
if webstate: if webstate:
success += 1 success += 1