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:
parent
d6e0eee0fb
commit
0828935d90
@ -44,6 +44,7 @@ def main():
|
||||
success = 0
|
||||
failed = 0
|
||||
for uri in plugin.options.uri:
|
||||
if not uri: continue
|
||||
webstate, status = check_website(uri)
|
||||
if webstate:
|
||||
success += 1
|
||||
|
Loading…
Reference in New Issue
Block a user