diff options
Diffstat (limited to 'modules/xymon/templates/xymon-client')
-rw-r--r-- | modules/xymon/templates/xymon-client | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/xymon/templates/xymon-client b/modules/xymon/templates/xymon-client index 1635457c..6bbdd836 100644 --- a/modules/xymon/templates/xymon-client +++ b/modules/xymon/templates/xymon-client @@ -10,7 +10,11 @@ # 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 |