Host Resources MIB - RFC 2790

Slides:



Advertisements
Similar presentations
Buffers & Spoolers J L Martin Think about it… All I/O is relatively slow. For most of us, input by typing is painfully slow. From the CPUs point.
Advertisements

Lesson 6. The Computer Operation Computer Operating Systems GUI vs. Command line The Microsoft Windows Family File Systems – How Computers Manage Data.
By the end of this section, you will know and understand the hardware and software involved in making a LAN!
Connect communicate collaborate DRAFT ON NETWORK MANAGEMENT ARCHITECTURE Esad Saitovic, Ivan Ivanovic AMRES Network monitoring workshop for GN3/NA3/T4.
A computer is a machine that is used to store and process data electronically Computer Definition.
Lesson 15 – INSTALL AND SET UP NETWARE 5.1. Understanding NetWare 5.1 Preparing for installation Installing NetWare 5.1 Configuring NetWare 5.1 client.
Computer Basics. What is a Computer? A computer is a machine that can take inputs from the user, process that information, store that information as needed.
1 Chapter 2 Operating Systems: Software in the Background.
1.1 Installing Windows Server 2008 Windows Server 2008 Editions Windows Server 2008 Installation Requirements X64 Installation Considerations Preparing.
MCITP Guide to Microsoft Windows Server 2008 Server Administration (Exam #70-646) Chapter 14 Server and Network Monitoring.
1 Module 13 Windows NT Networking Services. 2  Overview Installing Network Services Dynamic Host Configuration Protocol (DHCP) Windows Internet Name.
A computer is a machine that is used to store and process data electronically Computer Definition.
These materials are licensed under the Creative Commons Attribution-Noncommercial 3.0 Unported license (
Hands-On Microsoft Windows Server 2008 Chapter 11 Server and Network Monitoring.
Machine Emulation & Developer Workstation Environment – Microsoft’s VirtualPC Dan Dyer Metrolist, Inc.
Week 6 Operating Systems.
CNT-150VT. Question #1 Your name Question #2 Your computer number ##
Fundamentals of Networking Discovery 1, Chapter 2 Operating Systems.
hardware and operating systems basics.
Tutorial 11 Installing, Updating, and Configuring Software
Types Windows Server Windows Server 2003, Standard Edition :- 2- Windows Server 2003, Enterprise Edition 3-Windows Server 2003, Web.Edition.
Module 1: Installing and Configuring Servers. Module Overview Installing Windows Server 2008 Managing Server Roles and Features Overview of the Server.
Implementing Hyper-V®
Guide to Linux Installation and Administration, 2e1 Chapter 2 Planning Your System.
Chapter 3 Installing Windows XP Professional. Preparing for installation Pre-installation requirement; ◦ Hardware requirements ◦ Hardware compatibility.
Module 9: Preparing to Administer a Server. Overview Introduction to Administering a Server Configuring Remote Desktop to Administer a Server Managing.
®® Microsoft Windows 7 for Power Users Tutorial 9 Evaluating System Performance.
Module 1: Installing Microsoft Windows XP Professional.
A computer is a machine that is used to store and process data electronically Computer Definition.
APRICOT 2008 Network Management Taipei, Taiwan February 20-24, 2008 Introduction to SNMP.
Terminal Servers in Schools A second life for your older computers.
1 After completing this lesson, you will know: What computers need to operate—basic hardware and peripheral devices Why and how to protect your computer.
Design Virtualization Infrastructure. Module 8: Design Virtualization Infrastructure Virtualization of a test server environment Virtualization and migration.
System optimisation Unit 11.4A Computer Science Grade 11.
Monitoring and Managing Server Performance. Server Monitoring To become familiar with the server’s performance – typical behavior Prevent problems before.
The Computer System CS 103: Computers and Application Software.
Communications & Networks National 4 & 5 Computing Science.
Module 9 Planning and Implementing Monitoring and Maintenance.
MICROSOFT WINDOWS 2000 NT ADVANCED SERVER Esra Tanrisever&Ozgur Topcu.
MICROSOFT TESTS /291/293 Fairfax County Adult Education Courses 1477/1478/1479.
BMTS 242: Computer and Systems Lecture 2: Memory, and Software Yousef Alharbi Website
Mastering SNMP Notes 25/12/2010. Simple Network Management Protocol (SNMP) is an application-layer protocol that provides a message format for communication.
IST 222 Day 2. Homework for Today Take up homework and go over Go to CompTIA web site and view objectives for A+ certification test.
Course 03 Basic Concepts assist. eng. Jánó Rajmond, PhD
Systems Software / The Operating System CSC October 14, 2010.
VIRTUAL MACHINE – VMWARE. VIRTUAL MACHINE (VM) What is a VM? – A virtual machine (VM) is a software implementation of a computing environment in which.
Network Management Workshop June 2009 Papeete, French Polynesia
DIT314 ~ Client Operating System & Administration
Module 9: Preparing to Administer a Server
APRICOT 2008 Network Management Taipei, Taiwan February 20-24, 2008
Hands-On Microsoft Windows Server 2008
Network Management Workshop November 2009 Nadi, Fiji
Network Management Workshop June 2009 Papeete, French Polynesia
SANOG 10 Workshop August New Delhi, India
How to Install Microsoft Office 2013?
Local secondary storage (local disks)
مقدمة في الحاسب الآلي T. Arwa Alsarami.
Printers.
Who’s in charge in there?
Migration Strategies – Business Desktop Deployment (BDD) Overview
Evaluating System Performance
Cloud computing mechanisms
Computer Repair & Maintenance
Information Technology Ms. Abeer Helwa
Network Management Workshop intERlab at AIT Thailand March 11-15, 2008
The Operating system Gives life to the hardware
6. Compiling MIBs Objectives The Compiling Process Traverse MIB Tree
Module 9: Preparing to Administer a Server
Demand Technology Software
Presentation transcript:

Host Resources MIB - RFC 2790 Yen-Cheng Chen IM, NCNU

MIBs Supported in Windows XP MIB-II (RFC 1213) Host Resource MIB (RFC 2790) LAN Manager MIB-II (.1.3.6.1.4.1.77) Microsoft DHCP server MIB (.1.3.6.1.4.1.311.1.3) Microsoft Internet Information Server MIB (.1.3.6.1.4.1.311.1.7) Microsoft WINS server MIB (.1.3.6.1.4.1.311.1.2)  Using SNMP for Network Management  MIB Object Types for Windows NT

References RFCs Modules: RFC 2790: Host Resources MIB HOST-RESOURCES-MIB ( HR-MIB ) HOST-RESOURCES-TYPES ( HR-TYPES ) Lab. Files (php) http://ycchen.im.ncnu.edu.tw/nm/hr-php.zip Lab. Files (Java projects): snmpwalk.java, getTable.java http://www.im.ncnu.edu.tw/ycchen/nm/getTable.zip

Management of Host Computers Host Resources MIB defines a uniform set of objects useful for the management of host computers. Objects which also provide host management functionality. system group in SNMPv2-MIB [RFC1907] interfaces group IF-MIB [RFC2233]

Groups of Host Resources MIB host OBJECT IDENTIFIER ::= { mib-2 25 } 1.3.6.1.2.1.25 6 Groups: hrSystem OBJECT IDENTIFIER ::= { host 1 } hrStorage OBJECT IDENTIFIER ::= { host 2 } hrDevice OBJECT IDENTIFIER ::= { host 3 } hrSWRun OBJECT IDENTIFIER ::= { host 4 } hrSWRunPerf OBJECT IDENTIFIER ::= { host 5 } hrSWInstalled OBJECT IDENTIFIER ::= { host 6 } hrMIBAdminInfo OBJECT IDENTIFIER ::= { host 7 }

1. hrSystem: HR System Group hrSystemUptime { hrSystem 1 } hrSystemDate { hrSystem 2 } hrSystemInitialLoadDevice { hrSystem 3 } hrSystemInitialLoadParameters { hrSystem 4 } hrSystemNumUsers { hrSystem 5 } hrSystemProcesses { hrSystem 6 } hrSystemMaxProcesses { hrSystem 7 } Index of the hrDeviceEntry

hrSystem Example host.hrSystem.hrSystemUptime.0: java snmpwalk –c community –m HR-MIB 10.10.13.7 hrSystem host.hrSystem.hrSystemUptime.0: 14 days, 17 hours, 10 minutes, 28 seconds. host.hrSystem.hrSystemDate.0: 2006-4-2,9:55:14.0 host.hrSystem.hrSystemInitialLoadDevice.0: 0 host.hrSystem.hrSystemInitialLoadParameters.0: host.hrSystem.hrSystemNumUsers.0: 2 host.hrSystem.hrSystemProcesses.0: 66 host.hrSystem.hrSystemMaxProcesses.0: 0

2. hrStorage: HR Storage Group (Oid) hrStorageTypes { hrStorage 1 } hrMemorySize { hrStorage 2 } hrStorageTable { hrStorage 3 } hrStorageEntry { hrStorageTable 1 } hrStorageIndex { hrStorageEntry 1 } hrStorageType { hrStorageEntry 2 } hrStorageDescr { hrStorageEntry 3 } hrStorageAllocationUnits { hrStorageEntry 4 } hrStorageSize { hrStorageEntry 5 } hrStorageUsed { hrStorageEntry 6 } hrStorageAllocationFailures { hrStorageEntry 7 } (Size of RAM in Kbytes)

hrStorage Example host.hrStorage.hrMemorySize.0: 1031472 (KBytes) ≒ 0.98 GBytes (bytes) java getTable 127.0.0.1 community hrStorageTable “HR-MIB HR-TYPES” > hrStorageTable.html

Php Example: realtable.php <?php snmp_set_quick_print(true); snmp_read_mib("hrTypes.txt"); $host = "127.0.0.1"; $community = "public"; $oid = "HOST-RESOURCES-MIB::hrStorageTable"; $arr = realtable($host, $community, $oid, 7); … ?> C:\usr\mibs\HOST-RESOURCES-TYPES.txt

Example hrStorageDescr: hrStorageAllocationUnits: 4096 hrStorageSize: 11442296 hrStorageUsed: 4739161 Disk Capacity: (bytes) 11442296 * 4096 = 46867644416 Available Disk Space: (%) (11442296-4739161)/11442296 *100% = 58.6 %

3. hrDevice: HR Device Group (Oid) hrDeviceTypes { hrDevice 1 } hrDeviceTable { hrDevice 2 } hrProcessorTable { hrDevice 3 } hrNetworkTable { hrDevice 4 } hrPrinterTable { hrDevice 5 } hrDiskStorageTable { hrDevice 6 } hrPartitionTable { hrDevice 7 } hrFSTable { hrDevice 8 }

hrDeviceTable - The table of devices contained by the host hrDeviceTable { hrDevice 2 } hrDeviceEntry { hrDeviceTable 1 } hrDeviceIndex { hrDeviceEntry 1 } hrDeviceType { hrDeviceEntry 2 } hrDeviceDescr { hrDeviceEntry 3 } hrDeviceID { hrDeviceEntry 4 } hrDeviceStatus { hrDeviceEntry 5 } hrDeviceErrors { hrDeviceEntry 6 }

hrDeviceTable Example

hrProcessorTable hrProcessorFrwID { hrProcessorEntry 1 } - The table of processors hrProcessorTable { hrDevice 3 } hrProcessorEntry { hrProcessorTable 1 } hrProcessorFrwID { hrProcessorEntry 1 } - Product ID of Firmware hrProcessorLoad { hrProcessorEntry 2 } - The average, over the last minute, of the percentage of time that this processor was not idle. hrDeviceIndex

hrNetworkTable - The table of network devices ifTable: hrNetworkTable { hrDevice 4 } hrNetworkEntry { hrNetworkTable 1 } hrNetworkIfIndex { hrNetworkEntry 1 } hrDeviceIndex ifTable:

hrPrinterTable hrPrinterTable { hrDevice 5 } hrPrinterEntry { hrPrinterTable 1 } hrPrinterStatus { hrPrinterEntry 1 } hrPrinterDetectedErrorState { hrPrinterEntry 2 } other(1), unknown(2), idle(3), printing(4), warmup(5) Bits: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 0: lowPaper 1: noPaper 2: lowToner 3: noToner 4: doorOpen 5: jammed 6: offline 7: serviceRequested 8: inputTrayMissing 9: outputTrayMissing 10: markerSupplyMissing 11: outputNearFull 12: outputFull 13: inputTrayEmpty 14: overduePreventMaint

hrDiskStorageTable - The table of long-term storage devices hrDiskStorageTable { hrDevice 6 } hrDiskStorageEntry { hrDiskStorageTable 1 } hrDiskStorageAccess { hrDiskStorageEntry 1 } hrDiskStorageMedia { hrDiskStorageEntry 2 } hrDiskStorageRemoveble { hrDiskStorageEntry 3 } hrDiskStorageCapacity { hrDiskStorageEntry 4 }

hrDiskStorageTable Example KBytes hrDeviceIndex

hrPartitionTable hrPartitionTable { hrDevice 7 } - The table of partitions for long-term storage devices hrPartitionTable { hrDevice 7 } hrPartitionEntry { hrPartitionTable 1 } hrPartitionIndex { hrPartitionEntry 1 } hrPartitionLabel { hrPartitionEntry 2 } hrPartitionID { hrPartitionEntry 3 } hrPartitionSize { hrPartitionEntry 4 } hrPartitionFSIndex { hrPartitionEntry 5 } FS: File System

hrPartitionTable Example KBytes hrDeviceIndex hrPartitionIndex 1 2 3 4 5

hrFSTable - The table of file systems local or remotely mounted hrFSTable { hrDevice 8 } hrFSEntry { hrFSTable 1 } hrFSIndex { hrFSEntry 1 } hrFSMountPoint { hrFSEntry 2} hrFSRemoteMountPoint { hrFSEntry 3 } hrFSType { hrFSEntry 4 } hrFSAccess { hrFSEntry 5 } hrFSBootable { hrFSEntry 6 } hrFSStorageIndex { hrFSEntry 7 } hrFSLastFullBackupDate { hrFSEntry 8 } hrFSLastPartialBackupDate { hrFSEntry 9 }

hrFSTable Example January 1, year 0000, 00:00:00.0

4. hrSWRun: HR Running Software Group hrSWOSIndex { hrSWRun 1 } hrSWRunTable { hrSWRun 2 } hrSWRunEntry { hrSWRunTable 1 } hrSWRunIndex { hrSWRunEntry 1 } hrSWRunName { hrSWRunEntry 2 } hrSWRunID { hrSWRunEntry 3 } hrSWRunPath { hrSWRunEntry 4 } hrSWRunParameters { hrSWRunEntry 5 } hrSWRunType { hrSWRunEntry 6 } hrSWRunStatus { hrSWRunEntry 7 } unknown(1), operatingSystem(2), deviceDriver(3), application(4) running(1), runnable(2), notRunnable(3), invalid(4) hrSWRunType: hrSWRunStatus:

hrSWRunTable Example - The table of software running on the host hrSWRun.hrSWOSIndex.0: 4

5. hrSWRunPerf: HR Running Software Performance Group hrSWRunPerfTable { hrSWRunPerf 1 } hrSWRunPerfEntry { hrSWRunPerfTable 1 } hrSWRunPerfCPU { hrSWRunPerfEntry 1 } - Number of centi-seconds of the CPU resources consumed by this process. hrSWRunPerfMem { hrSWRunPerfEntry 2 } - The total amount of real system memory allocated to this process. (in Kbytes) - The table of running software performance metrics

hrSWRunPerfTable Example hrSWRunTable =

6. hrSWInstalled: HR Installed Software Group hrSWInstalledLastChange hrSWInstalledLastUpdateTime hrSWInstalledTable hrSWInstalledEntry hrSWInstalledIndex hrSWInstalledName hrSWInstalledID hrSWInstalledType hrSWInstalledDate { hrSWInstalled 1 } { hrSWInstalled 2 } { hrSWInstalled 3 } { hrSWInstalledTable 1 } { hrSWInstalledEntry 1 } { hrSWInstalledEntry 2 } { hrSWInstalledEntry 3 } { hrSWInstalledEntry 4 } { hrSWInstalledEntry 5 } unknown(1), operatingSystem(2), deviceDriver(3), application(4)

hrSWInstalledTable Example