Difference between revisions of "ZenPack:AIX"

From Zenoss Wiki
Jump to: navigation, search
Line 9: Line 9:
 
|Release date=2014/12/18
 
|Release date=2014/12/18
 
|Compatible with=Zenoss Resource Manager 4.2.x
 
|Compatible with=Zenoss Resource Manager 4.2.x
 +
|Download URL=https://support.zenoss.com/ics/support/DLRedirect.asp?deptID=16059&fileID=47336
 
}}
 
}}
 
|Devices=
 
|Devices=

Revision as of 16:31, 23 December 2014


Note: This ZenPack is available in commercial versions of Zenoss. Click here to request more information about this commercial ZenPack. Click here to see all commercial ZenPacks.

Organization
Zenoss, Inc.
ZenPack name
ZenPacks.zenoss.AixMonitor


Applications Monitored: 



AIX ZenPack

The AIX Monitor ZenPack enables Resource Manager to use Secure Shell (SSH) to monitor AIX hosts.

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 included with commercial versions of Zenoss and enterprise support for this ZenPack is provided to Zenoss customers with an active subscription.

Releases

Version 2.0.0- Download
Released on 2014/12/18
Compatible with Zenoss Resource Manager 4.2.x

Background

The ZenPacks.zenoss.AixMonitor ZenPack uses Secure Shell (SSH) to monitor AIX hosts.


This ZenPack models and monitors devices placed in the /Server/SSH/AIX device class by running commands and parsing the output. The account used to monitor the device does not require root access or special privileges.

This ZenPack provides:

  • File system and process monitoring
  • Network interfaces and route modeling
  • CPU utilization information
  • Hardware information (memory, number of CPUs, machine serial numbers, model numbers)
  • OS information (OS level command style information)
  • LPP and RPM information (such as installed software)

Prerequisites

Prerequisite Restriction
Product Zenoss platform 4.2.x
Required ZenPacks ZenPacks.zenoss.AixMonitor
AIX Releases Supported 5.3 and 6.1 and 7.1


Note: If using a distributed collector setup, SSH requires firewall access (default of port 22) from the collector to the monitored server.


Add an AIX Server

The following procedure assumes that the credentials have been set.


  1. From Infrastructure > Devices, select Add a Single Device.
  2. Enter the following information in the dialog:
    Adding AIX Device Information
    Name Description
    Name or IP AIX host to model
    Device Class /Server/SSH/AIX
    Model Device Select this option unless adding a device with username/password different than found in the device class. If you do not select this option, then you must add the credentials, and then manually model the device.


  3. Click Add Device to add the device.


Set AIX Server Monitoring Credentials

All AIX servers must have a device entry in an organizer below the /Devices/Server/SSH/AIX device class.


Note: The SSH monitoring feature will attempt to use key-based authentication before using a configuration properties password value.


  1. Navigate to the device class or device.
    • If applying changes to a device class:
      1. Select the class in the devices hierarchy.
      2. Click Details.
      3. Select Configuration Properties.
    • If applying changes to a device:
      1. Click the device in the device list.
      2. Select Configuration Properties.
  2. Verify the credentials for the service account to access the service.
    AIX Configuration Properties
    Name Description
    zCommandUsername AIX user with privileges to gather performance information
    zCommandPassword Password for the AIX user


  3. Click Save to save your changes.


Device Components

This zenpack creates new custom components for Ethernet Adapters, Fiber Channel Adapters and Hard Disks. These new components can impact the Aix Device.

Monitoring Metrics

 Metrics are provided in the following templates.

Devices/Server/SSH/Aix: AIXExt, Device, EntAdapter, ethernetCsmacd, FCAdapter, FileSystem, HDisk, OSProcess,

IBM_PowerVM Device Class

The Devices/Server/SSH/Aix/IBM_PowerVM device class is intended to be used when monitoring powervm lpars. This device class creates an additional AixEXT template to be used in monitoring the PowerVM equipment.

Resolving CHANNEL_OPEN_FAILURE Issues

The zencommand daemon's log file ($ZENHOME/collector/zencommand.log) may show messages stating:

ERROR zen.SshClient CHANNEL_OPEN_FAILURE: Authentication failure
WARNING:zen.SshClient:Open of command failed (error code 1): open failed

If the sshd daemon's log file on the remote device is examined, it may report that the MAX_SESSIONS number of connections has been exceeded and that it is denying the connection request. At least in the OpenSSH daemons, this MAX_SESSIONS number is a compile-time option and cannot be reset in a configuration file.

To work around this limitation of the sshd daemon, use the configuration property zSshConcurrentSessions to control the number of connections created by zencommand to the remote device.


  1. Navigate to the device or device class in the Zenoss platform interface.
    • If applying changes to a device class:
      1. Select the class in the devices hierarchy.
      2. Click Details.
      3. Select Configuration Properties.
    • If applying changes to a device:
      1. Click the device in the device list.
      2. Select Configuration Properties.
  2. Apply an appropriate value for the maximum number of sessions.
    Concurrent SSH Configuration Properties
    Name Description
    zSshConcurrentSessions Maximum number of sessions supported by the remote device's MAX_SESSIONS parameter. Common values for AIX are 2 or 10.


  3. Click Save to save your changes.


Resolving Timeout Issues

The zencommand daemon's log file ($ZENHOME/collector/zencommand.log) may show messages stating:

WARNING:zen.zencommand:Command timed out on device device_name: command

If this occurs, it usually indicates that the remote device has taken too long to return results from the commands. To increase the amount of time for devices to return results, change the configuration property zCommandCommandTimeout to a larger value.


  1. Navigate to the device or device class in the Zenoss platform interface.
    • If applying changes to a device class:
      1. Select the class in the devices hierarchy.
      2. Click Details.
      3. Select Configuration Properties.
    • If applying changes to a device:
      1. Click the device in the device list.
      2. Select Configuration Properties.
  2. Apply an appropriate value for the command timeout.
    SSH Timeout Configuration Properties
    Name Description
    zCommandCommandTimeout The number of seconds to wait for commands to complete on the remote device.


  3. Click Save to save your changes.


Features

The features added by this ZenPack can be summarized as follows. They are each detailed further below.

  • Initial discovery and periodic remodeling of relevant components.
  • Performance monitoring.

Discovery

The following components will be automatically discovered through the Aix server address, username and password you provide. The properties and relationships will be periodically updated by modeling.

Server (Device)
Attributes: ent_cpu, ent_vproc, active_cpu, systemId, prof_max_mem, ent_mem
EntAdapter
Attributes: devname, location, parent, physloc
FCAdapter
Attributes: devname, location, parent, physloc
HDisk
Attributes: devname, location, parent, physloc

Performance Monitoring

The following metrics will be collected every 5 minutes by default.

  • Default OS performance Metrics
Device
  • ssCpuIdle
  • ssCpuSystem
  • ssCpuUser
  • ssCpuWait
  • ssRawContexts
  • ssRawInterrupts
  • io_read
  • io_written
  • hrMemorySize
  • memAvailReal
  • percentMemUsed
  • swap_percentUsed
  • sysUptime
  • laLoadInt1
  • laLoadInt5
  • laLoadInt15
EntAdapter
  • receive_bytes
  • receive_packets_dropped
  • transmit_bytes
  • transmit_packets_dropped
  • recvHugeutil
  • recvLargeutil
  • recvMediumutil
  • recvSmallutil
  • recvTinyutil
FCAdapter
  • control_requests
  • input_bytes
  • input_requests
  • output_requests
  • output_bytes
  • output_requests
HDisk
  • b_written
  • b_read
  • policies_algorithm
  • policies_reserve_policy


Known Issues

When Migrating from 1.2.0 to a newer version of this zenpack the Filesystem cycle time changed from 60 to 300. If your filesystem graphs are not updating you will need to delete the existing filesystem rrd files so that new ones can be generated with the new 300 second step time.

Limitations

Some commands used in the AixExt template may be incompatible with your version of Aix. You should disable those datasources if that is the case and it is impacting your installation.

Changes

2.0.0

  • Support Aix 7.1
  • Aix SS CPU data inaccurate (ZEN-8637)
  • Aix Parser Broken (ZEN-15092)
  • Graphs returning Nan (ZEN-15099, ZEN-15157, ZEN-15199)
  • Unable to gather some memory metrics (ZEN-15139)
  • Added Impact Adapters (ZEN-15153)
  • Rename Components (ZEN-15155)
  • Disk Drive Components returning wrong data (ZEN-15159)
  • Add graph legends (ZEN-15162)
  • Installation Traceback (ZEN-15166)
  • Supply Missing Template (ZEN-15180)
  • Some components missing during upgrade (ZEN-15193)
  • Traceback during installation (ZEN-15166)


Type Name
Modeler zenmodeler
Performance Collector zencommand

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.zenoss.AixMonitor-*.egg
  4. Restart these services:
    $ zenoss restart


Discuss

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

blog comments powered by Disqus