Write to the Unicenter NSM console over a PIPE
Abstract: The WTOPIPE utility is the most efficient way to send more than one message to the TNG console from command line or from script languages.

This zip contains an updated version which performs threading for optimal performance and to avoid any deadlocks with TNG.

Example 1 (FILE):
wtopipe.exe < messages.txt

Example 2 (PERL):
open(WP, "|wtopipe.exe 2>NUL") || die $!;
print(WP "computer\tMyTNGserver\n");
print(WP "evtm_text\tHello world!!\n");
print(WP "evtm_node\tsamplehost\n\n");
print(WP "evtm_text\tThis is the next message!\n\n");
close(WP);

Example 3 (Try it):
open cmd.exe and execute wtopipe.exe. Follow the help-text displayed there.

System-requirements for WTOPIPE:
Unicenter TNG 2.2 or higher on NT or HP-UX (cauevt.dll).

Availability

The tool is available as ZIP-File wtopipe.zip. For questions contact Diese E-Mail-Adresse ist vor Spambots geschützt! Zur Anzeige muss JavaScript eingeschaltet sein! .

 

 

Abstract: The WTOPIPE utility is the most efficient way to send more than one message to the TNG console from command line or from script languages. 

This zip contains an updated version which performs threading for optimal performance and to avoid any deadlocks with TNG.

Example 1 (FILE):
wtopipe.exe < messages.txt

Example 2 (PERL):
open(WP, "|wtopipe.exe 2>NUL") || die $!;
print(WP "computer\tMyTNGserver\n");
print(WP "evtm_text\tHello world!!\n");
print(WP "evtm_node\tsamplehost\n\n");
print(WP "evtm_text\tThis is the next message!\n\n");
close(WP);

Example 3 (Try it):
open cmd.exe and execute wtopipe.exe. Follow the help-text displayed there.

System-requirements for WTOPIPE:
Unicenter TNG 2.2 or higher on NT or HP-UX (cauevt.dll).