Xymon Mailing List Archive search

combostatus broken [was: Xymon 4.3.20-RC1 Available]

list Japheth Cleaver
Tue, 12 May 2015 15:33:03 -0700
Message-Id: <user-b1cf0605067e@xymon.invalid>


On Tue, May 12, 2015 2:44 pm, John Thurston wrote:
On 5/12/2015 6:20 AM, J.C. Cleaver wrote:
...
Please take a pounding on it and let me know if you notice any problems
--
combostatus doesn't seem to be working as expected.

Lines in combo.cfg of the form:
  f.bar.com.conn = foo.bar.com.conn
work just fine.

Lines of the form:
  f.bar.com.conn = foo.bar.com.conn + baz.bar.com.conn
also seem to work fine.

But lines containing any constants seem to fail:
  f.bar.com.conn = foo.bar.co.connm + 1
leave footprints in the debug log like:
2015-05-12 13:37:38.838687 Item '1' has no testname part
2015-05-12 13:37:38.838886 Item '1' has no testname part
2015-05-12 13:37:38.839026 Invalid data for symbol calculation - missing
host/testname: 1
26080 2015-05-12 13:37:38.839158 Symbolic 'foo.bar.com.conn+1' converted
to '1+0'
and things like:
  f.bar.com.conn = (foo.bar.com.conn + baz.bar.com.conn ) >= 1
leave footprints in the debug log like:
2015-05-12 13:37:38.839331 Item '1' has no testname part
2015-05-12 13:37:38.839476 Item '1' has no testname part
2015-05-12 13:37:38.839609 Invalid data for symbol calculation - missing
host/testname: 1
26080 2015-05-12 13:37:38.839775 Symbolic
'(foo.bar.com.conn+baz.bar.com.conn)>=1' converted to '(1+1)>=0'

It seems to assume everything must be a host.test name-pair doesn't seem
able to parse the constants off the line. Yes, this is still under
Solaris 10 on sparc.
Hi,

I suspect this is actually related to
https://sourceforge.net/p/xymon/code/7610/ (adding initial-digit support
for hostnames to combo.cfg). Taking a closer look now.


Regards,

-jc