BB Unix Network Monitor - Message

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

Re: {bb} bbgen 3.5 info page question



In <200501251547.j0PFlfC9003416@harmony.ics.purdue.edu> Steve Holmes <sjh@purdue.edu> writes:

>In bbgen 3.5 is there a way to turn off the NK alerts part of the info 
>page? 

>I think it is great, but some of the admins are leary about having their 
>email addresses (or those of mailing lists they are on) on the web. 

No.

But it is fairly simple to do if you hack the code. Around line 380
of bbdisplay/infogen.c you'll find the lines

  alerts = (usebbgend ? NULL :  find_alert(hostwalk->hostentry->hostname, 0, 0));
  if (!dialup) {
         if (alerts) {


Simply change the second line from "if (!dialup) {" to "if (0) {"
and run "make; make install". The next time your info-pages are
updated, the alert information should no longer appear.


Regards,
Henrik
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
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