Exporting Reports To Html - Juniper NETWORK AND SECURITY MANAGER 2010.3 - ADMINISTRATION GUIDE REV1 Administration Manual

Table of Contents

Advertisement

Exporting Reports to HTML

Copyright © 2010, Juniper Networks, Inc.
Minute (0-59)
Hour (0-23)
Day of Month (1-31)
Month (1-12)
Day of Week (0-6) (Sunday = 0)
Use an asterisk(*) to mark a place that is not part of the given schedule. For example,
to run a script every Tuesday night at 11:05 PM, use "5 23 * * 2 Script".
In this example, perform the following steps to generate a predefined report and FTP it
to a server every Monday at 12:01 in the morning:
Change to the utility directory by typing cd /usr/netscreen/GuiSvr/utils
1.
Create a shell script called
2.
Set the NSMUSER environment variable with an NSM domain/user pair, for
a.
example:
export NSMUSER=domain/user
Set the NSMPASSWD environment variable with an NSM password. The
b.
command for setting environment variables depends on your operating system
and shell, for example:
export NSMPASSWD=password
Specify a
guiSvrCli
c.
/usr/netscreen/GuiSvr/utils/guiSvrCli.sh --generate-reports --report
global:system:"\"Top Screen Attacks\
Make the script executable. Make sure the person who creates the cron job can run
3.
the script.
Run the crontab editor:
4.
crontab -e
Add the following line:
5.
0 0 * * 1 /usr/netscreen/GuiSvr/utils/reportscript.sh
After you create your reports, you can export them into HTML. For example, if you want
to share information with other security experts about the attacks that you are noticing
in your network, use the following process to export the report onto disk:
Select Export Reports from the File menu. Alternatively, you could right-click in the
1.
chart window, and use the "Export reports in HTML" option.
Select the Top Attacks report check box.
2.
reportscript.sh
:
command string
" --script ftp.sh
Chapter 20: Reporting
811

Advertisement

Table of Contents
loading

This manual is also suitable for:

Network and security manager 2010.3

Table of Contents