<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3492" name=GENERATOR><!-- converted from rtf -->
<STYLE>.EmailQuote {
        PADDING-LEFT: 4pt; MARGIN-LEFT: 1pt; BORDER-LEFT: #800000 2px solid
}
</STYLE>
</HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=954025423-22012009><FONT face=Arial 
color=#0000ff size=2>Hi all</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=954025423-22012009><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=954025423-22012009><FONT face=Arial 
color=#0000ff size=2>I got no response from this, and after doing a little more 
experimenting and debugging, found the answer myself, which I am posting, to add 
it to the knowledge pool.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=954025423-22012009><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=954025423-22012009><FONT face=Arial 
color=#0000ff size=2>As stated, we are trying to create a status for a cluster 
system, where there is no physical machine to send the test 
from.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=954025423-22012009><FONT face=Arial 
color=#0000ff size=2>Instead, it will be coming from any one of the cluster 
members.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=954025423-22012009><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=954025423-22012009><FONT face=Arial 
color=#0000ff size=2>We started with the basics, and sent a status 
message file which looked like the one below.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=954025423-22012009><FONT face=Arial 
color=#0000ff size=2>(I am refering to the file you will find in 
~hobbit/client/tmp/msg.$(hostname).txt)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=954025423-22012009></SPAN><SPAN 
class=954025423-22012009><FONT face=Arial color=#0000ff size=2>This caused 
issues, generating false alerts. See previous mail for more 
details.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=954025423-22012009><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=954025423-22012009><FONT face=Arial 
color=#0000ff size=2>Eventually, by ignoring these, and just continuing to forge 
ahead, we added a few more tests to the file, an to our surprise, the false 
alerts went away.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=954025423-22012009><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=954025423-22012009><FONT face=Arial 
color=#0000ff size=2>It seems, xymon/hobbit is not happy to receive such a 
minimalist status message file.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=954025423-22012009><FONT face=Arial 
color=#0000ff size=2>I also found I did not need to add much 
either.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=954025423-22012009><FONT face=Arial 
color=#0000ff size=2>A data file looking like this enough. Disk results went 
green, and reflected the correct status.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=954025423-22012009><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN><SPAN class=954025423-22012009><FONT 
face="Courier New" color=#0000ff size=2>client PERDBS41_EV_SQL2005.bbwin 
win32<BR>[date]<BR>Thu Jan 22 11:46:02 WST 
2009<BR>[disk]<BR>Filesystem     
1K-blocks     Used       
Avail    Capacity    
Mounted      
Summary(Total\Avail)<BR>I              
314568732   24666084  289902648    
7.%       
/FIXED/I        
300.00gb\276.47gb<BR>J               
26210012    6593428   19616584    
25%       
/FIXED/J        
25.00gb\18.71gb<BR>K               
26210012    6593428   19616584    
25%       
/FIXED/K        
25.00gb\18.71gb<BR>L               
26210012    6593428   19616584    
25%       
/FIXED/L        
25.00gb\18.71gb<BR>[clientversion]</FONT></SPAN></DIV>
<DIV><FONT face="Courier New" color=#0000ff size=2></FONT> </DIV>
<DIV dir=ltr align=left><SPAN class=954025423-22012009><FONT face="Courier New" 
color=#0000ff size=2>[who]</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV dir=ltr align=left><SPAN class=954025423-22012009><FONT face=Arial 
color=#0000ff size=2>Strange, but there you have it.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=954025423-22012009><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=954025423-22012009><FONT face=Arial 
color=#0000ff size=2>Regards</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=954025423-22012009><FONT face=Arial 
color=#0000ff size=2>      
Vernon</FONT></DIV></SPAN><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Everett, Vernon 
[mailto:Vernon.Everett@woodside.com.au] <BR><B>Sent:</B> Monday, 19 January 2009 
4:41 PM<BR><B>To:</B> hobbit@hswn.dk<BR><B>Subject:</B> [hobbit] Generating 
custom client data file <BR></FONT><BR></DIV>
<DIV></DIV><FONT face="Arial, sans-serif" size=2>
<DIV>Greetings all</DIV>
<DIV> </DIV>
<DIV>I have an interesting question/problem, and I am hoping somebody can help 
me. (I think this might be one for Henrik though)</DIV>
<DIV> </DIV>
<DIV>We have a Windoze database cluster, with bbwin on each, which works 
OK.</DIV>
<DIV>Those who know the Microsoft cluster software, will know that the "active" 
disks could be resident on any server.</DIV>
<DIV>As a result, you may have a disk appear on one server, then "disappear", 
and suddenly "reappear" on another server in the cluster.</DIV>
<DIV>This makes consistent monitoring and trending difficult.</DIV>
<DIV> </DIV>
<DIV>We decided to try and write a test which created a consistent view of the 
cluster.</DIV>
<DIV>To do this, we created a script which runs on all the members of the 
cluster, but only the "active" member would send results, pretending to be a 
server called $CLUSTER_NAME</DIV>
<DIV> </DIV>
<DIV>To make this happen, we decided  to send a new data file to the hobbit 
server, as if it was a new client altogether.</DIV>
<DIV>(Data file like the one you see when you click on "Client Data" link in the 
disk view)</DIV>
<DIV>Of course, there is no physical server with this name, it's just a 
"place-holder" and an entry in bb-hosts.</DIV>
<DIV> </DIV>
<DIV>We ended up sending just the basics - at least to start with. It looked 
like this.</DIV>
<DIV><FONT face="Courier New, monospace">client <FONT 
face="Courier New, monospace">DBS_CLUSTER</FONT>.bbwin 
win32<BR>[date]<BR>19/01/2009 2:55:51 
PM<BR>[disk]<BR>Filesystem     
1K-blocks     Used       
Avail    Capacity    
Mounted      
Summary(Total\Avail)<BR>I               
314568732   23992884   290575848    
7.%       
/FIXED/I        
300.00gb\277.11gb<BR>J               
26210012   6593428   19616584    
25%       
/FIXED/J        25.00gb\18.71gb</FONT></DIV>
<DIV><FONT face="Courier New, monospace"></FONT> </DIV>
<DIV>Then something really strange happened. (see attached image)</DIV>
<DIV>It graphed the 2 drives OK, but these 2 red entries appeared. They are not 
related to any disk, and we have no idea where they are coming from.</DIV>
<DIV> </DIV>
<DIV>Any ideas or suggestions welcome</DIV>
<DIV> </DIV>
<DIV>Regards</DIV>
<DIV>     Vernon</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><IMG src="cid:954025423@22012009-0B76"> </DIV>
<DIV> </DIV></FONT><PRE>NOTICE: This email and any attachments are confidential. 
They may contain legally privileged information or 
copyright material. You must not read, copy, use or 
disclose them without authorisation. If you are not an 
intended recipient, please contact us at once by return 
email and then delete both messages and all attachments.
</PRE><pre>
NOTICE: This email and any attachments are confidential. 
They may contain legally privileged information or 
copyright material. You must not read, copy, use or 
disclose them without authorisation. If you are not an 
intended recipient, please contact us at once by return 
email and then delete both messages and all attachments.
</pre></BODY></HTML>