The Device Server exports all log records to the specified SNMP community and server.
Using SNMP Required and Optional Format-Specific Filters
You can use the following required format-specific filters for exporting to SNMP:
Meaning
Required
Multiple
SNMP
Specify SNMP community string. The
community is an arbitrary string that the SNMP
server is configured to recognize. For details on
the community parameter, refer to section 3.2.5
of RFC 1098.
You might need to ask your SNMP server
administrator for the server community string.
Yes
No
--community
Specify SNMP manager IP address
The value must be encoded as
[IP|FQDN:<port>]
Yes
No
--server
The SNMP format has no optional format-specific filters.
Viewing SNMP Format Output
SNMP trap log entries use the following format:
<day id> <record id> <time received> <time generated> <device domain> <device
domain version> <device> <device ip> <category> <subcategory> <source zone> <source
interface> <source ip> <source port> <nat src ip> <nat src port> <destination
zone> <destination interface> <destination ip> <destination port> <nat dst ip>
<nat dst port> <protocol> <rule domain> <rule domain version> <policy> <rulebase>
<rulenumber> <action> <severity> <isalert> <details> <user str> <application
str> <uri str> <elapsed secs> <bytes in> <bytes out> <bytes total> <packets in>
<packets out> <packets total> <repeat count> <has packet data> <var data enum>
<application name> <device family> <policy id> <var data>
To send log records to the public SNMP server at 192.168.1.15, use the --public and --server
options:
sh devSvrCli.sh --log2action --action --snmp --community public --server 192.168.1.15
Exporting to E-mail
The e-mail action directs the system to output logs for an e-mail address in SMTP format.
You must specify the recipient’s e-mail address the exported log records, andand you
have the option of specifying the sender's email address.
To export:
1.
Login to the Device Server as root, then change to the utility directory by typing:
cd
/usr/netscreen/DevSvr/utils
.
2.
To export to a file, type:
sh devSvrCli.sh --log2action --action --email <sender> <recipient>
805
Copyright © 2010, Juniper Networks, Inc.
Chapter 19: Logging
Summary of Contents for NETWORK AND SECURITY MANAGER 2010.4 - ADMININISTRATION GUIDE REV1
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 146: ...Copyright 2010 Juniper Networks Inc 96 Network and Security Manager Administration Guide...
Page 236: ...Copyright 2010 Juniper Networks Inc 186 Network and Security Manager Administration Guide...
Page 292: ...Copyright 2010 Juniper Networks Inc 242 Network and Security Manager Administration Guide...
Page 314: ...Copyright 2010 Juniper Networks Inc 264 Network and Security Manager Administration Guide...
Page 368: ...Copyright 2010 Juniper Networks Inc 318 Network and Security Manager Administration Guide...
Page 370: ...Copyright 2010 Juniper Networks Inc 320 Network and Security Manager Administration Guide...
Page 484: ...Copyright 2010 Juniper Networks Inc 434 Network and Security Manager Administration Guide...
Page 584: ...Copyright 2010 Juniper Networks Inc 534 Network and Security Manager Administration Guide...
Page 588: ...Copyright 2010 Juniper Networks Inc 538 Network and Security Manager Administration Guide...
Page 600: ...Copyright 2010 Juniper Networks Inc 550 Network and Security Manager Administration Guide...
Page 678: ...Copyright 2010 Juniper Networks Inc 628 Network and Security Manager Administration Guide...
Page 694: ...Copyright 2010 Juniper Networks Inc 644 Network and Security Manager Administration Guide...
Page 700: ...Copyright 2010 Juniper Networks Inc 650 Network and Security Manager Administration Guide...
Page 706: ...Copyright 2010 Juniper Networks Inc 656 Network and Security Manager Administration Guide...
Page 708: ...Copyright 2010 Juniper Networks Inc 658 Network and Security Manager Administration Guide...
Page 758: ...Copyright 2010 Juniper Networks Inc 708 Network and Security Manager Administration Guide...
Page 788: ...Copyright 2010 Juniper Networks Inc 738 Network and Security Manager Administration Guide...
Page 882: ...Copyright 2010 Juniper Networks Inc 832 Network and Security Manager Administration Guide...
Page 908: ...Copyright 2010 Juniper Networks Inc 858 Network and Security Manager Administration Guide...
Page 918: ...Copyright 2010 Juniper Networks Inc 868 Network and Security Manager Administration Guide...
Page 920: ...Copyright 2010 Juniper Networks Inc 870 Network and Security Manager Administration Guide...
Page 1005: ...PART 6 Index Index on page 957 955 Copyright 2010 Juniper Networks Inc...
Page 1006: ...Copyright 2010 Juniper Networks Inc 956 Network and Security Manager Administration Guide...