1 / 6

Unsubscribe mailto:mrtg-request@list.ee.ethz.ch?subject=unsubscribe

lara
Download Presentation

Unsubscribe mailto:mrtg-request@list.ee.ethz.ch?subject=unsubscribe

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. It's from an older version... ---------------------- Forwarded by Jeromme Lawler/FTW/CTOC on 08/06/2001 12:09 PM --------------------------- I think it's pretty self explanatory - let me know if you have any questions... I don't know if anyone else could use this, but I thought I'd pass it on. I'm not a perl programmer. It's ugly, but it seems to work. My goal was to use the Catalyst portname as the interface description & do an internal lookup on the instance number so that I can move a device I had been monitoring to another port & seamlessly maintain the monitoring history for that device - based on the Catalyst portname remaining the same. This script doesn't work with sl0 or sc0 - those must be manually entered in to the config file. I call the script to make the config file with the following command: perl cfg --global "WorkDir: c:\wwwroot\MRTG" --ifdesc=name --ifref=descr --no-down --show-op-down --community=public --subdirs=HOSTNAME --output=6509.cfg 6509 Let me know if you use the script. Don't let me know if you think my perl stinks. I already know that. Cheers (See attached file: cfg) (See attached file: cfg) -- Attached file removed by Listar and put at URL below -- -- Type: application/octet-stream -- Size: 56k (58261 bytes) -- URL : http://www.ee.ethz.ch/~slist/pantomime/02-cfg -- It's from an older version... ---------------------- Forwarded by Jeromme Lawler/FTW/CTOC on 08/06/2001 12:09 PM --------------------------- I think it's pretty self explanatory - let me know if you have any questions... I don't know if anyone else could use this, but I thought I'd pass it on. I'm not a perl programmer. It's ugly, but it seems to work. My goal was to use the Catalyst portname as the interface description & do an internal lookup on the instance number so that I can move a device I had been monitoring to another port & seamlessly maintain the monitoring history for that device - based on the Catalyst portname remaining the same. This script doesn't work with sl0 or sc0 - those must be manually entered in to the config file. I call the script to make the config file with the following command: perl cfg --global "WorkDir: c:\wwwroot\MRTG" --ifdesc=name --ifref=descr --no-down --show-op-down --community=public --subdirs=HOSTNAME --output=6509.cfg 6509 Let me know if you use the script. Don't let me know if you think my perl stinks. I already know that. Cheers (See attached file: cfg) (See attached file: cfg) -- Attached file removed by Listar and put at URL below -- -- Type: application/octet-stream -- Size: 56k (58261 bytes) -- URL : http://www.ee.ethz.ch/~slist/pantomime/02-cfg --

  2. Unsubscribe mailto:mrtg-request@list.ee.ethz.ch?subject=unsubscribe

  3. Archive http://www.ee.ethz.ch/~slist/mrtg

  4. FAQ http://faq.mrtg.org Homepage http://www.mrtg.org

  5. WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi

More Related