5-27-97 MarkVision Snap-in for HP OpenView HPUX 10.20 and Solaris 2.x Overview The MarkVision Snap-in for HP OpenView extends the HP OpenView interface by: * Identifying Lexmark network adapters discovered by HP OpenView. All Lexmark network adapter nodes have a symbol which looks like a Lexmark Printer. * Providing two new actions to HP OpenView: Printer Management and Adapter Management. Printer Management launches a MarkVision Status Window for printers attached to the adapter, as well as a Printer Graphic for each printer. Adapter Management launches a window that lets you configure Lexmark network adapters. * Adding a MarkVision menu. The MarkVision menu contains actions for Printer Management and Adapter Management. * Adding two new icons on the toolbar, one for Printer Management and another for Adapter Management. * Adding Printer Management and Adapter Management to the pop-up menu for all Lexmark network adapter nodes. When you right-click on a node, Printer and Adapter Management appear on the pop-up menu. * Loading the Lexmark MIB into HP OpenView internal MIB. * Adding events for all Lexmark traps. Installation The first step is to extract mv4ov.tar into the MarkVision directory /usr/markvision. As root perform the following steps. 1) Extract mv4ov.tar. Commands: cd /usr/markvision tar -xvpf PATH/mv4ov.tar cd mv4ov PATH is the path where you have the mv4ov.tar located. 2) You can customize the snap-in by editing two lines in install_mv4ov. TOOLBAR=yes MENUBAR=yes Change TOOLBAR or MENUBAR to NO if you don't want the MarkVision snap-in to modify the HP OpenView toolbar or menubar. Both are modified by default. 3) Run install_mv4ov Commands: ./install_mv4ov Event Customization The MarkVision Snap-in for HP OpenView includes events for all SNMP Traps sent by Lexmark network adapters. To uses these events you need to setup the Lexmark network adapter to send the traps to your HP OpenView management station and modify the adapter's symbol in the HP OpenView IP Map. Lexmark Traps Lexmark network adapters can send two types of SNMP Traps. * Type 1 1) Error condition cleared on printer 2) Error condition exists on printer * Type 2 1) Output Full 2) Load Paper 3) Paper Jam 4) Toner Low 5) Service Required 6) Disk Error 7) Cover Open 8) Page Complexity 9) Off-line 10) Cleared Type 2 condition Type 1 reports very limited status. Type 2 is more detailed. With either of these traps, HP OpenView can be informed when a condition exists on a Lexmark Printer. Although type 2 traps are more detailed, use MarkVision for even more detailed information. You can use event notification through HP OpenView, and then use MarkVision to see more detailed information about the current state of the printer. Lexmark Adapter Setup You can setup Lexmark network adapters though lexprt, a program provided with MarkVision, or through the MarkVision Snap-in for HP OpenView. The only difference between the two setups is that lexprt presents a list of Lexmark network adapters to view/modify and with the Snap-in each Lexmark network adapter node is selected from the IP Map. To setup a Lexmark network adapter using lexprt 1) As root type: lexprt. 2) Select Change Printer And Adapter Settings. 3) Select Adapter. 4) Choose the Lexmark network adapter you want to configure. 5) Select TCP/IP Settings. 6) Select Adapter SNMP Traps. 7) Select the SNMP trap type. All SNMP traps use this type. 8) Enter the IP address of your HP OpenView management station. 9) Enter the SNMP trap mask to use for this host. Use the following table to determine the SNMP trap mask.. Bit Decimal Value Description 0 1 Output Full 1 2 Load Paper 2 4 Paper Jam 3 8 Toner Low 4 16 Service Required 5 32 Disk Error 6 64 Cover Open 7 128 Page Complexity Error 8 256 Off-line 9 512 Common Printer MIB Traps For example a SNMP trap mask of 79 specifies to send traps only when a out of paper, toner low, output full, cover open, or paper jam condition occurs. The mask value of 79 is determined by adding together the mask values of each condition: Load Paper(2) + Toner Low(8) + Output Full(1) + Cover Open(64) + Paper Jam(4) = Trap Mask (79) 10) Apply the changes by selecting Apply. When the TCP/IP Settings screen appears, select OK , or select Cancel twice to return to the list of adapters. 11) Repeat steps 4-10 for each adapter you want to setup. To setup a Lexmark network adapter from the OpenView IP Map 1) On the map, right-click the Lexmark network adapter node. 2) Select Manage Adapter. 3) Select TCP/IP Settings. 4) Select Adapter SNMP Traps. 5) Select the SNMP trap type. All SNMP traps use this type. 6) Enter the IP address of your HP OpenView management station. 7) Enter the SNMP trap mask to use for this host. Use the following table to determine the SNMP trap mask.. Bit Decimal Value Description 0 1 Output Full 1 2 Load Paper 2 4 Paper Jam 3 8 Toner Low 4 16 Service Required 5 32 Disk Error 6 64 Cover Open 7 128 Page Complexity Error 8 256 Off-line 9 512 Common Printer MIB Traps For example a SNMP trap mask of 79 specifies to send traps only when a out of paper, toner low, output full, cover open, or paper jam condition occurs. The mask value of 79 is determined by adding together the mask values of each condition: Load Paper(2) + Toner Low(8) + Output Full(1) + Cover Open(64) + Paper Jam(4) = Trap Mask (79) 8) Apply the changes by selecting Apply. 9) When the TCP/IP Settings screen appears, exit the program by clicking Exit on the File menu. Changing the Symbol status source 1) On HP OpenView IP Map, right-click the Lexmark network adapter node. 2) Select Describe/Modify Symbol. 3) On the Symbol Description window, set the Status Source to Object. 4) Click OK. Notes * HP OpenView sees Lexmark MarkNet XL and XLe network adapters as SNMPv2 compliant although they are not SNMPv2 compliant. Therefore, the SNMP MIB browser will not broswe a MIB for these adapters. A solution is to use xnmsnmpconf to specify that the Lexmark network adapter node supports SNMPv1 only. For example, to specify that the Lexmark MarkNet XLe adapter lex_ena.mycompany.com only supports SNMPv1, type the following on the command line: xnmsnmpconf -setVersions lex_ena.mycompany.com 1 * If Lexmark printer icons appear on the IP Map, but actions for Printer Management and Adapter Management are disabled. The node does not have isLexmark or isPrinter set. These two capabilities must be set for the actions to be enabled. A solution is to remove the node from the IP Map. When it is rediscovered, isLexmark and isPrinter is set. If there are many nodes like this in your IP Map, you can remove all the Lexmark network adapter nodes from HP OpenView quickly. To do this type: ovtopofix -r -o 1.3.6.1.4.1.641.1 Lexmark, MarkVision, MarkNet, Optra are trademarks of Lexmark International. All other trademarks are the properties of their respective owners.