MAXMSG_* not working correctly?
list Sean Clark
I have a test that is currently being truncated – it's about 400k in size I tried setting this: MAXMSG_STATUS="4096" MAXMSG_CLIENT="4096" MAXMSG_CLICHG="4096" MAXMSG_DATA="4096" MAXMSG_NOTES="4096" MAXMSG_STACHG="4096" MAXMSG_PAGE="4096" MAXMSG_ENADIS="4096" MAXMSG_USER="4096" And then this: (to not be 32768) MAXMSG_STATUS="31744" MAXMSG_CLIENT="31744" MAXMSG_CLICHG="31744" MAXMSG_DATA="31744" MAXMSG_NOTES="31744" MAXMSG_STACHG="31744" MAXMSG_PAGE="31744" MAXMSG_ENADIS="31744" MAXMSG_USER="31744" But still I get: -bash-3.2$ ./xymon localhost "xymondlog hostname.testname" > /var/tmp/testname.this -bash-3.2$ ls -lh /var/tmp/testname.this -rw-r--r-- 1 xymon xymon 391K Jul 10 15:47 /var/tmp/testname.this Is there some setting I am missing ? This E-mail and any of its attachments may contain Time Warner Cable proprietary information, which is privileged, confidential, or subject to copyright belonging to Time Warner Cable. This E-mail is intended solely for the use of the individual or entity to which it is addressed. If you are not the intended recipient of this E-mail, you are hereby notified that any dissemination, distribution, copying, or action taken in relation to the contents of and attachments to this E-mail is strictly prohibited and may be unlawful. If you have received this E-mail in error, please notify the sender immediately and permanently delete the original and any copy of this E-mail and any printout.
list Torsten Richter
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I am running 4.3.7 on Linux and have MAXMSG_CLIENT=900 MAXMSG_STATUS=900 in my xymonserver.cfg and I only get notified if data rushes in that is bigger than 900kB (!). So in your case the data could be 4 MB. But I have had issues with values above 1024 with older versions of XYmon and I haven't tried them yet with the actual release. HTH Torsten
▸
On 10.07.2012 21:50, Clark, Sean wrote:I have a test that is currently being truncated – it's about 400k in size I tried setting this: MAXMSG_STATUS="4096" MAXMSG_CLIENT="4096" MAXMSG_CLICHG="4096" MAXMSG_DATA="4096" MAXMSG_NOTES="4096" MAXMSG_STACHG="4096" MAXMSG_PAGE="4096" MAXMSG_ENADIS="4096" MAXMSG_USER="4096" And then this: (to not be 32768) MAXMSG_STATUS="31744" MAXMSG_CLIENT="31744" MAXMSG_CLICHG="31744" MAXMSG_DATA="31744" MAXMSG_NOTES="31744" MAXMSG_STACHG="31744" MAXMSG_PAGE="31744" MAXMSG_ENADIS="31744" MAXMSG_USER="31744" But still I get: -bash-3.2$ ./xymon localhost "xymondlog hostname.testname" > /var/tmp/testname.this -bash-3.2$ ls -lh /var/tmp/testname.this -rw-r--r-- 1 xymon xymon 391K Jul 10 15:47 /var/tmp/testname.this Is there some setting I am missing ? This E-mail and any of its attachments may contain Time Warner Cable proprietary information, which is privileged, confidential, or subject to copyright belonging to Time Warner Cable. This E-mail is intended solely for the use of the individual or entity to which it is addressed. If you are not the intended recipient of this E-mail, you are hereby notified that any dissemination, distribution, copying, or action taken in relation to the contents of and attachments to this E-mail is strictly prohibited and may be unlawful. If you have received this E-mail in error, please notify the sender immediately and permanently delete the original and any copy of this E-mail and any printout.
- -- +---------------------------------------------------------+
| E-mail : user-c862b499d9fa@xymon.invalid | | | | Homepage: http://www.richter-it.net/ | +---------------------------------------------------------+ Download my public key from: http://gpg-keyserver.de/pks/lookup?search=0x899093AC&op=get -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) iEYEARECAAYFAk/8kr4ACgkQ7DlmxomQk6wJ4ACg45bQxdrHLyDg0n8On7xzsmDm rl8AoMZSNp/Mrv6NcEMBJf2bCCLNyKEt =Hm5Z -----END PGP SIGNATURE-----
list Steven Carr
What part of the message is being truncated? are you sending a final blank line? I've seen on some tests I've wrote that if you don't send a final line the last part of the message is wiped out. Steve
▸
On 10 July 2012 21:38, Torsten Richter <user-c862b499d9fa@xymon.invalid> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I am running 4.3.7 on Linux and have MAXMSG_CLIENT=900 MAXMSG_STATUS=900 in my xymonserver.cfg and I only get notified if data rushes in that is bigger than 900kB (!). So in your case the data could be 4 MB. But I have had issues with values above 1024 with older versions of XYmon and I haven't tried them yet with the actual release. HTH Torsten On 10.07.2012 21:50, Clark, Sean wrote:I have a test that is currently being truncated – it's about 400k in size I tried setting this: MAXMSG_STATUS="4096" MAXMSG_CLIENT="4096" MAXMSG_CLICHG="4096" MAXMSG_DATA="4096" MAXMSG_NOTES="4096" MAXMSG_STACHG="4096" MAXMSG_PAGE="4096" MAXMSG_ENADIS="4096" MAXMSG_USER="4096" And then this: (to not be 32768) MAXMSG_STATUS="31744" MAXMSG_CLIENT="31744" MAXMSG_CLICHG="31744" MAXMSG_DATA="31744" MAXMSG_NOTES="31744" MAXMSG_STACHG="31744" MAXMSG_PAGE="31744" MAXMSG_ENADIS="31744" MAXMSG_USER="31744" But still I get: -bash-3.2$ ./xymon localhost "xymondlog hostname.testname" >/var/tmp/testname.this-bash-3.2$ ls -lh /var/tmp/testname.this -rw-r--r-- 1 xymon xymon 391K Jul 10 15:47 /var/tmp/testname.this Is there some setting I am missing ? This E-mail and any of its attachments may contain Time Warner Cable proprietary information, which is privileged, confidential, or subject to copyright belonging to Time Warner Cable. This E-mail is intended solely for the use of the individual or entity to which it is addressed. If you are not the intended recipient of this E-mail, you are hereby notified that any dissemination, distribution, copying, or action taken in relation to the contents of and attachments to this E-mail is strictly prohibited and may be unlawful. If you have received this E-mail in error, please notify the sender immediately and permanently delete the original and any copy of this E-mail and any printout.- -- +---------------------------------------------------------+ | E-mail : user-c862b499d9fa@xymon.invalid | | | | Homepage: http://www.richter-it.net/ | +---------------------------------------------------------+ Download my public key from: http://gpg-keyserver.de/pks/lookup?search=0x899093AC&op=get -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) iEYEARECAAYFAk/8kr4ACgkQ7DlmxomQk6wJ4ACg45bQxdrHLyDg0n8On7xzsmDm rl8AoMZSNp/Mrv6NcEMBJf2bCCLNyKEt =Hm5Z -----END PGP SIGNATURE-----
list Henrik Størner
▸
On 10-07-2012 21:50, Clark, Sean wrote:
I have a test that is currently being truncated – it's about 400k in size I tried setting this: MAXMSG_STATUS="4096"
MAXMSG_STACHG="4096"These two should be enough. NB: You must restart Xymon for this to take effect! You can verify it with the "ipcs -m" command (must be run as the "xymon" user).
▸
-bash-3.2$ ./xymon localhost "xymondlog hostname.testname" > /var/tmp/testname.this -bash-3.2$ ls -lh /var/tmp/testname.this -rw-r--r-- 1 xymon xymon 391K Jul 10 15:47 /var/tmp/testname.this
Do you get any messages logged in the xymond.log file about messages being truncated ? If not, then the truncate happens on the sending side. Regards, Henrik