mirror of https://github.com/Icinga/icinga2.git
parent
2f59aa38a3
commit
8016943592
|
@ -53,7 +53,8 @@ for plugin in plugins:
|
||||||
print(" import \"snmp-extend-service\",")
|
print(" import \"snmp-extend-service\",")
|
||||||
print()
|
print()
|
||||||
print(" check_command = \"snmp-extend\",")
|
print(" check_command = \"snmp-extend\",")
|
||||||
print(" macros[\"community\"] = \"%s\"," % (community))
|
print(" macros.community = \"%s\"," % (community))
|
||||||
|
print(" macros.plugin = \"%s\"," % (plugin))
|
||||||
print()
|
print()
|
||||||
print(" assign where host.macros.address == \"%s\"" % (ipaddr))
|
print(" assign where host.macros.address == \"%s\"" % (ipaddr))
|
||||||
print("}")
|
print("}")
|
||||||
|
|
Loading…
Reference in New Issue