publish trend
Sets a schedule for automatic publishing of trends (may be used in config as well as executed directly).
publish trend <filename>
[ <object> ]
[ customer { <name> | all } ]
[ application <app-name> ]
[ prefix <prefix> ]
[ to <list> ]
schedule <minute> [ <hour> [ <date> [ <month> [ <day> ]]]]
no publish [ <report> [ <object> ]]
- filename--name of .qry or .tmpl file that defines the trend to be published.
- prefix--prefix in CIDR format (a.b.c.d /n); generates a trend specific to this prefix.
- app-name--name of an application (for example, http, icmp, ftp, sap, etc.). One way to see what applications have been found by CNA is to use the command show efc application.
- file-url--you may specify the resulting file with either of these two methods:
- directory name--when you end the name with a slash “/” character, then the file name will be derived from the time it was generated. This will ensure that the remote file will have a unique name and thus will not be overwritten.
- file name--use this (without the ending slash “/” character) instead of a directory name when you want each scheduled upload to overwrite the previous one.
- minute--number of minutes after the hour when the report is to be mailed; range: 0 through 59 (or * for every minute, or a comma-separated list of minutes, such as 5,25,45)
- hour--hour of the day when the report is to be mailed; range: 0 through 23, or * for every hour (or * for every hour, or a comma-separated list of hours, such as 10,22)
- date--day of the month when the report is to be mailed; range: 1 through 31, or * for every day of the month (or * for each date of the month, or a comma-separated list of dates, such as 1,15)
- month--month report is to be mailed; range: 1 through 12 (or * for every month, or a comma-separated list of months, such as 1,7)
- day--day of week when the report is to be mailed; range 0 through 7 (or * for every day of the week, or a comma-separated list of days, such as 0,3); 0 and 7 both mean Sunday
Must be in report configuration mode (config-report), which requires privileged-level access, to set a schedule. One-time publishing of a report can be done with log-in level access (exec mode).
Available for use multiple times in the configuration.
* for all schedule increments (except minute)
Use the publish trend command to schedule automatic publishing of trends. You may set one schedule for each trend; enter the command once for each.
You may also use this command directly from the command line (exec mode) to publish reports immediately without needing to schedule it. In this case, you cannot use the schedule keyword.
Trends will be sent by the management module via FTP.
Use the no form of the command with no parameters to cancel all automatic publishing.
Use the no form of the command with a trend name (and object type if required) to cancel a specific publish schedule.