These message types are disabled by default; for instructions on enabling them, see the RUNOPTS statement in bbdef-server.sh.
Note: There's a management screen available for disabling or enabling notifications, more details can be found in the Temporarily Disabling Notification requests topic
You should be sending these messages only if you require to enable/disable notifications from scripts or scheduled jobs.
Here are some sample messages, showing the message format:
|
Command |
Description |
|
disable:code www.bb4.com* 120 Disk Removal |
This message notifies Big Brother to disable all notifications for the host/service combinations that match the regular expression. Only a BBDISPLAY server should receive this message. The :code portion is required if a management code is defined (in etc/enadiscode), you'd replace "code" with the actual management code. www.bb4.com* is a regular expression that matches all services for www.bb4.com. 120 is how long notifications will be disabled in minutes. You can include m, h, or d after the value to specify if it is in minutes, hours, or days. Disk Removal is an optional message. |
|
enable www.bb4.com* |
This message notifies Big Brother to re-enable all notifications for the host/service combination specified. Only a BBDISPLAY server should receive this message. www.bb4.com* is a regular expression that matches all services for www.bb4.com. |
|
offline www.bb4.com.disk |
This message instructs Big Brother to create the tagfile in the bbvar/disable directory. A BBDISPLAY server automatically sends this message to all BBPAGER servers. It shouldn't be used by scripts. www.bb4.com.disk is the host.service combination to disable. |
|
online www.bb4.com.disk
|
This message instructs Big Brother to remove the tagfile in the bbvar/disable directory. A BBDISPLAY server automatically sends this message to all BBPAGER servers. It shouldn't be used by scripts. www.bb4.com.disk is the host.service combination to enable. |