<div>Greetings!</div>
<div> </div>
<div>I use hobbit to monitor a network of both Solaris and AIX machines.  The hobbit server and client compiled without any problems on Solaris.  But I ran into some problems on AIX 5.2.  During the compile I got errors like this:
</div>
<div> </div>
<div>In file included from hobbit-4.1.2p1/include/libbbgen.h:24,<br>                 from sendmsg.c:35:<br>hobbit-4.1.2p1/lib/osdefs.h:21: error: conflicting types for `socklen_t'<br>/usr/include/sys/socket.h:80: error: previous declaration of `socklen_t'
<br>sendmsg.c: In function `sendtobbd':<br>sendmsg.c:322: warning: passing arg 5 of `getsockopt' from incompatible pointer type<br> </div>
<div>My workaround was to edit hobbit-4.1.2p1/lib/osdefs.h to change this line:
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><font face="Times New Roman"> </font></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><font face="Times New Roman">typedef int socklen_t;</font></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><font face="Times New Roman"> </font></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><font face="Times New Roman">to this:</font></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><font face="Times New Roman"> </font></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><font face="Times New Roman">typedef __ulong32_t socklen_t;</font></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><font face="Times New Roman"></font> </p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><font face="">Then I was able to compile the client and it works. </font></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"> </p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt">But when I try to graph network bits/second using TRENDS:*,netstat:netstat|netstat0 in the bb-hosts entry for my AIX machines, I get blank spots in the graph.  The packets per second graph looks fine.  But there are gaps in the bits per second graph on my busiest servers.  Also the current value at the bottom of the bits per second graph will be NaN.  
</p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"> </p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt">Has anyone else dealt with these two problems?  Are they related?  I have checked the archives and have not seen any messages mentioning these exact problems.</p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"> </p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt">Thank you,</p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"> </p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt">Mark</p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><font face="Times New Roman"></font> </p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><font face="Times New Roman"> </font></p></div>