예제 #1
0
 def valuespec(self):
     return ListOfStrings(
         valuespec=ConfigHostname(),
         title=_("Parents"),
         help=_("Parents are used to configure the reachability of hosts by the "
                "monitoring server. A host is considered to be <b>unreachable</b> if all "
                "of its parents are unreachable or down. Unreachable hosts will not be "
                "actively monitored.<br><br><b>Clusters</b> automatically configure all "
                "of their nodes as parents, but only if you do not configure parents "
                "manually.<br><br>In a distributed setup make sure that the host and all "
                "of its parents are monitored by the same site."),
         orientation="horizontal",
     )
예제 #2
0
 def _vs_host(self):
     return ConfigHostname()