•
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:
1.
Change to the utility directory by typing
cd /usr/netscreen/GuiSvr/utils
2.
Create a shell script called
reportscript.sh
:
a.
Set the NSMUSER environment variable with an NSM domain/user pair, for
example:
export NSMUSER=
domain/user
b.
Set the NSMPASSWD environment variable with an NSM password. The
command for setting environment variables depends on your operating system
and shell, for example:
export NSMPASSWD=
password
c.
Specify a guiSvrCli command string
/usr/netscreen/GuiSvr/utils/guiSvrCli.sh --generate-reports --report
global:system:"\"Top Screen Attacks\” " --script ftp.sh
3.
Make the script executable. Make sure the person who creates the cron job can run
the script.
4.
Run the crontab editor:
crontab -e
5.
Add the following line:
0 0 * * 1 /usr/netscreen/GuiSvr/utils/reportscript.sh
Exporting Reports to HTML
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:
1.
Select
Export Reports
from the
File
menu. Alternatively, you could right-click in the
chart window, and use the “Export reports in HTML” option.
2.
Select the
Top Attacks
report check box.
811
Copyright © 2010, Juniper Networks, Inc.
Chapter 20: Reporting
Summary of Contents for NETWORK AND SECURITY MANAGER 2010.3
Page 6: ...Copyright 2010 Juniper Networks Inc vi...
Page 36: ...Copyright 2010 Juniper Networks Inc xxxvi Network and Security Manager Administration Guide...
Page 52: ...Copyright 2010 Juniper Networks Inc 2 Network and Security Manager Administration Guide...
Page 90: ...Copyright 2010 Juniper Networks Inc 40 Network and Security Manager Administration Guide...
Page 144: ...Copyright 2010 Juniper Networks Inc 94 Network and Security Manager Administration Guide...
Page 146: ...Copyright 2010 Juniper Networks Inc 96 Network and Security Manager Administration Guide...
Page 234: ...Copyright 2010 Juniper Networks Inc 184 Network and Security Manager Administration Guide...
Page 310: ...Copyright 2010 Juniper Networks Inc 260 Network and Security Manager Administration Guide...
Page 364: ...Copyright 2010 Juniper Networks Inc 314 Network and Security Manager Administration Guide...
Page 366: ...Copyright 2010 Juniper Networks Inc 316 Network and Security Manager Administration Guide...
Page 478: ...Copyright 2010 Juniper Networks Inc 428 Network and Security Manager Administration Guide...
Page 576: ...Copyright 2010 Juniper Networks Inc 526 Network and Security Manager Administration Guide...
Page 580: ...Copyright 2010 Juniper Networks Inc 530 Network and Security Manager Administration Guide...
Page 592: ...Copyright 2010 Juniper Networks Inc 542 Network and Security Manager Administration Guide...
Page 684: ...Copyright 2010 Juniper Networks Inc 634 Network and Security Manager Administration Guide...
Page 690: ...Copyright 2010 Juniper Networks Inc 640 Network and Security Manager Administration Guide...
Page 696: ...Copyright 2010 Juniper Networks Inc 646 Network and Security Manager Administration Guide...
Page 698: ...Copyright 2010 Juniper Networks Inc 648 Network and Security Manager Administration Guide...
Page 748: ...Copyright 2010 Juniper Networks Inc 698 Network and Security Manager Administration Guide...
Page 778: ...Copyright 2010 Juniper Networks Inc 728 Network and Security Manager Administration Guide...
Page 870: ...Copyright 2010 Juniper Networks Inc 820 Network and Security Manager Administration Guide...
Page 872: ...Copyright 2010 Juniper Networks Inc 822 Network and Security Manager Administration Guide...
Page 898: ...Copyright 2010 Juniper Networks Inc 848 Network and Security Manager Administration Guide...
Page 908: ...Copyright 2010 Juniper Networks Inc 858 Network and Security Manager Administration Guide...
Page 910: ...Copyright 2010 Juniper Networks Inc 860 Network and Security Manager Administration Guide...
Page 995: ...PART 6 Index Index on page 947 945 Copyright 2010 Juniper Networks Inc...
Page 996: ...Copyright 2010 Juniper Networks Inc 946 Network and Security Manager Administration Guide...