9
Kaseya and SNMP A Practical Guide v0.01 1 SNMP tools, GetIF Contents Executive Summary................................................................................................................................. 2 Prerequisites and Assumptions .............................................................................................................. 3 Prerequisites ....................................................................................................................................... 3 Assumptions........................................................................................................................................ 3 Method ............................................................................................................................................... 3 Understand your environment ....................................................................................................... 3 Install GetIf ...................................................................................................................................... 3 Getting Started.................................................................................................................................... 4 Parameters ...................................................................................................................................... 4 Interfaces ........................................................................................................................................ 4 Addresses ........................................................................................................................................ 5 Routing Table .................................................................................................................................. 5 ARP .................................................................................................................................................. 6 Gen Table ........................................................................................................................................ 6 Reach ability .................................................................................................................................... 7 Traceroute....................................................................................................................................... 7 NSLookup ........................................................................................................................................ 8 Ip Discovery ..................................................................................................................................... 8 MBrowser........................................................................................................................................ 9

Snmp and Getif

Embed Size (px)

Citation preview

Kaseya and SNMP A Practical Guide v0.01

1

SNMP tools, GetIF

Contents Executive Summary ................................................................................................................................. 2

Prerequisites and Assumptions .............................................................................................................. 3

Prerequisites ....................................................................................................................................... 3

Assumptions ........................................................................................................................................ 3

Method ............................................................................................................................................... 3

Understand your environment ....................................................................................................... 3

Install GetIf ...................................................................................................................................... 3

Getting Started .................................................................................................................................... 4

Parameters ...................................................................................................................................... 4

Interfaces ........................................................................................................................................ 4

Addresses ........................................................................................................................................ 5

Routing Table .................................................................................................................................. 5

ARP .................................................................................................................................................. 6

Gen Table ........................................................................................................................................ 6

Reach ability .................................................................................................................................... 7

Traceroute ....................................................................................................................................... 7

NSLookup ........................................................................................................................................ 8

Ip Discovery ..................................................................................................................................... 8

MBrowser ........................................................................................................................................ 9

Kaseya and SNMP A Practical Guide v0.01

2

Executive Summary The follow document is contains the practical steps for getting the most out of SNMP using a tool

called GetIF.

First and foremost, this document is an introduction in to SNMP using a freeware utility, it is not a

background to the history of SNMP, SNMP is boring, and is probably on its way out as a hardware

management tool.

SNMP (Simple Network Management Protocol) is a protocol by which all manageable information for

a device can be viewed, tracked and programmed for.

SNMP by its very nature is complicated to implement. Many remote systems management tools use

SNMP to read SNMP information off devices for their monitoring. The problem is that software

vendors rely on Administrators having a firm grounding in SNMP

One such remote systems management tool is from a software vendor called Kaseya.

Jumping straight into it follow these steps to get to the SNMP interface in Kaseya. Launch a discovery

of all SNMP devices on the network you manage

Run a LAN Watch > Find Device > Create SNMP Set > Apply SNMP set to Device

The end to end process for leveraging SNMP in Kaseya might be

Run a LAN Watch > Find Device > Run GetIf with Device IP > Identify Useful MIB > Load Mib in Kaseya

> Create SNMP Set > Apply SNMP Set to device

Confused? Are all those extra steps getting you down? Don’t worry, these extra steps seem daunting,

but they are necessary and easy. The problem with using SNMP in Kaseya is that it’s nearly

impossible to identify a useful Mib value, with GetIf; it’s easy, and incredibly powerful.

The ultimate aim is, you will never have to purchase another piece of software to integrate into

Kaseya, just follow these steps, and your monitoring is done.

Kaseya and SNMP A Practical Guide v0.01

3

Prerequisites and Assumptions For this document to prove useful, you must have / meet the following prerequisites. Assumptions of

Administrators ability, are also listed below

Prerequisites These pre requisites assume you are using Kaseya, don’t worry if you aren’t, most of this document

is about discovering and understanding SNMP and MIBS.

- K2 Server implemented

- Standard Tech Role in K2 Server will suffice

- GetIf installed on your K2 Server, OR

- GetIf installed on a machine with SNMP Read access across your network, AND

- GetIf Installed on your clients site

- An I.P Connection to the device you wish to monitor.

Assumptions - Administrator has a basic understanding on SNMP

- Administrator has a basic understand of SNMP > Mibs

- Administrator has Administration rights to client’s machines

- Administrator has working knowledge of all client devices1

- One VERY BIG assumption is that you as an administrator have run LAN WATCH on your CLIENT

SITE, and that it was successful, once you have found multiple SNMP clients on the network, you can

commence work.

Method

Understand your environment

It is important when doing this work you understand your environment. For practical purposes we

will assume you are on a client Site, a LAN WATCH has been run, and your SNMP CLIENTS have been

identified.

Install GetIf

Go to http://www.wtcs.org/snmp4tpc/getif.htm

Download and install GetIf, this software is the best freeware utility for identifying SNMP Objects

1 Note: This means the Administrator understands vendor specific detail for many devices .This can include but is not limited to; Switches,

Routers, Firewalls, UPS’s, and any other hardware. Vendor Specific knowledge of these devices is desirable but not essential.

Kaseya and SNMP A Practical Guide v0.01

4

Getting Started

Parameters

Run GetIf > Parameters Tab > Host Name: X.X.X.X (Ip Address) > Click Start > Observe Screenshot

Interfaces

Select the Interfaces tab > Click Start > Watch the interfaces populate

Kaseya and SNMP A Practical Guide v0.01

5

Addresses

Select the Addresses tab > Click Start > Watch all interfaces & IP Addresses Populate

Routing Table

Select the Routing Table tab > Click Start > Watch Routing table populate

Kaseya and SNMP A Practical Guide v0.01

6

ARP

Select the ARP Table interface > Click Start > Observe the ARP Table

Gen Table

Select the Gen. Table > Click Start > Observe Gen Table populate.

We will discuss this more later

Kaseya and SNMP A Practical Guide v0.01

7

Reach ability

Select Reachability > Click Start > Observe Reachability parameters.

These parameters are useful for determining your access to the selected device

Traceroute

Select Traceroute > Click Start > Observe Traceroute values. *Administrative edit: At time of writing v.0.1, have no useable results from traceroute

Kaseya and SNMP A Practical Guide v0.01

8

NSLookup

Select the NSLookup tab > Click Start > Observe results *Administrative edit: At time of writing v0.1, there are no useable results from NSLookup.

*Administrative edit: At time of writing v0.1, there appears to be no use for NSLookup for SNMP

Ip Discovery

Select Ip Discovery tab > Click Start > Observe Results *Administrative edit: At time of writing v0.1, there are no useable results from Ip Discovery.

*Administrative edit: At time of writing v0.1, there appears to be no use for Ip Discovery for SNMP

Kaseya and SNMP A Practical Guide v0.01

9

MBrowser

Administrative Note: This is the important bit; everything you find here will determine your ability to

create useful SNMP sets. This is the most powerful and useful part of the application

The Basics

The following is an example of an interface you may wish to monitor.

Given the millions of possible things you can monitor, you will need to traverse the mib directory

Example:

Select the MBrowser tab > Drill down > iso.org.dod.internet.mgmt.mib-2.interfaces.ifTable.ifEntry.ifSpeed

Drill down to ANY value and Click Start > Observe sample below

Please note: This document is unfinished. I haven’t gone into a deep analysis of how to integrate into Kaseya, it is

coming I promise. Kaseya has since launched other tools that make SNMP even easier. To me,

making SNMP easier for the administrator is pointless, there is no transferable knowledge in just

clicking a button and have everything run. Be persistent, and ask me questions

Get me on twitter: #MarkDavidBoyd

Search me on linkedin: Mark David Boyd

email my Hotmail: [email protected]