Xymon Mailing List Archive search

hobbit Digest 11 Jan 2007 19:46:40 -0000 Issue 528

1 message in this thread

list James B Horwath · Thu, 11 Jan 2007 16:09:52 -0500 ·
Thomas:
I see the same thing on AIX 5.1 ML07 machines. In the script: hobbitclient-aix.sh change this line from:
netstat -an | grep "^tcp"
to
netstat -an | grep "^tcp" | head -5000

Most likely the netstat command is looping on the same MAC.  The above line fixed the problem.

Regards,
Jim

----- Message from user-bb3e9041f07f@xymon.invalid on Thu, 11 Jan 2007 18:19:56 +0100 -----

To:

user-ae9b8668bcde@xymon.invalid

Subject:

Strange behaviour on AIX 4.3.3

Hi ! 
and Happy New Year to everybody !

This afternoon we've seen an abnormal size for the msg.txt file in 
client 
directory. Here is output :

PSP100 /opt/hobbit/client/tmp>ll
total 934872
-rw-r--r--   1 root     hobbit         0 Jan 11 10:43 hobbit_vmstat.PSP100.50948
-rw-r--r--   1 root     hobbit        38 Jan 11 09:18 
logfetch.PSP100.cfg
-rw-r--r--   1 hobbit   hobbit        41 Jan 11 10:43 logfetch.PSP100.status
-rw-r--r--   1 root     hobbit     16384 Jan 11 10:43 msg.PSP100.txt
-rw-r--r--   1 hobbit   hobbit   478629888 Jan 11 08:52 msg.PSP100.txt.86546
-rw-r--r--   1 hobbit   hobbit         0 Jan 11 08:49 sar.12108
-rw-r--r--   1 root     hobbit         0 Jan 11 10:43 sar.40790
PSP100 /opt/hobbit/client/tmp>> msg.PSP100.txt.86546

As you can see a file reached 500M in size !! You could notice that some 
files were created by 'root'. Well... it's not good 'cause that meaned someone in my team launched Hobbit with this account ! Anyway, it's not the first time I see such size for this file on the machine. How may I prevent that ?

Sincerly,

Thomas

This message, and any attachments to it, may contain information
that is privileged, confidential, and exempt from disclosure under
applicable law.  If the reader of this message is not the intended
recipient, you are notified that any use, dissemination,
distribution, copying, or communication of this message is strictly
prohibited.  If you have received this message in error, please
notify the sender immediately by return e-mail and delete the
message and any attachments.  Thank you.