From: Yves M. <yme...@li...> - 2004-08-31 07:40:07
|
>> > >> > [root@genesis var]# ../libexec/check_tcp -H 10.109.29.2 -p 23 >> > TCP OK - 0.089 second response time on port 23 [ >> B=C3=83=E2=80=A1j=C3=A2=CB=9C=C2=BA@=C3=A2=E2=80=93=E2=80=98=C3=A2=E2=80= =A2=C2=9D] >> > |time=3D88581us;0;0;0;10000 >> > >> > How could I check why the data aren't being imported? >> >> The reason is probably what is in the binary data. >> 1st: try to go around the difficulty instead of jumping over it: is th= ere >> an option to >> check_tcp to write something else than binary data ? check_tcp --help = will >> help you to >> answer. > > [Wilson Pires Jr] > I didn't find any option to avoid the binary data :( > Also the people from nagios-plugin list didn't answer the question. > Anyway, the binary data is before the "|", so I guess pp wouldn't mind = with it. Am I > wrong? Yes, if pp finds a null character before the "|", it stops reading or int= erpreting the line and goes to the next line. If pp finds some end of line character, i= t will stop reading for that line and start interpretint it (without the perf data). = Moreover, the following characters are considered as invalid, and pp will continue on t= he next line ! I don't even know how mysql works if there are strange binary data that p= p does mind working with. Yves --=20 - Homepage - http://ymettier.free.fr - http://www.logicacmg.com - - GPG key - http://ymettier.free.fr/gpg.txt - - Maitretarot - http://www.nongnu.org/maitretarot/ - - GTKtalog - http://www.nongnu.org/gtktalog/ - |