QStar SNMP installation, configuration and testing. Contents. Introduction. Change History



Similar documents
This configuration guide describes the installation process of SNMP on Windows and Linux with the NetBorder Express Gateway.

Intel Simple Network Management Protocol (SNMP) Subagent v6.0

Configuration des pré-requis Linux. Référence : Version N : 1 Créé le : 9 Janvier Créé par : Thibault Cuisy Téléphone :

Oracle Enterprise Manager. Description. Versions Supported. Prerequisites

Installing and Configuring the Intel Server Manager 8 SNMP Subagents. Intel Server Manager 8.40

User Manual. Onsight Management Suite Version 5.1. Another Innovation by Librestream

Using SNMP with Content Gateway (not V-Series)

White Paper. Fabasoft on Linux Performance Monitoring via SNMP. Fabasoft Folio 2015 Update Rollup 2

Veritas Cluster Server

How to simulate network devices using the Verax SNMP Simulator (Linux/Windows)

Simple Network Management Protocol

SNMP Peach Pit Data Sheet

Dell SupportAssist Version 2.0 for Dell OpenManage Essentials Quick Start Guide

This watermark does not appear in the registered version - SNMP and OpenNMS. Part 1 SNMP.

May PZ-0502A-WWEN Prepared by: Internet & E-Commerce Solutions

COMMANDS 1 Overview... 1 Default Commands... 2 Creating a Script from a Command Document Revision History... 10

Deploying Microsoft Operations Manager with the BIG-IP system and icontrol

CRMS SNMP Software Overview

NMS300 Network Management System

Management, Logging and Troubleshooting

Configuring and Monitoring Mail Servers

Install Cacti Network Monitoring Tool on CentOS 6.4 / RHEL 6.4 / Scientific Linux 6.4

Practice Fusion API Client Installation Guide for Windows

Advanced Server Monitoring Setup Guide

Install and configure the Net- SNMP agent for Windows

SNMP Adapter Installation and Configuration Guide

Newton Linux User Group Graphing SNMP with Cacti and RRDtool

Deploying the BIG-IP LTM system and Microsoft Windows Server 2003 Terminal Services

DiskPulse DISK CHANGE MONITOR

Oracle Enterprise Manager. Description. Platforms Supported. Versions Supported

SNMP Protocol for Easy Network Management

How to configure Microsoft System Center Operations Manager (SCOM) 2012 R2 as SNMP trap receiver for VMware vcenter on MS Windows?

Security Correlation Server Quick Installation Guide

How To Test The Bandwidth Meter For Hyperv On Windows V (Windows) On A Hyperv Server (Windows V2) On An Uniden V2 (Amd64) Or V2A (Windows 2

This section describes how to set up, find and delete community strings.

F-Secure Policy Manager. Administrator's Guide

Scheduling Automated Outlet Control Using FineSNMPSet with Sentry Switched Power Distribution Units

Remote Management. Vyatta System. REFERENCE GUIDE SSH Telnet Web GUI Access SNMP VYATTA, INC.

You can create configurations using the following modes:

How To Install Storegrid Server On Linux On A Microsoft Ubuntu 7.5 (Amd64) Or Ubuntu (Amd86) (Amd77) (Orchestra) (For Ubuntu) (Permanent) (Powerpoint

Local Caching Servers (LCS): User Manual

How To Enable A Websphere To Communicate With Ssl On An Ipad From Aaya One X Portal On A Pc Or Macbook Or Ipad (For Acedo) On A Network With A Password Protected (

HP LeftHand SAN Solutions

Installing, Uninstalling, and Upgrading Service Monitor

Dell UPS Local Node Manager USER'S GUIDE EXTENSION FOR MICROSOFT VIRTUAL ARCHITECTURES Dellups.com

Netop Remote Control for Linux Installation Guide Version 12.22

AlienVault Unified Security Management (USM) 4.x-5.x. Deploying HIDS Agents to Linux Hosts

Introducing the BIG-IP and SharePoint Portal Server 2003 configuration

BusinessObjects Enterprise XI Release 2

Monitoring disk stats with Cacti

Basic SQL Server operations

Installation and User Guide. for. Intel Server Management (ISM) Ver

Technical Notes P/N Rev 01

DEPLOYMENT GUIDE DEPLOYING THE BIG-IP LTM SYSTEM WITH MICROSOFT WINDOWS SERVER 2008 TERMINAL SERVICES

Table of Contents. Overview...2. System Requirements...3. Hardware...3. Software...3. Loading and Unloading MIB's...3. Settings...

CLC Server Command Line Tools USER MANUAL

Spam Marshall SpamWall Step-by-Step Installation Guide for Exchange 5.5

DEPLOYMENT GUIDE. Deploying the BIG-IP LTM v9.x with Microsoft Windows Server 2008 Terminal Services

Intelligent Power Protector User manual extension for Microsoft Virtual architectures: Hyper-V 6.0 Manager Hyper-V Server (R1&R2)

Avaya Network Configuration Manager User Guide

Browser Client 2.0 Admin Guide

Configuring Renoir to Drive Simulation on Remote Machines

securitymodel who securityname com2sec secname ipsource community default group groupname model secname v1 v2c usm

ibaan ERP 5.2a Configuration Guide for ibaan ERP Windows Client

Autograph 3.3 Network Installation

Veritas Cluster Server Database Agent for Microsoft SQL Configuration Guide

Customer Tips. Configuring Color Access on the WorkCentre 7328/7335/7345 using Windows Active Directory. for the user. Overview

Install MS SQL Server 2012 Express Edition

THE SNMP PROTOCOL THE SNMP REQUEST MIB SATELLAR 2DS/20DS SIMPLE NETWORK MANAGEMENT PROTOCOL SATELLAR MANAGEMENT WITH SNMP GET AND SET SMART RADIO

TransNav Management System Documentation. Management Server Guide

Deploying the BIG-IP LTM with the Cacti Open Source Network Monitoring System

Customer Tips. Xerox Network Scanning HTTP/HTTPS Configuration using Microsoft IIS. for the user. Purpose. Background

A-AUTO 50 for Windows Setup Guide

RealPresence Platform Director

Archive Attender Version 3.5

Server Configuration. Server Configuration Settings CHAPTER

ilaw Server Migration Guide

How to manage non-hp x86 Windows servers with HP SIM

SNMP Monitoring. The Sequel by Manuel Deschambault. Support Tool Architect Symbiotic System Design

Insight Video Net. LLC. CMS 2.0. Quick Installation Guide

Novell ZENworks 10 Configuration Management SP3

SNMP exercises. 2 Installing client (manager) tools 2. 3 Configure SNMP on Your Router 3

Issue Tracking Anywhere Installation Guide

McAfee One Time Password

Using LDAP Authentication in a PowerCenter Domain

Modelling with R and MySQL. - Manual - Gesine Bökenkamp, Frauke Wiese, Clemens Wingenbach

Install SQL Server 2014 Express Edition

PART 1 CONFIGURATION 1.1 Installing Dashboard Software Dashboardxxx.exe Administration Rights Prerequisite Wizard

Simple Network Management Protocol

SMART Sync Windows operating systems. System administrator s guide

AlphaCard ID Suite Small Business Server Installation Guide

SecuraLive ULTIMATE SECURITY

Setting Up Scan to SMB on TaskALFA series MFP s.

Security Correlation Server Quick Installation Guide

How to Set Up pgagent for Postgres Plus. A Postgres Evaluation Quick Tutorial From EnterpriseDB

Recommended File System Ownership and Privileges

Knowledge is Power. He who gets wisdom loves his own soul; he who cherishes understanding prospers. (Proverbs 19:8)

White Paper. Installation and Configuration of Fabasoft Folio IMAP Service. Fabasoft Folio 2015 Update Rollup 3

Intellicus Cluster and Load Balancing- Linux. Version: 7.3

Configuring Color Access on the WorkCentre 7120 Using Microsoft Active Directory Customer Tip

Transcription:

QStar SNMP installation, configuration and testing Change History Date Author Comments February 19, 2014 Slava Initial version March 1, 2014 Slava Update April 8, 2014 Vladas Trap destination configuration in Windows April 9,2014 Vladas MIB location change Contents QStar SNMP installation, configuration and testing... 1 Introduction... 1 Install and configure Windows SNMP service... 2 Install QStar ASM SNMP (Windows)... 4 QStar ASM SNMP testing... 5 Test SNMP functions in ireasoning MIB Browser... 5 Test SNMP TRAP processing... 11 Test SNMP functions using remote Linux commands... 13 Test environment... 14 Test SNMP GET... 14 Test SNMP TABLE... 14 Test SNMP SET... 14 Test SNMP TRAP... 15 Disable QStar SNMP (Windows)... 15 Configure Net-SNMP... 15 Configure snmpd for execution on Ubuntu... 15 Configure Net-SNMP snmpd for execution on RedHat or CentOS... 16 Appendixes... 17 Manual check of QStar SNMP agent extension configuration on Windows... 17 Starting and Stopping SNMP support processes on Linux... 18 qstarsnmpsubagent run options... 18 Introduction This document describes installation, configuration and test procedures related to QStar SNMP support. The QStar SNMP supports SNMP protocol version 2c.

Since the QStar SNMP supports SNMP protocol version 2c, so for all command line utilities you should specify option -v 2c. Install and configure Windows SNMP service Windows Feature SNMP Service should be installed. Microsoft how to instructions are available at the URL : http://technet.microsoft.com/en-us/library/cc738071(v=ws.10).aspx Check this in Administrative Tools -> Server Manager -> Features: Please configure Windows SNMP service in Administrative Tools -> Configuration -> Services:

The properties tab Security contains list of communities and list of permitted hosts: Communities are like passwords to access the SNMP with specified rights (READ ONLY or READ-WRITE). If you do not see the tab Security, please reboot the computer and return to service properties. The properties tab Traps contains list of external hosts that will receive SNMP traps:

If you do not see the tab Traps, please reboot the computer and return to service properties. Alternatively, the Windows command evntcmd can be used to configure trap destinations. For that create file with Trap destination (for example trap.txt). The content of the file trap.txt shall contain line like: #pragma ADD_TRAP_DEST public 192.168.1.111 Then execute command: evntcmd trap.txt For more information please refer to this site: http://technet.microsoft.com/en-us/library/ff963094.aspx Install QStar ASM SNMP (Windows) QStar SNMP agent should be selected during QStar ASM installation (QStar_6.0.*.exe):

QStar ASM SNMP testing Test SNMP functions in ireasoning MIB Browser ireasoning MIB Browser Free Personal Edition can be downloaded as setup.exe (Windows) file from this URL: http://www.ireasoning.com/downloadmibbrowserfree.php Installation is very simple. Start graphic browser by executing bin\browser.bat or for Windows setup.exe Connect to SNMP service on node Nadine :

Load QStar asm.mib : The asm.bin file is located in C:\QStar\snmp directory. File->Load MIBs. Expand the MIB tree, find QStar ASM nodes:

Test SNMP GET (and Get Next) command: Scalar values can be retrieved by double clicking their names in MIB tree, or one by one by pressing Go button in top right windows corner (when Get Next is selected):

SNMP tables cat be opened as follows:

Test SNMP SET command (mount and unmount QStar ASM Integral Volume set): Place cursor into column status of the row udf_sv, press the button SNMP SET:

Type the value (mount point) U:, press Ok: The volume udf_sv is now mounted as U:

Do SNMP SET with empty value to unmount: Test SNMP TRAP processing Enable SNMP traps in QStar:

Open trap receiver in ireasoning window: Simulate a trap (from inside of QStar), using the set of commands in the batch C:\QStar60\bin\do_trap.bat : These CLI commands cause trap to be sent because UDF set is mounted with clean cache and media is exported. The dir U: command caused to read directory from media which is not in the library. That generates error message (and SNMP trap).

vlcmd.exe umountiv udf_sv 2> nul vlcmd.exe mountiv -n udf_sv U: echo. vlcmd.exe export jb_sdisk 10 start cmd /C dir U: vlcmd.exe import -S+ jb_sdisk 10 vlcmd.exe umountiv udf_sv We got the trap: Easier way to simulate the trap is to invoke the command: qscmd qslog -ee -p VL -m "Test Message" Test SNMP functions using remote Linux commands Described on example of usage from the Ubuntu machine SUSAN. Please make sure that following packages are installed (apt-get install): snmpd, libsnmp15, snmp, libsnmp-base.

Please make sure that the file SNMPv2-SMI is presented in /usr/share/mibs/netsnmp/ (can be downloaded here http://net-snmp.sourceforge.net/docs/mibs/snmpv2-smi.txt) Please make sure that the file QSTAR-ASM-MIB is presented in /usr/share/mibs/netsnmp/ (can be copied from cvs60\snmp\lib\asm.mib) Test environment Assume that 172.18.1.105 is IP address of Windows machine NADINE (please make sure that Windows SNMP, QStar Server and QStar SNMP Agent are configured and running there). Test SNMP GET /usr/bin/snmpget -v 2c -c public 172.18.1.105 QSTAR-ASM-MIB::qVersion QSTAR-ASM-MIB::qVersion = STRING: "Version 6.0.1, build 3892" /usr/bin/snmpget -v 2c -c public 172.18.1.105 QSTAR-ASM-MIB::qVlServerStatus QSTAR-ASM-MIB::qVlServerStatus = STRING: "VL server is running" Test SNMP TABLE /usr/bin/snmptable -v 2c -c public -CB 172.18.1.105 QSTAR-ASM-MIB::qVolumesTable SNMP table: QSTAR-ASM-MIB::qVolumesTable qssetindex qssetname qssetstatus qssettype qssetcapacity 1 "gfs_ivs" "ready" "gfs" "total=0 kb" 2 "ltfs_sp" "ready" "vskin" "total=18874368 kb" 3 "nom" "ready" "nom" "total=0 kb" 4 "osmcluster" "ready" "osm" "total=0 kb" 5 "s3_ivs" "ready" "s3" "total=0 kb" 6 "sdf_stape" "ready" "sdf" "total=102400 kb" 7 "tdo" "ready" "tdo" "total=102400 kb" 8 "udf_sv" "ready" "udf" "total=10240000 kb" 9 "yoda" "ready" "tdo" "total=102400 kb" Test SNMP SET /usr/bin/snmpset -v 2c -c private 172.18.1.105 QSTAR-ASM-MIB::qsSetStatus.8 s "U:" /usr/bin/snmpget -v 2c -c public 172.18.1.105 QSTAR-ASM-MIB::qsSetStatus.8 QSTAR-ASM-MIB::qsSetStatus.8 = STRING: "mounted as U:" /usr/bin/snmpset -v 2c -c private 172.18.1.105 QSTAR-ASM-MIB::qsSetStatus.8 s "" /usr/bin/snmpget -v 2c -c public 172.18.1.105 QSTAR-ASM-MIB::qsSetStatus.8 QSTAR-ASM-MIB::qsSetStatus.8 = STRING: "ready"

Test SNMP TRAP Please run : /usr/sbin/snmptrapd -f -Le --disableauthorization Please make sure that on Windows machine in SNMP service settings, Trap page, IP address of Ubuntu machine (172.18.1.136) is specified in Trap destinations list. Please on Windows the batch C:\QStar60\bin\do_trap.bat that raises the trap condition. In couple of seconds you should see following trap text in Linux snmptrapd output: 2014-02-19 00:06:13 172.18.1.105(via UDP: [172.18.1.105]:52537->[172.18.1.136]) TRAP, SNMP v1, community public QSTAR-ASM-MIB::qNotif Enterprise Specific Trap (1) Uptime: 1:34:22.65 QSTAR-ASM-MIB::qNotif = STRING: "INFO VL-UDF: set udf_sv, single volume, offline udf_sv_0_1:under the table: Please vlimport medium." Disable QStar SNMP (Windows) To disable QStar SNMP Agent, please remove in Windows registry a reference to qstarsnmpagent from the list of Extension Agents: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SNMP\Parameters\ExtensionAgents] remove a string value "qstarsnmpagent". After that Windows SNMP service should be restarted (stopped and then started). Configure Net-SNMP Configure snmpd for execution on Ubuntu Please make sure that following packages are installed (apt-get install): snmpd, libsnmp15, libsnmp-base. Please make sure that the file SNMPv2-SMI is present in /usr/share/mibs/netsnmp/ (can be downloaded here http://net-snmp.sourceforge.net/docs/mibs/snmpv2-smi.txt) Please make sure that the file QSTAR-ASM-MIB is present in /usr/share/mibs/netsnmp/ (can be copied from cvs60\snmp\lib\asm.mib) Configuration file /etc/snmp/snmp.conf should contain the line mibs QSTAR-ASM-MIB Changes in configuration file /etc/snmp/snmpd.conf : # AGENT BEHAVIOUR # Listen for connections from the local system only #agentaddress udp:127.0.0.1:161 # Listen for connections on all interfaces (both IPv4 *and* IPv6)

agentaddress udp:161,udp6:[::1]:161 # ACCESS CONTROL #view systemonly included.1.3.6.1.2.1.1 #view systemonly included.1.3.6.1.2.1.25.1 view all included.1 80 # system + hrsystem groups only #rocommunity public localhost #rocommunity public default rocommunity public rwcommunity private com2sec readonly default com2sec readwrite default -V systemonly public private # Full access from the local host # Default access to basic system info # ACTIVE MONITORING #trapsink localhost public # send SNMPv2c traps trap2sink localhost public trap2sink 172.18.1.105 public # 172.18.1.105 is Nadine # AgentX Sub-agents # Run as an AgentX master agent master agentx # Listen for network connections (from localhost) # rather than the default named socket /var/agentx/master agentxsocket tcp:localhost:705 After configuration changes snmpd daemon should be restarted by /etc/init.d/snmpd restart Configure Net-SNMP snmpd for execution on RedHat or CentOS Configuration file /etc/snmp/snmp.conf (you should create this file, if absent) should contain the line: mibs QSTAR-ASM-MIB Changes in configuration file /etc/snmp/snmpd.conf : ############################################################################### # Access Control ############################################################################### # sec.name source community #com2sec notconfiguser default public rocommunity public rwcommunity private com2sec readonly default public com2sec readwrite default private # name incl/excl subtree mask(optional) #view systemview included.1.3.6.1.2.1.1 #view systemview included.1.3.6.1.2.1.25.1.1 view all included.1 80 ############################################################################### # # ACTIVE MONITORING # # send SNMPv2c traps trap2sink localhost public trap2sink 172.18.1.105 public # 172.18.1.105 is Nadine

# # AgentX Sub-agents # # Run as an AgentX master agent master agentx # Listen for network connections (from localhost) # rather than the default named socket /var/agentx/master agentxsocket tcp:localhost:705 Some configuration info was obtained from the URL : http://www.net-snmp.org/wiki/index.php/tut:writing_a_subagent#beginner_tips After configuration changes snmpd daemon should be restarted using command: service snmpd restart or /etc/rc.d/init.d/snmpd restart Appendixes Manual check of QStar SNMP agent extension configuration on Windows Compile v5x_ws\lib_snmp\lib_snmp.vcxproj (snmp\lib\*), resulting qstarsnmpagent.dll should be located in working bin\ directory. Please specify in Windows registry a reference to qstarsnmpagent in the list of Extension Agents:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SNMP\Parameters\ExtensionAgents] "qstarsnmpagent"="software\\qstar Technologies, Inc.\\qstarSNMPAgent\\CurrentVersion" Please specify in Windows registry path to QStar SNMP Agent DLL: [HKEY_LOCAL_MACHINE\SOFTWARE\QStar Technologies, Inc.\qstarSNMPAgent\CurrentVersion] "Pathname"="C:\\QStar\\bin\\qstarSNMPAgent.dll" After agent installation Windows SNMP service should be restarted (stopped and then started): Starting and Stopping SNMP support processes on Linux SNMP management is a system wide operation and QStar QSM provides only SNMP subagent which can t operate by itself. The system administrator is responsible for starting and restarting SNMPD daemon using his own judgment and system requirements. QStar ASM start scripts will not stop or start QStar ASM SNMP subagent because SNMP services work independently of QStar and provide possibility to check QStar ASM status independently. The QStar SNMP subagent can be started manually using script in install directory. The script qsnmp_rc allows to start, stop and restart QStar ASM SNMP subagent. If needed that script may be added to the other scripts as scripts. qstarsnmpsubagent run options

Normally qstarsnmpsubagent should be executed without any options. It is running as daemon. For debugging purposes it can be started as./qstarsnmpsubagent -D qstar_handler -f -Lo -x tcp:localhost:705 For specific debug of trap handling it can be started as./qstarsnmpsubagent -D qstarsnmpsubagent -f -Lo -x tcp:localhost:705 Detailed instruction on all options can be obtained by./qstarsnmpsubagent h