Xymon 4.3.22-beta Release Download
On 10/29/2015 5:44 PM, J.C. Cleaver wrote:
Hello all!
Xymon-4.3.22-beta has been posted to Sourceforge, containing bug fixes and a smattering of new features and improvements since 4.3.21. It's reachable at http://sourceforge.net/projects/xymon/files/Xymon/4.3.22/xymon-4.3.22-beta.t...
Some notable changes are at https://sourceforge.net/projects/xymon/files/Xymon/4.3.22/, while the full Changelog is at https://sourceforge.net/p/xymon/code/7707/tree/branches/4.x-master/Changes
These look like important corrections and additions. I particularly will like the ability to disable "flap detection". I have been out-of-office and have not yet had time to test this release. I hope to make time today or tomorrow to do so.
I am concerned that I see no mention in the changelog of any modification of combo test behavior. The behavior of combo tests (as defined in combo.cfg) is badly broken under Solaris. Failure, test conditions, and a stack excerpt are mentioned in my email to the list: http://lists.xymon.com/archive/2015-October/042382.html
It works correctly on my CentOS installation, but not Solaris. I was able to move my combo test to the CentOS server and forward the result to my Solaris server. This gets the job done for me, but should I be hit by a truck it could be a little difficult for the next person to unwind the convoluted path.
-- 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
On Mon, November 2, 2015 10:21 am, John Thurston wrote:
On 10/29/2015 5:44 PM, J.C. Cleaver wrote:
Hello all!
Xymon-4.3.22-beta has been posted to Sourceforge, containing bug fixes and a smattering of new features and improvements since 4.3.21. It's reachable at http://sourceforge.net/projects/xymon/files/Xymon/4.3.22/xymon-4.3.22-beta.t...
I am concerned that I see no mention in the changelog of any modification of combo test behavior. The behavior of combo tests (as defined in combo.cfg) is badly broken under Solaris. Failure, test conditions, and a stack excerpt are mentioned in my email to the list: http://lists.xymon.com/archive/2015-October/042382.html
It works correctly on my CentOS installation, but not Solaris. I was able to move my combo test to the CentOS server and forward the result to my Solaris server. This gets the job done for me, but should I be hit by a truck it could be a little difficult for the next person to unwind the convoluted path.
The general issue with parentheses should be fixed as of https://sourceforge.net/p/xymon/code/7708/, but more testing in that regard would always help.
I think the Solaris problem here is probably our good friend NULL-into-printf again, though I'd need to see the page output from the CentOS side in comparison to really say for sure.
I hadn't even announced the RC2 tarball from this morning yet, but if you get a chance if you could try the attached patch here with it on your Solaris machine, I believe it will solve the core issue.
combonull.patch http://sourceforge.net/projects/xymon/files/Xymon/4.3.22/xymon-4.3.22-rc2.ta...
Regards,
-jc
On 11/2/2015 11:23 AM, J.C. Cleaver wrote:
- snip -
I hadn't even announced the RC2 tarball from this morning yet, but if you get a chance if you could try the attached patch here with it on your Solaris machine, I believe it will solve the core issue.
combonull.patch http://sourceforge.net/projects/xymon/files/Xymon/4.3.22/xymon-4.3.22-rc2.ta...
I'm building the RC2 right now. It tumbled out the following warnings:
loadalerts.c: In function 'criteriamatch': loadalerts.c:822:9: warning: assignment discards 'const' qualifier from pointer target type dgname = textornull(xmh_item(hinfo, XMH_DGNAME));
xymonping.c: In function 'show_results': xymonping.c:363:5: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] printf(" (%u usec)\n", rtt_usecs); ^
I'm continuing on my way, but thought I'd let'cha'know.
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
On 11/2/2015 11:23 AM, J.C. Cleaver wrote:
The general issue with parentheses should be fixed as of https://sourceforge.net/p/xymon/code/7708/, but more testing in that regard would always help.
My testing with 4.3.22-RC2 and the patch shows expected parenthesis behavior is back. Lovely :) I also continue to see correct arithmetic behavior in combo.cfg
I am testing out the much awaited (by me, anyway) noflap flag.
-- 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
On Mon, November 2, 2015 2:42 pm, John Thurston wrote:
On 11/2/2015 11:23 AM, J.C. Cleaver wrote:
The general issue with parentheses should be fixed as of https://sourceforge.net/p/xymon/code/7708/, but more testing in that regard would always help.
My testing with 4.3.22-RC2 and the patch shows expected parenthesis behavior is back. Lovely :) I also continue to see correct arithmetic behavior in combo.cfg
I am testing out the much awaited (by me, anyway) noflap flag.
Good to hear! I'll add it in.
-jc
John Thurston wrote:
On 10/29/2015 5:44 PM, J.C. Cleaver wrote:
Hello all!
Xymon-4.3.22-beta has been posted to Sourceforge, containing bug fixes and a smattering of new features and improvements since 4.3.21. It's reachable at http://sourceforge.net/projects/xymon/files/Xymon/4.3.22/xymon-4.3.22-beta.t...
Some notable changes are at https://sourceforge.net/projects/xymon/files/Xymon/4.3.22/, while the full Changelog is at https://sourceforge.net/p/xymon/code/7707/tree/branches/4.x-master/Changes
These look like important corrections and additions. I particularly will like the ability to disable "flap detection". I have been out-of-office and have not yet had time to test this release. I hope to make time today or tomorrow to do so.
I am concerned that I see no mention in the changelog of any modification of combo test behavior. The behavior of combo tests (as defined in combo.cfg) is badly broken under Solaris. Failure, test conditions, and a stack excerpt are mentioned in my email to the list: http://lists.xymon.com/archive/2015-October/042382.html
It works correctly on my CentOS installation, but not Solaris. I was able to move my combo test to the CentOS server and forward the result to my Solaris server. This gets the job done for me, but should I be hit by a truck it could be a little difficult for the next person to unwind the convoluted path.
Just built 4.3.22 on my Solaris 10 with gcc version 3.4.6
bash-3.00$ uname -a SunOS oregano 5.10 Generic_127111-06 sun4u sparc SUNW,Ultra-60
Repeating your 4 test cases, these all work for me :-
oregano.shadymint.com.combo= oregano.shadymint.com.http && oregano.shadymint.com.bbd
bash-3.00$ combostatus --no-update --debug 22025 2015-11-02 20:57:25.333972 Opening file /apps/xymon/server/etc/combo.cfg 22025 2015-11-02 20:57:25.339010 Symbolic 'oregano.shadymint.com.http&&oregano.shadymint.com.bbd' converted to '1&&1' 22025 2015-11-02 20:57:25.339322 Adding to combo msg: status oregano,shadymint,com.combo green Mon Nov 2 20:57:25 2015
oregano.shadymint.com.combo= oregano.shadymint.com.http && (oregano.shadymint.com.bbd==0)
bash-3.00$ combostatus --no-update --debug 22102 2015-11-02 20:59:13.388510 Opening file /apps/xymon/server/etc/combo.cfg 22102 2015-11-02 20:59:13.393672 Symbolic 'oregano.shadymint.com.http&&(oregano.shadymint.com.bbd==0)' converted to '1&&(1==0)' 22102 2015-11-02 20:59:13.393944 Adding to combo msg: status oregano,shadymint,com.combo red Mon Nov 2 20:59:13 2015
oregano.shadymint.com.combo= (oregano.shadymint.com.bbd==0) && oregano.shadymint.com.http
bash-3.00$ combostatus --no-update --debug 22506 2015-11-02 21:00:35.628811 Opening file /apps/xymon/server/etc/combo.cfg 22506 2015-11-02 21:00:35.633988 Symbolic '(oregano.shadymint.com.bbd==0)&&oregano.shadymint.com.http' converted to '(1==0)&&1' 22506 2015-11-02 21:00:35.634350 Adding to combo msg: status oregano,shadymint,com.combo red Mon Nov 2 21:00:35 2015
oregano.shadymint.com.combo= (oregano.shadymint.com.http && (oregano.shadymint. com.bbd==0))
bash-3.00$ combostatus --no-update --debug 22708 2015-11-02 21:01:56.237602 Opening file /apps/xymon/server/etc/combo.cfg 22708 2015-11-02 21:01:56.245084 Symbolic '(oregano.shadymint.com.http&&(oregano.shadymint.com.bbd==0))' converted to '(1&&(1==0))' 22708 2015-11-02 21:01:56.245326 Adding to combo msg: status oregano,shadymint,com.combo red Mon Nov 2 21:01:56 2015
oregano.shadymint.com.combo= ((oregano.shadymint.com.bbd==0))
bash-3.00$ combostatus --no-update --debug 22752 2015-11-02 21:03:11.950561 Opening file /apps/xymon/server/etc/combo.cfg 22752 2015-11-02 21:03:11.958343 Symbolic '((oregano.shadymint.com.bbd==0))' converted to '((1==0))' 22752 2015-11-02 21:03:11.958782 Adding to combo msg: status oregano,shadymint,com.combo red Mon Nov 2 21:03:11 2015
Lastly, my original fault regarding arithmetic still works :-
oregano.shadymint.com.combo=
(
oregano.shadymint.com.http +
oregano.shadymint.com.bbd +
oregano.shadymint.com.procs
)\
=3 bash-3.00$ combostatus --no-update --debug 23780 2015-11-02 21:13:20.875867 Opening file /apps/xymon/server/etc/combo.cfg 23780 2015-11-02 21:13:20.881199 Symbolic '(oregano.shadymint.com.http+oregano.shadymint.com.bbd+oregano.shadymint.com.procs)>=3' converted to '(1+1+1)>=3' 23780 2015-11-02 21:13:20.881490 Adding to combo msg: status oregano,shadymint,com.combo green Mon Nov 2 21:13:20 2015
-- Andy
participants (3)
-
abs@shadymint.com
-
cleaver@terabithia.org
-
john.thurston@alaska.gov