On 1 October 2012 23:42, Andersson Tomas <span dir="ltr"><<a href="mailto:tomas.andersson@sca.com" target="_blank">tomas.andersson@sca.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi there !<br>
Has anybody got xymon to function properly with windows 2008r2 clients in central mode ??<br>
I get it to function properly using local mode but I want to use central mode usinf the latest BBwin 0.13.<br></blockquote><div><br></div><div>Sorry, I don't monitor any Windows boxes.  But I'll try to give helpful answers.</div>

<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The OS-name whithin brackets [ ]   is this name win32 for windows 2008r2 also or should this "OS-name" (uname on all unixlike machines) be specified to something else like win64 on windows 2008r2 machines or ??<br>

</blockquote><div><br></div><div>The OS options are win32, bbwin and powershell.  You probably want "bbwin".</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


Is there a command that xymon uses to figure out the os type on windows server or how does this function ??<br></blockquote><div><br></div><div>Xymon looks for the OS type in the client data.  Look at your Windows server's client data to and see the line in the [collector:] section.  Here's an example for a Linux host:</div>

<div><br></div><div><font face="courier new, monospace">[collector:]<br>client server001.linux linux<br>[date]<br>Tue Oct  2 14:49:32 EST 2012<br>[uname]<br>...</font></div><div><br></div><div>In this case, the OS type being reported by the client is "linux" (immediately after the hostname) and the host class is also "linux".  Typically, these are the same, but the host class can be overridden on the client (eg by setting "configclass" in the bbwin.cfg file).<br>

<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Is it possible to specify [] or [*] as a default entry in the client-local.cfg on the xymon server ???<br></blockquote>

<div><br></div><div>No.  Because the OS configurations are stored in a binary tree, the match must be exact.</div><div><br></div><div>But you can override the OS name with a matching hostname if you like.  If the hostname matches, that will be used.  Otherwise, the OS will be used.</div>

<div><br></div><div>[The code for clientlocal seems to suggest that you can usurp the selection of OS if the host class matches instead.  But I can't find confirmation of this in the doco.  This is probably not helpful to you.]</div>

<div><br></div><div>Cheers</div><div>Jeremy</div><div><br></div></div>