mirror of
https://github.com/opinkerfi/nagios-plugins.git
synced 2024-11-25 11:53:48 +01:00
Allow -u "" for service macros
This commit is contained in:
parent
d6e0eee0fb
commit
0828935d90
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user