Xymon Mailing List Archive search

Problem using spaces in hobbit-clients.cfg (SVCs)?

list Matthew Roberts
Thu, 1 May 2008 13:26:53 +0930
Message-Id: <user-0b45d2ac6212@xymon.invalid>

Hi All,

I am having the same problem as the one below except I am using hobbit 4.2 with
the allinone patch and the bbwin patch. I was unable to find a solution within
the Mailing List archives so does anyone have a solution? Or is it something
which is an ongoing issue?

Regards,

Problem using spaces in hobbit-clients.cfg (SVCs)?

      To: user-ae9b8668bcde@xymon.invalid
      Subject: Problem using spaces in hobbit-clients.cfg (SVCs)?
      From: Magnus Carlebjörk <user-c92457131d08@xymon.invalid>
      Date: Fri, 4 Apr 2008 11:06:54 +0200 (CEST)
      References: <user-7b97badfac53@xymon.invalid>
      <user-ea90efd95852@xymon.invalid> <user-3cb0c7e92587@xymon.invalid>

Hi,


I'm having problems using spaces in service names in hobbit-clients.cfg. Here is
an example block for a host:

HOST=ABCD123
        UP      1h
        SVC "Pml Driver HPZ12" startup=automatic status=started color=red
        PROC pageant.exe 1 1
        LOAD    80 95
        DISK    * 90 95
        MEMPHYS 90 101
        MEMSWAP 80 90
        MEMACT  90 97

Even though the service is started, hobbit cannot find the service:


red Fri Apr 04 10:57:22 2008 - Services NOT ok &red Pml Driver HPZ12 is Not
Found req automatic started


However, looking at the output on the status page, I can see that the service is
reported and started:

Name                StartupType  Status     DisplayName
Pml Driver HPZ12    automatic    started    Pml Driver HPZ12

I'm using 4.3.0-0.20080402. String handling bug?

Regards,
--
Magnus Carlebjork
Stockholm, Sweden
+46 76 116 9008