MRTG column - BB Custom Topics A - D - Big Brother - Dell Community

MRTG column

Big Brother

Big Brother
Access more than 800 custom test extensions to share or use in resolving your IT challenges.

MRTG column

This question has suggested answer(s)

Greetings,

Newbie to BB and MRTG. I'm tasked to configure MRTG for BB. Tried few tricks i googled without luck. The below links are the config files

/opt/bb/bb1.9i-btf/ext/bbmrtg.pl : http://pastie.org/private/ufd9ojlt3zqczz0knupw

/opt/bb/mrtg-2.16.2/cfg/mrtg.cfg : http://pastie.org/private/rhdjcigkrbye2ekf19ckdw

-bash-3.00$ env

HZ=

LC_MONETARY=en_AU.UTF-8

SHELL=/bin/bash

TERM=dtterm

LC_NUMERIC=en_AU.UTF-8

LD_LIBRARY_PATH=/usr/lib:/usr/local/lib:/usr/sfw/lib

MAIL=/var/mail/bb

PATH=/opt/bb/bbhome/bin:/usr/local/bin:/usr/bin:/usr/ucb:/etc:/usr/ccs/bin:/usr/sbin:/usr/sfw/bin

LC_MESSAGES=en_AU.UTF-8

LC_COLLATE=en_AU.UTF-8

PWD=/opt/bb

EDITOR=vi

BBHOST=mrtgbb

SHLVL=1

HOME=/opt/bb

LOGNAME=bb

LC_CTYPE=en_AU.UTF-8

BBHOME=/opt/bb/bbhome

LC_TIME=en_AU.UTF-8

_=/usr/local/bin/env

TIA

All Replies
  • can someone please assist me in this ?

  • Did you add the script to etc/bb-bbexttab ? and restarted the BB client (or BB server if you used the BB server's bb-bbexttab config file) ?

    That's where external scripts to be executed by BB are defined.

  • Thanks Rob,

    Below is my bbexttab:

    localhost : : bbmrtg.pl

    And i have restarted the bb server. I still don't have the MRTG column.

    TIA

  • Has anybody encountered such an issue with MRTG ?

  • Hi, can you folks tell me if there should be a configuration alteration in Apache(httpd.conf for example) to display the MRTG column ?

  • First things first,

    Does MRTG work on it's own? Can you see the MRTG graphs by themselves (not within BB).

    If so, have you configured bbmrtg.pl correctly with paths pointing to the proper locations.

    also, in the host that you have added the bbmrtg.pl external script, do you see process associated with it when you "ps axuw" (assuming you are on a Linux type host)

  • Hi Robert,

    Thanks for the hand holding mate. I'm new in this space. On the browser if i do a http://bb-mrtg/cgi-bin/mrtg-rrd.cgi I can see a whole bunch of devices that are poping out graphs. If that answers your question.

    Further, this may be the output you were after:

    bb 27710 6086 0 May 30 ? 0:01 /opt/bb/bbc1.9i-btf/bin/bbrun -a /opt/bb/bbc1.9i-btf/ext/larrd/larrd.pl

    bb 1326 6086 0 Jun 07 ? 0:01 /opt/bb/bb1.9i-btf/bin/bbrun -a /opt/bb/bb1.9i-btf/ext/bbmrtg.pl

    bb 1308 6086 0 Jun 07 ? 0:01 /opt/bb/bb1.9i-btf/bin/bbrun -a /opt/bb/bb1.9i-btf/bin/bb-display.sh

    As far as i think i have pointed the correct locations in the file. http://pastie.org/private/ufd9ojlt3zqczz0knupw. Do let me know where i should look in here.

    Thanks for your time.

    cheers

  • in bbmrtg.pl, this doesn't make sense:

        # Define location for saved logs.
    my $SAVEDLOGDIR =
    'c:/Program Files/Quest Software/Big Brother/BBNT/logs';

    this points to a Windows type location while you are running BB on a U*x box. Use the proper location

    also, this value may not be in your BB install

     Define the path to the Big Brother GIF files.
    my $GIFSDIR = '/hobbit/gifs';

    try /www/gifs