Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
./bin/opreports-cli.pl -?
opReports Version 3.1.06
...
usage: ./bin/opreports-cli.pl acttype=<report type> days=<N> from=<HH> to=<HH>
       start_date=<date_time> end_date=<date_time>

       node_group=<NMIS_GROUP>|All|Each
       node_regexp=<regexp>
       noderegexnode_intf_regexp=<regexp>
       nodesnode=NAME1 [node=NAME2 node=NAME3...]
       node_intf_list=<listfile>
       node_list=<listfile>
       node_intf_type_list=<listfile>
       
       email=<user@domainuser@domain.com, [email=user2@domain.com...>]
       output_file_<html|csv|xlsx>=<path>...
       output_file_2dir=<path> format=<html|csv|xlsx> [format=...]
       format=HTML|CSV|XLSX format_2=actual_name=<report file name>
       target_audience_group=NMIS_GROUP
       options.<optname>=<value>...

acttype:          the report to create, (availability|avgcpu|buffer|capacity|config|freemem|groupedav|health|jcos|mempool|node|qos|response|snapshot|summary|uptime|usage|util|wan)
noderegexnode_regexp:  a regular expression for matching the node name (not with group)
node_group:      group of devices to report on, either NMIS group name, 
  "All", "Each" or nothing
  "All" (or nothing) means all nodes in all groups will produce a report containing all devices in all groups
  "Each" produces a separate report for each group.
email:        send report to the listed email addresses (comma separated list)
days:         Number of days to report
start_date:   The starting date and time e.g. "1-Apr-2012 14:35:00"
end_date:     The end date and time e.g. "5-Apr-2012 17:00:00"
from:         Business hours reporting, the daily start time in hours
to:           Business hours reporting, the daily end time in hours
formattarget_audience_group: limits viewing in the DesiredGUI Outputto Format, "HTML", "CSV", "XLSX"members of this group

Selecting output formats and destinations

...