BB Unix Network Monitor - Message

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

Re: {bb} Adding Processes to BB



This is directly from the sample bb-proctab file provided by the bb source. ;)

# bb-proctab: configuration file for process checking
#
# Format:
#
# host:proc list for yellow : proc list for red
# localhost:proc list for yellow : proc list for red
#
# host can be FQDN (fully qualified domain name) or
# just a plain hostname but it is preferred that you
# use a FQDN.
# localhost: using this specifies that the processes
# specified on the line are to be tested on all clients
#
# To make matching more precise, try adding a part of the
# path if possible (/usr/sbin/httpd)
#
# The ! can precede a process to specify that is must not
# be running: i.e. !httpd
# httpd;0 is equivalent to !httpd
#
# You can also specify a process with it's arguments using the
# "" construct: i.e. "httpd -DSSL"
#
# The same host can be specified on multiple lines to aid readability
#
# You can add directives to specify how many processes
# must be running. The directive is specified by delimiting
# it with the process name with a ';'. Valid directives are:
# httpd;999 - Exactly 999 instances of httpd must be running
# httpd;=999 - same as httpd;999
# httpd;<=999 - Less or equal to 999 instances of httpd must be running
# httpd;>=999 - More or equal to 999 instances of httpd must be running
# httpd;<999 - Less than 999 instances of httpd must be running
# httpd;>999 - More than 999 instances of httpd must be running
#
# Note: If you use this construct with a multi word entry:
# i.e. "httpd -DSSL;=999"
# Make sure the ;=999 construct is within the ""
#
# If you put a process with no directives then it is
# test condition is that at least 1 process must be running
# It keeps backward compatibility


localhost: sendmail;<=2 bbrun !xntpdd : httpd;>=16
localhost : :snmpd "sleep 30;<6"
www.bobo.com : inetd : bbd
www: inetdd : bbdd

I am not quite sure what you mean by an alias to a process, but the above should help with the formatting.

Porter, Jerry wrote:

The line looks like this:

licenseserv: : /usr/local/mathmematica/mathlm

Also, two additional questions:

1. If I want to monitor more than one process what should the format of this
line look like?


2. Second, can I assign an alias to a process instead of the process
executable name?

Thanks.

-----Original Message-----
From: PAUL WILLIAMSON [mailto:pwilliamson@mandtbank.com]
Sent: Friday, January 13, 2006 1:41 PM
To: bb@bb4.com
Subject: Re: {bb} Adding Processes to BB


What is the line in bb-proctab with this information?
Does the process you want to monitor match exactly with what you are seeing in a ps -ef?


Paul



jlporte@tycho.ncsc.mil 01/13/06 12:30 PM >>>


I am experiencing an issue trying to monitor processes on my Solaris
servers. I want to be able to monitor a couple of my license manager
processes by name (i.e. mathlm). However, I have created a
BBHOME/etc/bb-proctab and added these processes to the PROCS on my
client
and on my server and all I see under processes are 'cron' and 'bbrun'. What
am I missing here?


Any help would be greatly appreciated.

Thanks.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
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. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-= 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