[Xymon] combostatus broken [was: Xymon 4.3.20-RC1 Available]
John Thurston
john.thurston at alaska.gov
Tue May 12 23:44:46 CEST 2015
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.
--
Do things because you should, not just because you can.
John Thurston 907-465-8591
John.Thurston at alaska.gov
Enterprise Technology Services
Department of Administration
State of Alaska
More information about the Xymon
mailing list