[Xymon] New remote summaries fail with "Invalid new testname" with at least 4.3.27
Root, Paul T
Paul.Root at CenturyLink.com
Wed Aug 3 16:47:46 CEST 2016
I don’t use summary anymore; but when I did, I seem to remember the color of the summary doesn't propagate to the local server. So I'd say it not appearing in non-green would be appropriate.
The way I used summary was to have an executive view of other sites. So that would be what I wanted.
-----Original Message-----
From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Axel Beckert
Sent: Wednesday, August 03, 2016 9:20 AM
To: xymon at xymon.com
Subject: [Xymon] New remote summaries fail with "Invalid new testname" with at least 4.3.27
Hi,
we have a few scripts which generate their own web page and only send
summaries to the Xymon server. In the past, these messages worked and
looked like this:
summary summary.mac.$vlan $topcolor http://$myname/mac/$vlan.html $date
"mac" showed up as row/hostname and $vlan showed up as column/test.
With not yet received values for $vlan, we get "Bogus message from …:
Invalid new testname: 'mac.dc2552'" error messages in the display of
the xymond test.
According to the xymond/xymond.c source code at line 620, that format
(especially "summary summary" seems expected.
But then again, if I look at the line generating that error message
(line 1254 in the same file), it seems that dots are no more allowed
in test names. (Existing ones are still allowed, probably in line
1251, and hence do not generate these errors and show up.)
So I tried to send messages of the format
summary mac.$vlan $topcolor http://$myname/mac/$vlan.html $date
But now the Remote Status Display table vanished completely from
nongreen.html and I get "Hostname 'mac' in tree, but no host-info"
warnings in the display of the xymond test.
So I reverted that change and now the Remote Status Display table is
back, but so are the "Invalid new testname" errors.
Is this a recent regression? (I found mails on this list about if
summaries really have been fixed in 4.3.20, but without much details.)
Or am I missing something? Has the format of these messages become
stricter on purpose? If so, where are they documented? The "SENDING
SUMMARIES TO REMOTE XYMON SERVERS" section in hosts.cfg(5) seems to be
about "summary" items inside hosts.cfg, not about the syntax of the
summary messages.
Kind regards, Axel Beckert
--
Axel Beckert <beckert at phys.ethz.ch> support: +41 44 633 26 68
IT Services Group, HPT H 6 voice: +41 44 633 41 89
Departement of Physics, ETH Zurich
CH-8093 Zurich, Switzerland http://nic.phys.ethz.ch/
_______________________________________________
Xymon mailing list
Xymon at xymon.com
http://lists.xymon.com/mailman/listinfo/xymon
This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.
More information about the Xymon
mailing list