Skip to content

Commit

Permalink
hosticon now links to all graphs from host
Browse files Browse the repository at this point in the history
  • Loading branch information
Meecr0b committed Oct 15, 2015
1 parent 129c689 commit fb18a2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/plugins/icons/pynp.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
# Links to PyNP IMG
def pynp_url(row, what):
if what == "host":
return "view.py?view_name=searchpnp&host_regex=^%s$&service_regex=^%s$&filled_in=filter" % (html.urlencode(row["host_name"]), "Check_MK")
return "view.py?view_name=searchpnp&host_regex=^%s$&filled_in=filter" % (html.urlencode(row["host_name"]))
else:
return "view.py?view_name=searchpnp&host_regex=^%s$&service_regex=^%s$&filled_in=filter" % (html.urlencode(row["host_name"]), html.urlencode(row["service_description"]))

Expand Down

0 comments on commit fb18a2f

Please sign in to comment.