Format for Alerts Used by Applications, NVAlert, and NVRunCmd

An application program or the NVAlert and NVRunCmd services can use the CSV TRANSFER_MS_DATA to issue alerts. The alerts are logged in a log file that can be viewed using the Windows NT Event Viewer, and may also be sent on the NetView connection.

The data supplied to TRANSFER_MS_DATA may be in any of the following formats.

NMVT

The application or service supplies a complete NMVT, including the header information.

ALERT_SUBVECTORS

The application or service supplies the subvectors required for an alert, but without the NMVT header or major vector header. SNA Server adds the header information, as described in the next section.

PDSTATS_SUBVECTORS

The application or service supplies the subvectors required for a Problem Determination Statistics NMVT, but without the NMVT header or major vector header. SNA Server adds the header information, as described in the next section.

USER_DEFINED

The application or service supplies data in its own format. This data cannot be sent on the connection designated for NetView, but is logged in the same way as the other data formats.

The application or service can also request SNA Server to add the Product Set ID subvector (for all data types except user_defined), the Date/Time subvector, or both to the supplied data. The format of these added subvectors is described in the next section.

For all data types, the data (with added headers and subvectors, if appropriate) is logged locally in NMVT format, whether or not a connection has been specified for NetView.

Added Headers and Subvectors

NMVT Header

41 03 8D 00 00 00 00 00

NMVT Header


Major Vector Header

LL LL

Length of Major Vector

00 00 or 00 25

Alert major vector (for data type alert_subvectors), or Problem Determination Statistics major vector (for data type pstats_subvectors)


Product Set ID Subvector

4D 10

Product Set ID subvector

00

Unused field

34 11

Product ID subvector

0C

Product classification: non-IBM software

08 04

Software product common level subfield

F0 F2

Version identifier: 02

F0 F0

Release identifier: 00

F0 F0

Modification identifier: 00

20 06

Software product common name subfield

C4 C3 C1 61 D4 E2 40
C3 D6 D4 D4 40
E2 C5 D9 E5 D9

Product name:
MS
SNA Server

00 .. 00

Name padded with nulls to 30 characters

09 08

Software product program number subfield

F0 F0 F0 F0 F0 F0 F0

Product program number: zeros

16 11

Product ID subvector

03

Product classification: hardware

13 00

Hardware Product ID subfield

00

Format type: undefined

hh...hh

Server: Windows NT-based computer name


Date/Time Subvector

0A 01

Date/Time Subvector

08 10

Local Date/Time subfield

hh

Year — two digits

hh

Month

hh

Date

hh

Hours

hh

Minutes

hh

Seconds