[mrtg] Re: Dell PowerConnect 3024 Switch

Ed Johnson johnson-c at mail.mssc.edu
Mon Aug 12 16:56:14 MEST 2002


Hi Darryl,
  We have a bunch of Dell Power Connect Switches here at MSSC. I had a little 
trouble getting them set up, but I think I've got it pretty fairly whipped 
now.
  Are you running Windows or Linux? It makes a difference.
  For Linux the following will work:

First, make the configuration file. Make sure you know what your 
community-string is! (The [\] are for line continuation. Otherwise this is 
all one long command.)

cfgmaker \
--global "Workdir: PATH-TO-YOUR-WORKING-DIRECTORY" \
--global "Options[_]: growright,bits" \
--ifref=nr \
--no-down \
--show-op-down \
--descint \
COMMUNITY-STRING at IP-OR-NAME > OUTPUT-PATH-FOR-YOUR-CFG-FILE.cfg

Next, you'll have to fix the .cfg. it breaks 2 lines in every section. Once 
after a ["], and another after a [']. The switch.fix file is attached. Either 
place it in the current working directory, or modify the path in the command.																																						

sed -f switch.fix 	PATH-TO-YOUR-CFG.cfg > /tmp/TEMP-FILE

After the .cfg file is fixed, remove the old .cfg file and replace it with the 
TEMP-FILE. (NOTE: You have to output to another file! Don't stomp your 
original!)

Finally, create the index.

indexmaker PATH-TO-YOUR-CFG-FILE.cfg \
--output=OUTPUT-PATH-FOR-YOUR-DEVICE.html \
--title=DEVICE-NAME \
--columns=3 \
--width=500 \
--height=200 \

  These commands (with the exception of the sed script) will work for any 
platform. You can adjust options to suit yourself. Consult the documentation 
for details. As far as I know, sed only works under Linux/Unix. If you're 
using Windows you may have to find a different tool to fix the broken lines 
in the config file. If you're only dealing with one file you may even decide 
to do it by hand. But if you've got a whole bunch of files (like us) you'll 
need some way to automate the editing process.
  I hope this helps. If you need anything else, give us a holler.
Ed Johnson
Network Administrator's Office
Missouri Southern State College
johnson-c at mail.mssc.edu 

On Monday 12 August 2002 03:10 pm, you wrote:
> Hi, I am trying to monitor and graph the port usage on a series of Dell
> PowerConnect 3024 switches and don't know where to start, the SNMP public
> community is set to GET = On but I don't have any more information on the
> switch and CFGMAKER doesn't like it.
>
>
>
> Thanks,
>
>
>
> Darryl

-- Attached file removed by Listar and put at URL below --
-- Type: text/plain
-- Size: 46 bytes
-- URL : http://www.ee.ethz.ch/~slist/pantomime/switch.fix


--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list