<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19120"></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=742411119-02092011>Sorry to waste bandwidth - found the correct syntax in
the man files of all places.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=742411119-02092011></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><SPAN class=742411119-02092011>
<DIV><SPAN class=627502718-02092011><FONT face=Arial><FONT color=#0000ff><FONT
size=2><SPAN class=742411119-02092011>cat /tmp/data_file.tmp |
</SPAN>/home/xymon/client/bin/xymon bb_host_IP<SPAN class=742411119-02092011>
</SPAN><SPAN
class=742411119-02092011>"@"</SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=627502718-02092011><FONT face=Arial><FONT color=#0000ff><FONT
size=2><SPAN
class=742411119-02092011></SPAN></FONT></FONT></FONT></SPAN> </DIV>
<DIV><SPAN class=627502718-02092011><FONT face=Arial><FONT color=#0000ff><FONT
size=2><SPAN class=742411119-02092011>Works like a charm, of
course.</SPAN></FONT></FONT></FONT></SPAN></DIV></SPAN></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=742411119-02092011></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=742411119-02092011>-dan</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=742411119-02092011></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=742411119-02092011></SPAN></FONT> </DIV><BR>
<BLOCKQUOTE
style="BORDER-LEFT: #0000ff 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px"
dir=ltr>
<DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B> Dan Smith [mailto:rrdansmith@gmail.com]
<BR><B>Sent:</B> Friday, September 02, 2011 3:00 PM<BR><B>To:</B>
'Xymon@xymon.com'<BR><B>Subject:</B> Can't get data to appear on status
page<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><SPAN class=627502718-02092011><FONT size=2 face=Arial>I've been banging
on this for a few days, so I thought I would throw up a white flag and see if
there is an easy answer for this.</FONT></SPAN></DIV>
<DIV><SPAN class=627502718-02092011><FONT size=2 face=Arial>When I go to the
tab of my custom script, I see the date stamp, but nothing else...the data
that should be displayed is missing.</FONT></SPAN></DIV>
<DIV><SPAN class=627502718-02092011><FONT size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=627502718-02092011><FONT size=2 face=Arial>I am writing a
custom script that will run outside of xymon and just use xymon to return the
the data to my monitoring server.</FONT></SPAN></DIV>
<DIV><SPAN class=627502718-02092011><FONT size=2 face=Arial>I have collected
the data in a file that looks like this:</FONT></SPAN></DIV>
<DIV><SPAN class=627502718-02092011><FONT size=2 face=Arial>status
host.occas_runtime green Fri Sep 2 14:20:13 EDT
2011<BR>DateTime:
2011-09-0214:16:42<BR>ActveAppSession:
0<BR>ActiveSipSession:
0<BR>DestroyedAppSession:
2561<BR>DestroyedSipSession:
2538<BR>MsgsProcessed:
3965<BR>MsgsReceived:
3967<BR>MsgsRejected:
0<BR>FailedSipTrans:
0<BR>SipThroughput:
40<BR>SuccessSipTrans:
33<BR>TotalAppSession:
3963<BR>TotalSipSession:
3955<BR></FONT></SPAN></DIV>
<DIV><SPAN class=627502718-02092011><FONT size=2 face=Arial>I am sending the
file to the xymon server with this command:</FONT></SPAN></DIV>
<DIV><SPAN class=627502718-02092011><FONT size=2
face=Arial>/home/xymon/client/bin/xymon bb_host_IP- <
/tmp/data_file.tmp</FONT></SPAN></DIV>
<DIV><SPAN class=627502718-02092011><FONT size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=627502718-02092011><FONT size=2 face=Arial>When I go to the
tab for this monitor, I see the date stamp, but nothing else. It's like
the rest of the data got truncated.</FONT></SPAN></DIV>
<DIV><SPAN class=627502718-02092011><FONT size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=627502718-02092011><FONT size=2 face=Arial>The host is
red hat. I am using the client from xymon
4.3.4.</FONT></SPAN></DIV>
<DIV><SPAN class=627502718-02092011><FONT size=2
face=Arial></FONT></SPAN><SPAN class=627502718-02092011><FONT size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=627502718-02092011><FONT size=2 face=Arial>It seems like when
I send the data using the xymon client, I'm actually sending it one line at a
time...which might explain why only the first line goes through. Is
there a right way to do this?</FONT></SPAN></DIV>
<DIV><SPAN class=627502718-02092011><FONT size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=627502718-02092011><FONT size=2 face=Arial>Is there something
else that I'm missing?</FONT></SPAN></DIV>
<DIV><SPAN class=627502718-02092011><FONT size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=627502718-02092011><FONT size=2
face=Arial>-dan</FONT></SPAN></DIV>
<DIV><SPAN class=627502718-02092011><FONT size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=627502718-02092011><FONT size=2
face=Arial> </DIV></BLOCKQUOTE></FONT></SPAN></BODY></HTML>