Exporting the web reports to another site


You may want to move the web reports to another web server.

You may not want to or can’t provide access to your OpenView web server.

You may want to only provide a subset of the web.

Whatever the reason, you can move the HTML and PNG (image) files to a new site.

The method involves running devdtl and devmst from the command line to produce the HTML and PNG files.

The script runs each command as if the user had clicked on all the possible links for the devices you want to export, starting with a devmst of the device.

You can see the commands you will want to enter by looking at the status line of your web browser when you hover your pointer over each link for the device.

After all the files and images have been produced they are then moved from the OpenView web server’s directories to the other web server.

Here is a script to do that for a device called ‘Router’:


/opt/OV/httpd/cgi-bin/devmst Router > /var/opt/OV/www/htdocs/C/nnm/reportPresenter/Reports/OverTime/Router/Router.html

/opt/OV/httpd/cgi-bin/devdtl Router 0 > /var/opt/OV/www/htdocs/C/nnm/reportPresenter/Reports/OverTime/Router/Router.0.html

/opt/OV/httpd/cgi-bin/devdtl -m Router 0 > /var/opt/OV/www/htdocs/C/nnm/reportPresenter/Reports/OverTime/Router/Router.0-min.html

/opt/OV/httpd/cgi-bin/devdtl -M Router 0 > /var/opt/OV/www/htdocs/C/nnm/reportPresenter/Reports/OverTime/Router/Router.0-MAX.html

/opt/OV/httpd/cgi-bin/devdtl Router 4 > /var/opt/OV/www/htdocs/C/nnm/reportPresenter/Reports/OverTime/Router/Router.4.html

/opt/OV/httpd/cgi-bin/devdtl -m Router 4 > /var/opt/OV/www/htdocs/C/nnm/reportPresenter/Reports/OverTime/Router/Router.4-min.html

/opt/OV/httpd/cgi-bin/devdtl -M Router 4 > /var/opt/OV/www/htdocs/C/nnm/reportPresenter/Reports/OverTime/Router/Router.4-MAX.html


You can see that ‘Router’ has an interface ‘0’ which is Cisco CPU utilization and an interface 4.

The ‘-m’ is used to generate the minimum values while the ‘-M’ is used for the maximums.

The images are always placed into OverTime’s part of your web server’s directory and it is convenient to direct the HTML output there as well.

The end of the script then should move the files in the output directory to your new site.

In this example www.netic.com is the destination web site:


cd /var/opt/OV/www/htdocs/C/nnm/reportPresenter/Reports/OverTime/Router

ftp -n www.netic.com < /var/opt/OverTime/cfgs/ftp.ctl


The ftp.ctl file has FTP commands like this that access the destination web site:


user user_name password_for_user_name



cd /www/OverTime/Router


mput *.png


mput *.html

cd ../Next_Device

lcd ../Next_Device

mput *.png


mput *.html