Associating a Message with a Host

You can set up an HTML link from the host name on the main view and condensed view pages to an information page for that host. If a file exists in the www/notes directory that matches the system name as displayed on the Big Brother pages, links to that file are created in both the bb.html (main page) and bb2.html (condensed page) files.

The file in www/notes can end in .htm, .html, .shtml, or .php3, or have no extension. You can create the file manually or use a "notes" message type:

notes {name of file} {data to write to the file}

For example: notes somewhere.overtherainbow.imlost 123 234 345 456

This message will create a file named somewhere.overtherainbow.imlost and containing 123 234 345 456 in the www/notes directory on the BBDISPLAY host. The notes message will only be accepted if the RUNOPTS variable in etc/bbdef-server.sh has the NOTESMSG keyword defined in it. You can send the notes message using the bb utility. For example:

cd $BBHOME/bin
./bb $BBDISP "notes www.bb4.com.html <HTML><BODY>It's a hit!</BODY></HTML>"

Note. Please be warned that if you enable this feature, a hacker could fill the disk with dummy notes files.  Also note that the file size is limited to the incoming buffer of Big Brother and by the size of the environment buffer.

Note. If you source the Big Brother environment before sending the notes message and you have multiple BBDISPLAY servers, the message will be sent to all BBDISPLAYs.  If you want to send it to only one BBDISPLAY, use that IP address as the command line argument and set the BBDISPLAYS variable to "" just before sending your message.

Tip. The message about a host could include information such as serial numbers, partition sizes, SCSI addresses, or the physical locations of the devices.