MSGIN
What is it?
MSGIN is the file-watcher capability that lets the Tuxedo ART Agent submit events to OpCon on behalf of a job. The agent monitors a directory for new files; when a file appears, it reads each record, validates it, and submits matching records to OpCon as events. Jobs typically generate these files by calling the supplied XPSCOMM script.
How it works
- A job drops an event file in the MSGIN directory. The most common way to do this is to call XPSCOMM from inside the job script.
- The file watcher picks up the file. The agent monitors the directory specified by MsgInDirectory in Agent.config.
- The agent validates each record. Records that start with a valid OpCon event indicator are accepted; others are rejected.
- The agent submits the event to OpCon. It uses the MsgInOpConEventUser and MsgInOpConEventUserPassword values from Agent.config when calling OpCon.
- The agent deletes the file after processing it.
You can include multiple events in a single file.
Configuration
The following Agent.config settings control MSGIN:
| Setting | Purpose |
|---|---|
MsgInDirectory | Absolute path of the directory the agent monitors for incoming event files. |
MsgInOpConEventUser | Encrypted name of the OpCon user the agent uses to submit events. The user must have event privileges in OpCon. |
MsgInOpConEventUserPassword | Encrypted event password for the OpCon user above. |
For full setting details and the location of the password encryption tool, see Agent.config file configuration.
note
The MsgInOpConEventUser must have event-submission privileges in OpCon, otherwise event submission fails.
Related topics
- XPSCOMM utility — The script jobs typically use to drop events into the MSGIN directory.
- Agent.config file configuration — Where the MSGIN settings live.
- MSGIN messages — Messages the agent records as it processes MSGIN files.
Glossary
- MSGIN — File-watcher capability that submits events to OpCon by reading event files dropped into a monitored directory.
- MsgInDirectory — Configuration value in Agent.config that defines the directory the agent monitors for incoming event files.
- MsgInOpConEventUser — Configuration value in Agent.config that names the OpCon user, with event privileges, used to submit events.