Install and configure the Net- SNMP agent for Windows



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

Monitoring disk stats with Cacti

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

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

Using SNMP with Content Gateway (not V-Series)

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

Maintaining Non-Stop Services with Multi Layer Monitoring

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

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

Newton Linux User Group Graphing SNMP with Cacti and RRDtool

Quick Installation Guide For Sensors with Cacti

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

Application Note. Cacti monitoring. Document version: v1.0 Last update: 8th November 2013

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

Network Monitoring with SNMP

AXIGEN Mail Server Reporting Service

There are numerous ways to access monitors:

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

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

This document details the following four steps in setting up a Web Server (aka Internet Information Services -IIS) on Windows XP:

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

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

LICENSE4J FLOATING LICENSE SERVER USER GUIDE

DEPLOYMENT GUIDE Version 1.0. Deploying the BIG-IP LTM with the Nagios Open Source Network Monitoring System

A Dude probing SNMP! Building custom probes and configuring equipment using SNMP with The Dude. Andrea Coppini AIR Wireless - Malta andrea@air.com.

Network Monitoring with SNMP

MRTG used for Basic Server Monitoring

Quick Start Guide for Parallels Virtuozzo

Distribution List Manager User s Manual

TrueSight Operations Management Monitoring Studio

Creating Cacti FortiGate SNMP Graphs

Parallels Virtual Automation 6.1

The Cacti HowTo Section

You can create configurations using the following modes:

vcenter Operations Management Pack for SAP HANA Installation and Configuration Guide

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

SQL Server Setup for Assistant/Pro applications Compliance Information Systems

Monitoring Oracle Enterprise Performance Management System Release Deployments from Oracle Enterprise Manager 12c

CentreWare for Microsoft Operations Manager. User Guide

CONNECTING TO DEPARTMENT OF COMPUTER SCIENCE SERVERS BOTH FROM ON AND OFF CAMPUS USING TUNNELING, PuTTY, AND VNC Client Utilities

StruxureWare Data Center Expert Release Notes

5.6.2 Optional Lab: Restore Points in Windows Vista

SNMP Test er Manual 2015 Paessler AG

Dell SupportAssist Version 2.0 for Dell OpenManage Essentials Quick Start Guide

Monitor TemPageR 4E With PageR Enterprise

SyAM Software Management Utilities. Creating Templates

Using AppMetrics to Handle Hung Components and Applications

Reference and Troubleshooting: FTP, IIS, and Firewall Information

Simple Network Management Protocol

DigitalPersona Pro Server for Active Directory v4.x Quick Start Installation Guide

HP Device Monitor (v 1.2) for Microsoft System Center User Guide

Monitoring MySQL. Geert Vanderkelen MySQL Senior Support Engineer Sun Microsystems

LICENSE4J LICENSE ACTIVATION AND VALIDATION PROXY SERVER USER GUIDE

Zenoss Discovery and Classification

Cacti 0.8 Network Monitoring

StruxureWare Data Center Expert Release Notes

Issue Tracking Anywhere Installation Guide

Moving the Web Security Log Database

TANDBERG MANAGEMENT SUITE 10.0

Kaseya 2. Quick Start Guide. for Network Monitor 4.1

Hands-On Microsoft Windows Server 2008

System Area Management Software Tool Tip: Agent Deployment utilizing. the silent installation with Active Directory

Avaya Aura Communication Manager SNMP Renewal Quick Reference Guide

Chapter 3 Software Installation

etoken Enterprise For: SSL SSL with etoken

Zabbix 1.8 Network Monitoring

IBM. IBM Cloud Automated Modular Managed (AMM) - monitoring services User Guide

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

EMC Smarts. Installation Guide for SAM, IP, ESM, MPLS, NPM, OTM, and VoIP Managers. Version 9.4 P/N REV 01

Using CertAgent to Obtain Domain Controller and Smart Card Logon Certificates for Active Directory Authentication

WhatsUp Gold v11 Features Overview

Maintaining the Content Server

JobScheduler - Quickstart

Network and Server Statistics Using Cacti

EMC Smarts. Installation Guide for SAM, IP, ESM, MPLS, NPM, OTM, and VoIP Managers. Version P/N REV 01

School of Information Technology and Engineering (SITE) CEG 4395: Computer Network Management

Installing TeamCall Server on Mac OS X

How to Install and use Windows XP Mode and Windows Virtual PC in Windows 7 for older 32 bit only Applications

Labtech Learning Management System. Windows Installation. Standart Version 1.0

Using SNMP to Obtain Port Counter Statistics During Live Migration of a Virtual Machine. Ronny L. Bull Project Writeup For: CS644 Clarkson University

SAIP 2012 Performance Engineering

Technical Note SNMP Interface

EventSentry Overview. Part I About This Guide 1. Part II Overview 2. Part III Installation & Deployment 4. Part IV Monitoring Architecture 13

MapGuide Open Source Repository Management Back up, restore, and recover your resource repository.

UBUNTU DISK IO BENCHMARK TEST RESULTS

Configuring and Monitoring Hitachi SAN Servers

PowerPanel Business Edition Installation Guide

Contents 1. Introduction 2. Security Considerations 3. Installation 4. Configuration 5. Uninstallation 6. Automated Bulk Enrollment 7.

A Tool must be configured to allow for CMISSync, see below for more information.

Bandwidth Monitoring December 2008

RemoteTM LAN Server User Guide

HP Device Monitor (v 1.1) for Microsoft System Center User Guide

Overview Customer Login Main Page VM Management Creation... 4 Editing a Virtual Machine... 6

Instructions for update installation of ElsaWin 5.00

Multi-Router Traffic Grapher (MRTG)

Backup and Recovery of Virtual Servers. John A. Davis Senior Consulting Engineer New Age Technologies

Partek Flow Installation Guide

User and Installation Manual

CRMS SNMP Software Overview

PRIMEQUEST Integration

Transcription:

Install and configure the Net- SNMP agent for Windows Version 0.2 (03/06/2008) : added a note about snmpd.conf file creation Version 0.1 (03/04/2008) : intial release This HowTo will explain how to install and configure the Net-SNMP agent for Windows, as a "subagent" of the Microsoft SNMP agent, to graph the output of custom scripts. Chapter I: Getting Net-SNMP binaries Net-SNMP 5.4.1 for Windows can be downloaded here. Once the file is downloaded, you just have to run the installer : You then have to accept the license : Next, you have to choose which type of agent you want to run :

as a standard agent as a "subagent" of the Microsoft SNMP agent Select the second option : Next, choose an installation directory (C:\usr by default) : it is better to create a Directory C:\Net-SNMP

Next, select an existing or a new Start menu folder : The installer then copies the files : Once installed, you have to register the Net-SNMP service

Chapter II: Configuring the Net-SNMP agent The Windows SNMP service must be installed, but the service must be disabled. Depending on where you've installed Net-SNMP, the main configuration file (snmpd.conf OR snmptrapd.conf) will be located in <path>\etc\snmp (by default, C:Net-SNMP\usr\etc\snmp). The snmpd.conf OR snmptrapd.conf has to be created. SOS!!! Please note that you need to restart the "Net-SNMP Agent" service whenever you modify snmpd.conf! The minimum configuration is this one : rocommunity public Start then the "Net-SNMP Agent" service, and query it : C:\Net-SNMP \usr\bin>snmpwalk.exe -v 1 -c public localhost sysdesc SNMPv2-MIB::sysDescr.0 = STRING: Hardware: x86 Family 6 Model 9 Stepping 5 AT/AT COMPATIBLE - Software: Windows 2000 Version 5.1 (Build 2600 Uniprocessor Free) This OID got an anwser from the Microsoft SNMP service, whereas C:\Net-SNMP \usr\bin>snmpwalk.exe -v 1 -c public localhost versiontag UCD-SNMP-MIB::versionTag.0 = STRING: 5.4.1 got an answer from the Net-SNMP agent. At this point, you can use the "Windows XP/2000/2003" host template in Cacti, to graph CPU usage, disk drives usage, network bandwidth, etc. Chapter III: Extending the Net-SNMP agent A great functionnality of Net-SNMP is that you can "extend" it. Let's run the C:\temp\foo.cmd script : C:\temp\foo.cmd 123

Now put this in snmpd.conf : exec foo c:\temp\foo.cmd The result of your script will be accessible under the ucdavis.exttable.extentry tree : output of the script : ucdavis.exttable.extentry.extoutput exit status : ucdavis.exttable.extentry.extresult command : ucdavis.exttable.extentry.extcommand You can check the result with this SNMP query : C:\temp>snmpwalk.exe -v 1 -c public localhost exttable UCD-SNMP-MIB::extIndex.1 = INTEGER: 1 UCD-SNMP-MIB::extNames.1 = STRING: foo UCD-SNMP-MIB::extCommand.1 = STRING: c:\temp\foo.cmd UCD-SNMP-MIB::extResult.1 = INTEGER: 0 UCD-SNMP-MIB::extOutput.1 = STRING: 123 UCD-SNMP-MIB::extErrFix.1 = INTEGER: noerror(0) UCD-SNMP-MIB::extErrFixCmd.1 = STRING: extoutput translates to.1.3.6.1.4.1.2021.8.1.101 As "foo" is our first exec directive, add ".1" at the end of the OID. In Cacti, use the "SNMP - Generic OID Template" like this : Voila! Result of the C:\temp\foo.cmd script is now graphed in Cacti. Chapter IV: Configure Net-SNMP agent for TUC Copy PowerNet-MIB.txt to c:\net-snmp\usr\share\snmp\mibs\ Insert to C:\Net-SNMP\usr\etc\snmp\snmpd.conf OR snmptrapd.conf traphandle PowerNet-MIB::gracefullShutdown c:\net- SNMP\usr\etc\shutdown.cmd and the file will like this :

disableauthorization yes # Generic SNMP Traps traphandle SNMPv2-MIB::coldStart c:\net-snmp\usr\etc\foo.cmd cold traphandle SNMPv2-MIB::warmStart c:\net-snmp\usr\etc\foo.cmd warm traphandle IF-MIB::linkDown traphandle IF-MIB::linkUp c:\net-snmp\usr\etc\foo.cmd down c:\net-snmp\usr\etc\foo.cmd up # Enterprise specific traps #Trap from the DATA CENTER traphandle PowerNet-MIB::gracefullShutdown c:\net- SNMP\usr\etc\shutdown.cmd there are two files that will execute foo.cmd and shutdown.cmd. foo.cmd will execute when a Generic SNMP Trap will accorded. Shutdown.cmd will execute when a DATA CENTER SNMP trap accoreded. Please note that you need to restart the "Net-SNMP Agent" service whenever you modify snmpd.conf! Modify the c:\net-snmp\usr\etc\shutdown.cmd: echo %date%-%time%-shutdown >> c:\net-snmp\usr\etc\hello.txt c:\net-snmp\usr\etc\shutdownservers.bat in the file ShutDownSERVERS.bat you will find a example of shutdown procedure how to shutdown a server(windows or linux) from windows Server