Big Brother


Tags:

I've seen a lot of requests lately on the Big Brother mailing list for a Solaris 10 SMF manifest for Big Brother. I uploaded mine to the Big Brother script repository:

http://www.deadcat.net.au/

It is called bigbrother.xml and is available for download here:

http://www.deadcat.net.au/viewfile.php?fileid=980


Tags:

On the machine running the process you wish to test for, create a script in the $BBHOME/ext 
directory following the example script below.  Change the `PROC_1` variable to reflect the process
you will `grep` for and the `BBPROG` variable to reflect the name of the script, and change the 
`TEST` variable to reflect the name of the test as it will be displayed on the main BB html page.  

the following example is to test for the SNMP daemon, `snmpdx`


#-----------------------------------------------------------------------------------------

Tags:

mkdir /var/svc/manifest/application/monitoring
create the /var/svc/manifest/application/monitoring/bigbrother.xml file.

contents of bigbrother.xml (change directories, user, group, and stop/start
                            script paths to fit your install):
---------------------------------------------------------------------------------

<?xml version='1.0'?>
<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
<!--
    bigbrother.xml : BigBrother manifest, Kyle Reynolds
    2006-07-02
-->


Tags:

If the big brother html display is converting <> to lt; and gt;
and as a result, the html tags are being printed to the display,
check:

in bbdef-server.sh, change:

RUNOPTS="CONVHTMLTAGS"
export RUNOPTS

to:

RUNOPTS="EMBEDHTML"
export RUNOPTS

which will keep the HTML code as it was recieved.