BB Unix Network Monitor - Message

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

RE : {bb} Email issue



You can also set the DEBUG variable and stop/start bbd. 

According to bbpage.c, you should see if bbd tries to send mail in the stderr 
bbpage.c (lines 582-588)
#if DEBUG
        fprintf(stderr,"Sending out the following mail message:\n");
        fprintf(stderr,"Subject: %s\n",subject);
        fprintf(stderr,"Text: %s\n",mailmsg);
        fprintf(stderr,"Recipient: %s\n",rcpt);
        fflush(stderr);
#endif

You can try to replace your bbwarnrules.cfg with the one installed by the install script (if you still have a copy). 

Or simply put those two lines in the file : 
*;;*;;*;*;yourmail@yourdomain.extension 
unmatched-*;;*;;*;*;yourmail@yourdomain.extension 

N F 

-----Message d'origine-----
De : owner-bb@bb4.com [mailto:owner-bb@bb4.com] De la part de Chris Norris
Envoyé : mercredi 29 juin 2005 05:20
À : bb@bb4.com
Objet : RE: {bb} Email issue


So the line for my Big Brother server in the BB-Hosts file looks to be fine it looks as follows:

10.6.1.50      MONITOR       # BBPAGER BBNET BBDISPLAY !ftp !pop3 ssh
!telnet http://monitor/bb

Which I believe is correct, I have posted below the contents of the BBOUT file, which contains nothing except for an MRTG script error, which is expected as I have not configured MRTG on this box yet, just pulled down the scripts from Deadcat and put them on the box.

Tue Jun 28 22:01:31 CDT 2005: Starting Big Brother...
        Starting Big Brother Daemon (bbd)...
        Starting Network tests (bb-network)...
        Starting Display process (bb-display)...
        Starting external scripts
                Starting external script bbmrtg.pl
                Starting external script bb-snmp.pl
                Starting external script rilo.sh
Big Brother 1.9f started
Tue Jun 28 22:01:36 2005 bbmrtg.pl ERROR: unable to open config file: /home/bbuser/mrtg/mrtg.cfg Tue Jun 28 22:06:36 2005 bbmrtg.pl ERROR: unable to open config file: /home/bbuser/mrtg/mrtg.cfg

Would it help to send you my bbwarnrules files?

-------------------------------------- 
And the Geeks shall inherit the Earth... 
-------------------------------------- 


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