Saving Network Events
104
FS6300 NMS Administrator’s Reference Guide
6 • Managing Alarms and Network Events
Enabling Printing
By default, the option to print events and alarms in the NMS Application Client is disabled. To enable print-
ing, you must configure the
NmsProcessesBE.conf
file. The printer must be connected in the same network as
the NMS server. To enable printing in the NMS Application Client:
1.
Open the
NmsProcessesBE.conf
file located in the
<Web NMS Home>/conf
directory.
<Web NMS Home>
is the IP address where the NMS server is running.
2.
Configure the
PRINT_COMMAND
parameter for the
EventMgr
. The specific command may differ
based on your operating system.
Win NT.
The value for the PRINT_COMMAND parameter is based on the command given for the Print
option in the command prompt in that machine. For example, if printing a file "
x.txt
" is invoked using
x.txt
from command prompt, then the entry for the PRINT_COMMAND should be similar to:
SAVE_DIR state
PRINT_COMMAND "print .\\state\\printfile.tmp"
where:
printfile.tmp
- The temporary file where the data to be printed will be saved.
state
- Refers to the directory where the temporary file
printfile.tmp
is saved.
Windows 2000.
The entry for the PRINT_COMMAND should be similar to:
PRINT_COMMAND "lpr -S Server -P printername <filename>"
where:
-
S Server
- Server Name of the host which is providing lpd service.
-
P printername
- name of the print queue, which will be maintained by the printer to put the job in the
print queue and process.
<filename>
- Referred from the SAVE_DIR directory; Give the filename as
<value of SAVE_DIR>\\print-
file.tmp
Linux.
The entry for the PRINT_COMMAND should be similar to:
PRINT_COMMAND "lpr <filename>"
where:
<filename>
- Referred from the SAVE_DIR directory. Give the filename as
<value of SAVE_DIR>//print-
file.tmp
Solaris.
The entry for the PRINT_COMMAND should be similar to:
PRINT_COMMAND "/usr/ucb/lpr <filename>"
where:
<filename>
- Referred from the SAVE_DIR directory. Give the filename as
<value of SAVE_DIR>//print-
file.tmp