xymon-client init script does not process global variables in /etc/default/xymon-client

Bug #1425050 reported by phi.mic on 2015-02-24
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xymon (Ubuntu)
Undecided
Unassigned

Bug Description

I set the CLIENTOS variable in /etc/default/xymon-client to rhel3 or to a custom value e.g. ubuntu. The xymon-client init script does not process this CLIENTOS variable.

In need this variable to setup xymon-server file-monitoring for ubuntu clients, because debian and all other linux distributions defined in xymond client-local.cfg using /var/log/messages for syslog. On xymon-server i add the following line to client-local.cfg:

[ubuntu]
log:/var/log/syslog:10240
ignore MARK

But not as expected the xymon-client send the following client data to the xymon-server:

[collector:]
client piwik.vm.uni-freiburg.de.linux linux

In consideration of the CLIENTOS variable the xymon client data should look like

[collector:]
client piwik.vm.uni-freiburg.de.linux ubuntu

lsb_release -rd
----------------------
Description: Ubuntu 14.04.2 LTS
Release: 14.04

apt-cache policy
-------------------------
apt-cache policy xymon-client
xymon-client:
  Installiert: 4.3.7-1ubuntu2
  Installationskandidat: 4.3.7-1ubuntu2
  Versionstabelle:
 *** 4.3.7-1ubuntu2 0
        500 http://ubuntu.ruf.uni-freiburg.de/ trusty/universe i386 Packages
        100 /var/lib/dpkg/status

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers