BB Unix Network Monitor - Message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: {bb} where are the alarms for bb-files.sh?



May I suggest using Jeff Stoner's version 1.1 "bb-files.sh" on deadcat  It
also uses a config file but much simpiler to configure in my opinion..... 

The config file "files.cfg"  also goes in the $BBHOME/etc directory but the
syntax seems easier to understand.

Format is:

<host> <type> <file> <size warning> <size critical> <min size> <growth
warning> <growth critical> 

Example:

Web pages directories stay a reasonable size
Www d /home/httpd/htdocs 20480000 40960000 5000 50 75

Make sure a 30K file exists (I use this, to make sure the /var/log
filesustem is mounted)
Localhost f /var/log/testfile -1 -1 25000 -1 -1

If my testfile is not at least 25K then I know either the file was deleted
or the filesystem isnt mounted anymore.

Trent


Trent Melcher
Network/System Administrator
Startouch International LTD.
 

> -----Original Message-----
> From: owner-bb@bb4.com [mailto:owner-bb@bb4.com] On Behalf Of 
> Doctor Khumalo
> Sent: Thursday, December 30, 2004 8:59 AM
> To: bb@bb4.com
> Subject: RE: {bb} where are the alarms for bb-files.sh?
> 
> 
> >- What version of bb-files.sh?
> 
> Version_1
> 
> 
> >- It should report under the "files" column, as earlier posts state
> 
> 
> It doesn't.  Similar to the nmap script, should it be added 
> to the bb-hosts 
> file?
> 
> 
> >- You must restart BB in order to any bb-bbexttab changes to take 
> >effect.
> 
> 
> BB has been restarted a few times since that file was edited.
> 
> 
> >- My filetab has lines like this: 
> >jargon.southside.domain.com<><><>/test_dir/<>test\.txt<><><>2
> M<><><><><
> >><><>
> >
> >where the hostname+domain are with dots, field separator is <>, 
> >filename is a regular expression (hence the \.) and so on.
> 
> 
> OK but that's contrary to the examples gigen in the filetab. That is,
> 
> # E X A M P L E S
> #
> # Failed transfers end up in /home/xfer/failed/* -- these 
> files should not 
> exist
> # but size is not important (obviously). Thus red:green:green 
> and max size 
> -1
> #
> #server1 /home/xfer/failed/*:-1:red:green:green
> #
> #
> # System and bb log files. Default colors are just fine.
> # For host unixware2 we require red alert if the file is 
> missing # (good for security...) # #systemV1 
> /home/bb/bb/BBOUT:5000000 /var/adm/log/confile:20000000 
> #unixware1,domain,com /home/bb/bb/BBOUT:5000000 
> /var/adm/log/osmlog:20000000 
> /var/adm/syslog:20000000
> #unixware2,domain,com /var/adm/log/osmlog:20000000:green:yellow:red
> # More examples: apache logs, multiple lines/host 
> #webserver,domain,com /home/bb/bb/BBOUT:5000000 
> /var/adm/log/osmlog:20000000 
> /var/adm/syslog:20000000 
> /usr/local/apache/logs/access_log:1000000:green:yellow:green 
> /usr/local/apache/logs/error_log:10000000
> #host,domain,com /home/bb/bb/BBOUT:5000000
> #host,domain,com /var/adm/log/confile:20000000
> 
> _________________________________________________________________
> Express yourself instantly with MSN Messenger! Download today 
> - it's FREE! 
> hthttp://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
> 
> -- 
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
> To unsubscribe from this list, or to subscribe to the 
> bb-digest list send e-mail to mailto:majordomo@bb4.com with 
> unsubscribe bb -and/or- subscribe bb-digest in the BODY of 
> the message.
> 


--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.


Home | Main Index | Thread Index