IBM Tivoli Monitoring, Version 6.3

tacmd importCalendarEntries

Description

Use the tacmd importCalendarEntries command to import all the calendar entries available in specified XML file to the Tivoli® Enterprise Portal Server. You can optionally specify one or more calendar entry names to be imported by using the -n|--name|--names option.
Note: If you want to use the current tacmd tepsLogin values for username, password, and server hostname, do not enter any of these options for the importCalendarEntries command. If you specify values for some, but not all of these options, you are prompted to specify the username and password if they are missing.

CLI syntax

tacmd importCalendarEntries
                      {-x|--file} XMLFILE
                      [{-u|--userid} TEPS_USER]
                      [{-w|--password} TEPS_PASSWORD]
                      [{-s|--server} TEPS_HOSTNAME]
                      [{-n|--name|--names} CALENDAR_ENTRY_NAME...]
                      [ {-f|--force} ]

where:
-x|--file
Specifies the name of the xml file accessible to the local file system where the calendar entry names are imported from. The file name can either be a relative or absolute file name.
-u|--userid
Specifies the identifier of the user to authenticate on the Tivoli Enterprise Portal Server.
-w|--password
Specifies the password of the user to authenticate on the Tivoli Enterprise Portal Server.
-s|--server
Specifies the Tivoli Enterprise Portal Server hostname where the calendar entries has to be imported.
-n|--name|--names
Specifies the name of the calendar entries to import.
-f|--force
Imports the calendar entries without prompting for confirmation.

CLI example

This example imports all the calendar entries from the XML file All_calendarentries.xml to the Tivoli Enterprise Portal Server running on the localhost:
tacmd  importCalendarEntries -x D:\IBM\ITM\BIN\All_Calendarentries.xml 
-u sysadmin -w *****
This example imports all the calendar entries from the XML file All_calendarentries.xml to the Tivoli Enterprise Portal Server running on LEVER2:
tacmd  importCalendarEntries -x D:\IBM\ITM\BIN\All_Calendarentries.xml 
-u sysadmin -w ***** -s LEVER2
This example imports only the calendar entries matching the names time_entries or task_entries from the XML file BackUp_Calendarentries.xml to the Tivoli Enterprise Portal Server running on LEVER2:
tacmd  importCalendarEntries -x D:\IBM\ITM\BIN\BackUp_Calendarentries.xml 
-u sysadmin -w ****** -n “time_entries” “ task_entries”

Return values

See Table 1.

Related commands

Return to Table 1.



Feedback