ZenPack:HP-UX Monitor (SSH)

From Zenoss Wiki
This is the approved revision of this page, as well as being the most recent.
Jump to: navigation, search
Author(s)
David Andino
Current Maintainer(s)
David Andino
Organization
andinod
License
GNU General Public License, Version 2
ZenPack name
ZenPacks.andinod.HPUXMonitor
More Information
GitHub page/HomePage
Git sources (for cloning)
Link


Applications Monitored: 



HP-UX Monitor (SSH) ZenPack

HP-UX Monitoring Through SSH

Warning

The ZenPack Catalog has moved to its new home at https://www.zenoss.com/product/zenpacks as of January 17, 2017. The following information may be out of date, and this page will eventually be removed.

Support

This ZenPack is developed by the Zenoss user community and supported via our online forums. Zenoss, Inc. does not provide direct support for this ZenPack.

Releases

Version 0.1.0- Download
Released on 2013/08/26
Requires Linux Monitor ZenPack
Compatible with Zenoss Core 4.2.x
Version 0.2.1- Download
Summary of changes: Cleaned directories, serial and uptime plugins were deleted
Released on 2013/08/27
Requires Linux Monitor ZenPack
Compatible with Zenoss Core 4.2.x
Version 0.2.2- Download
Summary of changes: systemscan plugin was adapted to recognize HPVM virtual machines
Released on 2013/08/27
Requires Linux Monitor ZenPack
Compatible with Zenoss Core 4.2.x

Background

This Zenpack was created by the need to monitor HP-UX 11.31 servers with Zenoss. Some HP-UX 11.31 servers have serious problems with the snmpd daemon, which in some cases reaches loads up to 90% of CPU. So that is the reason to make this Zenpack for every Unix administrator that have this problem.


This Zenpack will create:

  • New Organizer: Devices -> Server -> SSH -> HPUX
  • This Organizer will provide:
    • Template HPUXSSHMonitor
    • HPUX Filesystem Template
    • HPUXEthernet Template
    • Plugins: bdf, lanscan, memory, systemscan and zenoss.cmd.uname.
    • Additional plugins:model, uname_a are not necessary because systemscan do their job, but they are provided only for debug purposes.

CONFIGURATIONS:

  • After installing this Zenpack, restart zope, zenhub and zencommand: (with user zenoss)
    • zopectl restart; zenhub restart; zencommand restart
  • For security reason configure ssh key for zenoss account to your server.
    • On Zenoss server with zenoss account do: ssh-keygen, Press Enter to all
    • Go to .ssh
    • Copy the information contained in id_rsa.pub
    • Paste the information in the remote server's monitor user (for example root) in ~/.ssh/authorized_keys file
    • Test the trust connection without password from Zenoss server to the remote host (You don't have to be asked for password).
  • In Configuration Properties edit if is necessary:
    • zKeyPath
    • zCommandUsername
  • Add your Server.

RECOMENDATIONS

  • This Zenpack is recommended for HP-UX 11.31 but could be compatible with older versions 11.11 and 11.23
  • Change values in /opt/ssh/etc/sshd_config to:
    • MaxSessions 10

Installation

Normal Installation (packaged egg)

  1. Download the appropriate egg file for the version of Zenoss you are running.
  2. Ensure you are logged in as the zenoss user:
    $ sudo su - zenoss
  3. Install the ZenPack:
    $ zenpack --install ZenPacks.andinod.HPUXMonitor-*.egg
  4. Restart these services:
    $ zenoss restart

Developer Mode Installation

In order to do a development mode installation you will want to clone the existing git repository, and then use the --link flag with the zenpack command:

  1. Ensure you are logged in as the zenoss user:
    $ sudo su - zenoss
  2. Start by cloning the upstream repository:
    $ git clone git://github.com/andinod/ZenPacks.andinod.HPUXMonitor.git
  3. Next, perform the installation:
    $ zenpack --link --install ZenPacks.andinod.HPUXMonitor
  4. Finally, restart these serivices:
    $ zenoss restart

Discuss

Purplemarker.png New: Don't forget to add yourself to the Zenoss User Map!

blog comments powered by Disqus