###########################################################################
#
# File: /usr/OV/conf/servmon.conf (default version)
#
# Used for configuring the servmon daemon, establishing which services to 
# discover and monitor on the specified nodes.
#                                                               @PJ29701Astart
# Note: The servmon daemon will not create a service SmartSet unless
# Service SmartSet, Service Label Name, and a Status Interval greater 
# than zero are all specified on the entry for the service. The servmon
# daemon creates the SmartSets up front. It does not wait to discover
# a node containing the service.                              
#
# For UNIX, while Service SmartSets are supported, service icons are not 
# created and the service status does not contribute to the overall status 
# of a node. 
#                                                               @PJ29701Aend  
# The format of each entry is as follows (note that each entry MUST be contained
# on a single line with no trailing comments):
#
#  {Node Field}|{TCP Port,,,}|{Service SmartSet}|{Service Label Name}|\
#    {Discover Test}|{Status Test}|{Discover Node Selection Criteria}|\
#    {Status Interval}
#
# where:
#
#     {Node Field} is the name of the boolean field to create in a node 
#       object if the service is successfully discovered. This field cannot be
#       empty. Embedded white space characters are not allowed in this field.
#
#     {TCP Port,,,} is a comma-separated list of the TCP port numbers to test.
#       Alternatively, this field can contain arguments for a custom plug-in
#       launchable task if one is specified (see {Discover Test} and {Status 
#       Test}). This field can be empty only if both the {Discover Test} and 
#       {Status Test} fields are specified and no arguments are needed.
#
#     {Service SmartSet} is the name of the service SmartSet.             @PJ29701
#       This field should be empty if no 
#       Service SmartSet should be created. This field is used as the node
#       selection criteria for monitoring the status. If this field is empty,
#       servmon does not perform status monitoring for this service. Embedded
#       white space characters are not allowed in this field.
#
#     {Service Label Name} is the symbol label name assigned to a service 
#       icon. This field can only be blank if the {Service SmartSet} field 
#       is blank, and cannot be blank if the {Service SmartSet} field is 
#       specified.
#
#     {Discover Test} is the optional custom plug-in module to use to discover
#       the service. Specify the full path of a launchable application. The 
#       same application can be specified as that specified in the {Status 
#       Test} field. The exact syntax is used by servmon to launch the task.
#
#     {Status Test} is the optional custom plug-in module to use to check the
#       status of the discovered service. Specify the full path of the 
#       launchable application. The same launchable application can be 
#       specified as that specified in the {Discover Test} field. The exact 
#       syntax is used by servmon to launch the task.
#
#     {Discover Node Selection Criteria} specifies which nodes to test when
#       attempting to discover the service. It can be either '*' for all 
#       managed IP nodes, or it can be the name of any existing SmartSet.
#       Embedded white space characters are not allowed in this field.
#
#     {Status Interval} is the interval (in minutes) defining how often to
#       check the status of this service on nodes known to have this service.
#       The maximum value allowed is 44640 minutes. A value of 0 (zero) 
#       denotes that no status checking should be performed for this service.
#       If the value is 0, the SmartSet will not even be created.         @PJ29701
#
#
# Comment lines start with either the '#' or '//' characters. Trailing
# comments on configuration entries are not allowed. Fields are separated
# with the vertical bar ('|') character. Leading and trailing white space 
# characters and quotation marks are ignored. Some fields prohibit embedded
# white space characters as noted above.
#
# Either the forward slash ('/') or backslash ('\') characters can be specified in 
# pathnames for specifying custom plug-in modules for Windows systems.
#                                                               @128982Astart
# Note: There is a special property to enable/disable retrieving secondary IP 
# addresses during bringup. If there is a line in servmon.conf consisting of
# just SECONDARY_IPADDRS, then servmon will go ahead and retrieve secondary IP 
# addresses for the nodes. Otherwise, it will not. By default secondary IP
# addresses are not retrieved. If you are having trouble finding services
# when doing ITM queries, you may need to enable this function.
# However, enabling this function causes a very big performance hit. 
#                                                               @128982Aend  
###########################################################################

# Tests whether the NetView Server (the single member of the SmartSet tino_netview)
#   can contact the URL www.skills-1st.co.uk

isSkillsWWW|www.skills-1st.co.uk/|SkillsWWW|SkillsWWW|/usr/OV/conf/skills/servmon_wget_url.sh|/usr/OV/conf/skills/servmon_wget_url.sh|tino_netview|5

# Tests whether the machines which are members of the SmartSet NetViews 
#   have webservers running on the port specified in field 2 (8080)

isWgetJetty|:8080/|WgetJetty|WgetJetty|/usr/OV/conf/skills/servmon_wget_localserver.sh|/usr/OV/conf/skills/servmon_wget_localserver.sh|NetViews|5

