E N D
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 --
Unsubscribe mailto:mrtg-request@list.ee.ethz.ch?subject=unsubscribe
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org