All Middleware machines are monitored by Big Brother for such things as disk space, cpu usage, and applications running. Failure of one of these monitors results in the system/service administrators receiving an email notification of the failure. During maintenance these monitors should be disabled to prevent people from receiving unnecessary system alerts. The following outlines the procedure to do this from the machine being monitored.
The usage of
bbmaint is as follows:
Usage: bbmaint disable SERVICE DURATION MESSAGE Usage: bbmaint enable SERVICE SERVICE = service|* Note: SERVICE * must be in double quotes DURATION = nx, number, m mintues, h hours, d days MESSAGE = maint reason Note: MESSAGE with embedded blanks must be in double quotes
Note that the
bbmaint script should be run as the user of the associated service (eg.
ed for the ed-ldap machines).
To disable Big Brother monitoring on a server, you would issue the following command:
$ /opt/local/sbin/bbmaint disable "*" 1d "testing bbmaint"
This example would disable all services for one day and set the reason for being disabled.
To enable Big Brother monitoring on a server, you would issue the following command:
$ /opt/local/sbin/bbmaint enable *
This example will enable all services.