Giter Site home page Giter Site logo

zenpacks.community.hpmon's Introduction

ZenPacks.community.HPMon

About

This ZenPack provides additional monitoring options for HP Servers with HP System Insight Manager Agent installed.

Requirements

Zenoss

You must first have, or install, Zenoss 2.5.2 or later. This ZenPack was tested against Zenoss 2.5.2, Zenoss 3.2 and Zenoss 4.2. You can download the free Core version of Zenoss from http://community.zenoss.org/community/download.

ZenPacks

You must first install:

Monitored Systems

On monitored system, HP System Insight Manager Agents must be installed and properly configured.

Installation

Normal Installation (packaged egg)

Download the HP ProLiant Monitor. Copy this file to your Zenoss server and run the following commands as the zenoss user.

zenpack --install ZenPacks.community.HPMon-2.3.0.egg
zenoss restart

Developer Installation (link mode)

If you wish to further develop and possibly contribute back to the HPMon ZenPack you should clone the git repository, then install the ZenPack in developer mode using the following commands.

git clone git://github.com/epuzanov/ZenPacks.community.HPMon.git
zenpack --link --install ZenPacks.community.HPMon
zenoss restart

Usage

Go to the specific device (yes, it needs to already be added).

  1. From the > Menu select More -> Collector Plugins
  2. Remove the zenoss.snmp.Cpu
  3. Click "Add Fields"
  4. Drag and drop all of the "community.snmp.HP*" entries in the right list over into the left list. Note that community.snmp.HPLogicalDiskMap, community.snmp.HPHardDiskMap and community.snmp.HPExpansionCardMap plugins must be at the END of lists.
  5. CLICK SAVE (don't forget this step)
  6. From the > Menu select Manage -> Model Device
  7. Once it is completed modeling check out the hardware tab for the device, you should see CPUs, Harddrives, Fans, etc. If you don't you may have problems with snmp, so check those settings the usual way.

Installing the ZenPack will add the following items to your Zenoss system.

zProperties

  • zHPExpansionCardMapIgnorePci - ignore PCI cards other than RAID and iLO controllers

Modeler Plugins

  • community.snmp.HPCPUMap - CPU modeler plugin
  • community.snmp.HPDaCntlrMap - modeler plugin for HP Smart Array controllers
  • community.snmp.HPDaLogDrvMap - modeler plugin for Logical Disks on HP Smart Array controllers
  • community.snmp.HPDaPhyDrvMap - modeler plugin for Physical Disks on HP Smart Array controllers
  • community.snmp.HPDeviceMap - device modeler plugin, tried to identify Model, Vendor and Serial Number
  • community.snmp.HPExpansionCardMap - PCI cards modeler plugin, tried to identify all PCI cards, RAID and iLO controllers, put it to the end of *Collector Plugins* list
  • community.snmp.HPFanMap - Fan modeler plugin
  • community.snmp.HPFcTapeCntlrMap - modeler plugin for FC Tape controllers
  • community.snmp.HPFcaCntlrMap - modeler plugin for HP StorageWorks Modular Smart Array controllers
  • community.snmp.HPFcaLogDrvMap - modeler plugin for Logical Disks on HP StorageWorks Modular Smart Array controllers
  • community.snmp.HPFcaPhyDrvMap - modeler plugin for Physical Disks on HP StorageWorks Modular Smart Array controllers
  • community.snmp.HPHardDiskMap - Hard Disks modeler plugin returned to zenmodeler information collected by other Physical Disk modeler plugins, so put it in Collector Plugins list after all Physical Disk modeler plugins.
  • community.snmp.HPIdeAtaDiskMap - modeler plugin for IDE/ATA Physical Disks
  • community.snmp.HPIdeControllerMap - modeler plugin for IDE/ATA controllers
  • community.snmp.HPIdeLogicalDriveMap - modeler plugin for Logical Disks on IDE/ATA controllers
  • community.snmp.HPLogicalDiskMap - Logical Disks modeler plugin returned to zenmodeler information collected by other Logical Disk modeler plugins, so put it in Collector Plugins list after all Logical Disk modeler plugins.
  • community.snmp.HPMemoryModuleMap - Physical Memory modeler plugin, tried to identify memory modules
  • community.snmp.HPNicMap - Network Cards modeler plugin
  • community.snmp.HPPowerSupplyMap - Power Supply modeler plugin
  • community.snmp.HPSasHbaMap - modeler plugin for SAS controllers
  • community.snmp.HPSasLogDrvMap - modeler plugin for Logical Disks on SAS controllers
  • community.snmp.HPSasPhyDrvMap - modeler plugin for Physical Disks on SAS controllers
  • community.snmp.HPScsiCntlrMap - modeler plugin for SCSI controllers
  • community.snmp.HPScsiLogDrvMap - modeler plugin for Logical Disks on SCSI controllers
  • community.snmp.HPScsiPhyDrvMap - modeler plugin for Physical Disks on SCSI controllers
  • community.snmp.HPSm2CntlrMap - modeler plugin for iLO Management controllers
  • community.snmp.HPSsChassisMap - External Chassis modeler plugin
  • community.snmp.HPTemperatureSensorMap - Temperature Sensor modeler plugin

Monitoring Templates

  • Devices/Server/rrdTemplates/HPFan
  • Devices/Server/rrdTemplates/HPPowerSupply
  • Devices/Server/rrdTemplates/HPTemperatureSensor
  • Devices/Server/rrdTemplates/cpqDaCntlr
  • Devices/Server/rrdTemplates/cpqDaCntlrPerf
  • Devices/Server/rrdTemplates/cpqDaLogDrv
  • Devices/Server/rrdTemplates/cpqDaLogDrvPerf
  • Devices/Server/rrdTemplates/cpqDaPhyDrv
  • Devices/Server/rrdTemplates/cpqFcaCntlr
  • Devices/Server/rrdTemplates/cpqFcaHostCntlr
  • Devices/Server/rrdTemplates/cpqFcaLogDrv
  • Devices/Server/rrdTemplates/cpqFcaPhyDrv
  • Devices/Server/rrdTemplates/cpqHeResMem2Module
  • Devices/Server/rrdTemplates/cpqIdeAtaDisk
  • Devices/Server/rrdTemplates/cpqIdeController
  • Devices/Server/rrdTemplates/cpqIdeLogicalDrive
  • Devices/Server/rrdTemplates/cpqNicIfPhysAdapter
  • Devices/Server/rrdTemplates/cpqSasHba
  • Devices/Server/rrdTemplates/cpqSasLogDrv
  • Devices/Server/rrdTemplates/cpqSasPhyDrv
  • Devices/Server/rrdTemplates/cpqScsiCntlr
  • Devices/Server/rrdTemplates/cpqScsiLogDrv
  • Devices/Server/rrdTemplates/cpqScsiPhyDrv
  • Devices/Server/rrdTemplates/cpqSiMemModule
  • Devices/Server/rrdTemplates/cpqSm2Cntlr
  • Devices/Server/rrdTemplates/cpqSsChassis

Reports

  • Reports/Device Reports/HP ProLiant Reports/Hard Disks
  • Reports/Device Reports/HP ProLiant Reports/Storage Controllers
  • Reports/Device Reports/HP ProLiant Reports/iLO Boards

MIBs

  • CPQFCA-MIB
  • CPQHLTH-MIB
  • CPQIDA-MIB
  • CPQIDE-MIB
  • CPQNIC-MIB
  • CPQSCSI-MIB
  • CPQSM2-MIB

zenpacks.community.hpmon's People

Contributors

cluther avatar dougsyer avatar epuzanov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

zenpacks.community.hpmon's Issues

a few fixes

Hi Egor,

I made a few changes in my forked repot but im afraid the commits are a bit of a mess.

I fixed a problem where SAS HBA modeling was crashing (slot is apparently a string in that field in the mib) and added some new product info to a few of the modelers. Also, you couldnt see the properties for the SASHba as well.

I made some status updates to show status for solid state drives.

Im actually not sure if its considered rude or not to initiate a pull request in general in github so I thought I'd drop you this note.

Also, Ive noticed that network interface cards (that are the dual port onboard ones) dont model. You get one nic but not the either. Im in the process of trying to figure out the code.

I have a couple of snnp walks saved. What I'm not sure about at this point is, does the line:

om.port = getattr(om, 'port', 0) work in the nic modeler? i saw it part of map but not defined in the main table map for the oid.

Doug

Transform issues

Alot of the transforms are using %d when trying to parse the snmp indexes. Zenoss is storing the varbinds as strings so the transforms are crashing and the traps dont get parsed.

I also suspect that the transaction code doesnt work unless you run it fram a file with a method decorated with @transact but im not certain of this.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.