Dear all I amusing a script to make cfg files for my cable modems as I have more then 10000 cable modems and I have to make graphs of all so I use a script which does three things make cfg make indexmaker page and finally put an entry of that modem on webpage (index.html)
here is the script ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ #!/bin/bash mkdir -p /var/www/html/mrtg/$1 perl /usr/bin/cfgmaker [EMAIL PROTECTED] --global "workdir: /var/www/html/mrtg/$1" --gl obal "Options[_]:bits,growright" --global "Options[_]:bits, nobanner" --output / etc/mrtg/$1.cfg perl /usr/bin/indexmaker /etc/mrtg/$1.cfg > /var/www/html/mrtg/$1/index.html echo "/usr/bin/mrtg /etc/mrtg/$1.cfg;" >> /etc/mrtg/all-ip #echo "<br><a href=$1/index.html*> Traffic on ports of Modem : MAC $1 </a>" >> /var/www/html/mrtg/index.html +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Now what i want is that at the end of script when it put an entry on webpage it should also put the png of day of that modem on webpage sp please help me. is urgent. Regards Zeeshan Ahmed Network Engineer Worldcall DOT COM Lahore Pakistan -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
