<div dir="ltr"><div>I have verified that the hostnames match from the hosts.cfg on the Xymon server.<br><br>Here is the first 10 lines of the msg.<hostname>.txt from the BBWin client (Client Data show available)<br><br>
client <hostname>.bbwin win32<br>[osversion]<br>Microsoft Windows XP Professional Service Pack 3 (build 2600)<br>[cpu]<br>up: 8 days, 2 users, 55 procs, load=13%<br><br><br>CPU states: <br>     total  13%<br>     cpu00  12.7%<br>
<br></div>Here is the first ten lines from the msg.<hostname>.txt that does not report to Xymon.<br><br><div>client <hostname>.bbwin win32<br>[osversion]<br>Microsoft(R) Windows(R) Server 2003, Standard EditionService Pack 2 (build 3790) 32-bit<br>
[cpu]<br>up: 2 Days, 7 users, 89 processes, load=51%<br><br>CPU states:<br>    total    51%<br>    cpu00    31%<br>    cpu01    56%<br><br></div><div>I wrote a vbscript that captured the StdOut from the BBWinCmd.exe.<br></div>
<div>Here is what I was getting:<br></div><div>===Begin Output====<br></div><div>bbdisplay defined to : <xymon server><br></div><div>port defined to : 1984<br></div><div>Sending data ...<br><br></div><div>hostname defined to:  <hostname>  'Note: correct hostname displayed.<br>
<br><br></div><div>Sending to <xymon server> :<br></div><div>data <hostname>.Collector<br></div><div>client<br><br></div><div>====End of Output====<br></div><div>and the script would exit.<br><br></div><div>After your comment about "Client data should come in as a client message rather than data or status."  I went back and executed bbwincmd as : bbwincmd <xymonserver>:<port> uploadmessage msg.<hostname>.txt. and the xymon server is not showing the Client Data available.<br>
<br></div><div>Thank you.<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 9, 2013 at 7:08 PM, Jeremy Laidman <span dir="ltr"><<a href="mailto:jlaidman@rebel-it.com.au" target="_blank">jlaidman@rebel-it.com.au</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Have you checked your ghost report?  Perhaps it's being rejected due to a hostname mismatch.</div>
<div><br></div>Are you sending a client message?  Client data should come in as a client message rather than data or status.  See "man xymon" for the format.  Perhaps you could show us the first 10 lines of the message.<hostname>txt files?<div>


<br></div><div>You could run something like this:<br></div><div>   sudo -u xymon xymoncmd xymond_channel --channel=client sed -n '/^@@client/,+10p' "</div><div>to see if the client messages is being received and processed by Xymon.  This prints the first 10 lines of every client message.</div>


<div><br></div><div>J</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On 10 May 2013 08:31, Scott Post <span dir="ltr"><<a href="mailto:sjpostsr@gmail.com" target="_blank">sjpostsr@gmail.com</a>></span> wrote:<br>


</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div>How to get client data to Xymon server using BBwincmd?<br><br></div>
<div>I have BBWin installed on a Test PC and it reports to my Xymon server just fine.  When I view the client on the Xymon Server, I have Client Data available at the bottom of my tests.  This is same contents as the msg.<hostname>.txt in the tmp directory<br>



<br></div><div>However, I have another system that I am testing on at this time, I can't install BBWin on, but I have a series of vbscripts that I am running that gather the same data and write out a msg.<hostname>.txt for that system.<br>



<br></div><div>From what I have read and understand, I can use the BBwincmd.exe to upload that msg.<hostname>.txt to the Xymon server.<br></div><div>For whatever reason, I can not get the client data to show up for this other system.<br>



<br></div><div>I have compared the two msg.<hostname>.txt from each PC and the are basically identical in format.<br><br></div><div>I have looked at BBWinCmd /? and I believe that BBWinCmd <bbdisplay>:<port> uploadmessage <filename> is the correct option, but the Xymon server never shows Client Data for the second host.<br>



<br></div><div>If I have the scripts, run BBWinCmd status <hostname> <test> <status> <reportdata>, all the information displays on the Xymon server just fine.<br><br></div><div>Can someone please help point me in the right direction?<br>



<br></div><div>Thanks<br></div></div>
<br></div></div>_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com" target="_blank">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>