aboutsummaryrefslogtreecommitdiffstats
path: root/modules/xymon/templates/xymon-client
blob: 6bbdd836823f502b7850bf2b995ec44d9efec514 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Configure the Hobbit client settings.

# You MUST set the list of Hobbit servers that this
# client reports to.
# It is good to use IP-adresses here instead of DNS 
# names - DNS might not work if there's a problem.
#
# E.g. (a single Hobbit server)
#   HOBBITSERVERS="192.168.1.1" 
# or (multiple servers)
#   HOBBITSERVERS="10.0.0.1 192.168.1.1" 

<% if scope.function_versioncmp([lsbdistrelease, '5']) >= 0 %>
XYMONSERVERS="<%= server %>"
<% else %>
HOBBITSERVERS="<%= server %>"
<% end %>

# The defaults usually suffice for the rest of this file, 
# but you can tweak the hostname that the client reports 
# data with, and the OS name used (typically needed only on 
# RHEL or RHAS servers).

# CLIENTHOSTNAME=""
# CLIENTOS="rhel3"