<HTML>
<HEAD>
<TITLE>Re: [hobbit] Need help determining why alerts didn't come</TITLE>
</HEAD>
<BODY>
<FONT FACE="Lucida Grande"><SPAN STYLE='font-size:11pt'>I’ve noticed inability to correctly parse “df” if you have long device names (think device-mapper).<BR>
<BR>
My solution was to change DF=”df –k” in bbsys.local to DF=”df –k –P” for POSIX mode.<BR>
<BR>
Try that and see if it helps?<BR>
<BR>
<BR>
On 11/7/08 9:52 AM, "Bouchard, Brian" <<a href="Brian-Bouchard@idexx.com">Brian-Bouchard@idexx.com</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT SIZE="2"><FONT FACE="Arial"><SPAN STYLE='font-size:10pt'>Hello Hobbit Gurus,<BR>
 <BR>
I am seeking help determining why we recently received only some alerts that were configured on a given server.<BR>
 <BR>
 <BR>
 <BR>
In my hobbit-clients.cfg file I have multiple sections of relevance:<BR>
 <BR>
#######################################################<BR>
# generic checks for all WebLogic Servers<BR>
#######################################################<BR>
HOST= applesauce,gravy,enchilada,chips<BR>
        DISK    *       95 97<BR>
        PROC dsmcad 1 -1 yellow<BR>
        FILE "%/wls_domains/.*/jrockit..*.dump" NOEXIST red<BR>
#######################################################<BR>
# specific checks for applesauce<BR>
#######################################################<BR>
HOST=applesauce<BR>
       LOG  /var/log/messages "%(?-i)SERIOUS_CRITICAL" COLOR=yellow<BR>
       PROC "weblogic.Name=" 3 3 red TEXT=TOTAL_WEBLOGIC_PROCESSES<BR>
       PROC "weblogic.Name=prod_alsb_01" 1 1 red TEXT=PROD_ALSB_01<BR>
       PROC "weblogic.Name=prod_ccs_wli_01" 1 1 red TEXT=PROD_CCS_WLI_01<BR>
       PROC "weblogic.Name=prod_ccs_aldsp_01" 1 1 red TEXT=PROD_CCS_ALDSP_01<BR>
 <BR>
 <BR>
So, a couple of questions:<BR>
 <BR>
1)</SPAN></FONT><SPAN STYLE='font-size:10pt'><FONT FACE="Times New Roman">       </FONT><FONT FACE="Arial">Is it valid to have different alerts for the same HOST in the hobbit-clients.cfg like this?  It seemed to work in some instances, but I should ask before moving forward…<BR>
<BR>
</FONT></SPAN></FONT><FONT FACE="Lucida Grande"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT><FONT SIZE="2"><FONT FACE="Arial"><SPAN STYLE='font-size:10pt'>2)</SPAN></FONT><SPAN STYLE='font-size:10pt'><FONT FACE="Times New Roman">       </FONT><FONT FACE="Arial">Yesterday, I received the alerts with TEXT=  “TOTAL_WEBLOGIC_PROCESSES” and “PROD_ALSB_01” when I logged onto the server, I found the filesystem this process was running on was 100% used, which caused this process to die.  I cleaned up a bunch of log files, and restarted the process and all was good…  BUT… Why didn’t I receive the alert that the DISK was more than 97% full.  I checked the history for the disk usage, and it had been over 95% for at least 6 hours prior to the process going down.  Also, the check for the “jrockit” file did not kick off when that file was create  (after the filesystem was at 100%)  I need to determine why we weren’t warned on the disk space issue before our production application came down.<BR>
<BR>
</FONT></SPAN></FONT><FONT FACE="Lucida Grande"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT><FONT SIZE="2"><FONT FACE="Arial"><SPAN STYLE='font-size:10pt'>3)</SPAN></FONT><SPAN STYLE='font-size:10pt'><FONT FACE="Times New Roman">       </FONT><FONT FACE="Arial">One other thing I noticed was that the IP address for this server was incorrect in the bb-hosts file.  I assume that’s an issue, but I’m not sure why we got some expected alerts and not others.  Also, I updated this entry in the bb-hosts file to the correct IP, and cycled the hobbit server, but I am still not receiving the alert on the jrockit file, which is still out there.<BR>
 <BR>
Any help is appreciated.  I’m relatively new to Hobbit, so its completely within the realm of possibility that I don’t have any of this set up correctly. Please feel free to correct me on anything that looks out of whack.<BR>
 <BR>
- Brian<BR>
</FONT></SPAN></FONT><FONT FACE="Lucida Grande"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT></BLOCKQUOTE>
</BODY>
</HTML>