May 9, 2008 5:19 PM
Beta AIX zenpack for Beta Zenoss
-
Like (0)
"kpg123" wrote:
I've just added a beta version of an AIX Zenpack for the beta version of Zenoss. Perhaps "beta" is too strong of a recommendation for this ZenPack -- all I will guarantee is that it won't end all life on the planet (okay, maybe just Earth is safe... :)
"atrawog" wrote:
"kpg123" wrote:
I've just added a beta version of an AIX Zenpack for the beta version of Zenoss. Perhaps "beta" is too strong of a recommendation for this ZenPack -- all I will guarantee is that it won't end all life on the planet (okay, maybe just Earth is safe... :)
Thanks a lot, I just gave it a try and I can assure you that your AIX Zenpack isn't the primary cause for the zhengzhou earthquake.
"atrawog" wrote:
I'm having problems with IP Services + CPU performance collection, but I haven't yet asked the AIX guys to change their snmpdv3.conf according to your suggestions.
"atrawog" wrote:
But at least they didn't came beating me up, like the last time when I spawned 100 telnet sessions on their boxes :-)
"kpg123" wrote:
I've just added a beta version of an AIX Zenpack for the beta version of Zenoss. Perhaps "beta" is too strong of a recommendation for this ZenPack -- all I will guarantee is that it won't end all life on the planet (okay, maybe just Earth is safe... :)
This is an egg-style zenpack, so it most assuredly won't work with 2.1.3.
http://www.zenoss.com/community/wiki/user-contributed/
**Use this ZenPack only with a test Zenoss system to make sure that there's no possibility of messing up your other performance data.**
First, the bad news...
Known issues:
* requires SNMP version 3 with authentication off (ie SNMP v1 commands will work with this feature set). Description of modifications required in the description for the /devices/servers/AIX class.
* doesn't properly map to the manufacture links for any of the hardware found (eg disk, cpus)
* doesn't allow for re-exports of the ZenPack
* the performance collectors have no error checking and are written in bash and perl (Did I mention the word "beta" yet?)
* the performance collectors explicitly require that version 1 snmpwalk and snmpget work, and won't accept other credential info
* filesystem events don't insert the name of the filesystem
* sanity checks in the modelers seem to want too much sanity, as they *seem* to sometimes prevent modeling (aka discovery) from gathering all information. On the plus side, the sanity checking does prevent Zenoss from blowing away previous modelled device info when it can't talk to the SNMP agents or the machine is down. :)
* the AIXBase modeler still doesn't seem to properly identify the hardware model and update the correct spot for the hardware. The serial number does appear to be updated correctly for the hardware, however.
* doesn't show the per-processor statistics, only a total averaged number. In addition, the MIB doesn't update the statistics all that frequently (I might have missed a setting that can up the polling on CPU usage), so it may even be fantastically wrong.
.. and now the good news:
Features:
* uses standard IBM AIX snmpd services. No net-snmp daemons required, no other packages to install.
* adds subclasses for /devices/servers/AIX, with further subclasses for LPARs and VIO servers. Adds a token link into /devices/server/Linux/HMC with a customized zLink so that it's (perhaps?) easier to get to the HMC console.
* (YMMV) discovers memory, paging space, processors, disks, adapters and filesystems. NB: FRU information and model numbers would (I *think*) require updates to other ZenModel relationships, which would need to be in the base Zenoss.
* has a copy of the AIX MIB (from the samples directory) and cleaned up version of the xmtopas-generated MIB (the MIB it generates is, to be polite, syntactically challenged. It may also be plain wrong in places. :)
* allows for a lot more performance statistics to be gathered
While fixes are especially welcome, other feedback is also appreciated. :)
Thank you,
kells
Future possibilites:
Note that storage-related info such as VG + LV + filesystem + MPIO path + LUN ID mapping will require ZenModel relationships to be created, which will require time. This would be useful to be able to create a report to determine (for example) which filesystems would be affected by an outage of which SAN storage system. Some info may also not be available through SNMP.
The VIO mapping of virtual adapters to physical adapters and LUN assignments might be impossible through SNMP. I have written Perl scripts to do end-to-end storage allocation (optimized) / deallocation / management from a DS81k through VIOs to an AIX LPAR so I know how to do it, but I'm not at liberty to share that code, much less contribute it. happy If anyone else has thoughts about implementing something, please let me know.
"ftanner" wrote:
I have access to AIX machines. What can I do to help you get this ZenPack "production ready"?
"ftanner" wrote:
The server that I am running it against currently will only monitor NIC usage and network routes. Nothing else. None of the perf graphs are filling out. No file systems.
"ftanner" wrote:
I get errors for the /perf/memory and /perf/cpu parts that the commands will not execute.
"ftanner" wrote:
The lo0 NIC thresholds are erroring out that they are using over 75% of the utilization.
"ftanner" wrote:
I have "Bad Value Reading" errors for the memAvailReal, xmdMemRealEcomp, laLoadInit5, xmdMemRealEpinned, Real Non-computational, xmdMemRealEfree, and xmdMemRealEconcomp OIDs.
"kpg123" wrote:
One issue that Zenoss has (at least wrt AIX) is that if when a new AIX server is added, Zenoss sometimes decides that instead of being SNMP v1, that the the AIX client is SNMP v2c. You may want to check that zProperty as well.
Please let me know how it goes. If they have different experiences or suggestions, I'd like to hear it!
"atrawog" wrote:
I finally managed to get a new Zenoss 2.2 installation and a AIX 5.3 test host up and running and the SNMP version bug is fixed in Zenoss 2.2.
"atrawog" wrote:
There is only a slight bug with your Zenpack: The AIX collector scripts aren't included in the pack.
The templates search for them at {here/ZenPackManager/packs/ZenPacks.community.AIX/path}/libexec/, but the won't find them because they aren't installed by the ZenPack.
cu andreas
"kpg123" wrote:
There are still issues with the package and with my test installation. Hopefully I can resolve that soon....
"atrawog" wrote:
I have just tried it and it does work pretty well.
"atrawog" wrote:
The performance templates generate a handful of errors (memAvailReal, xmdMemRealEcomp, xmdMemRealEpinned, Real Non-computational, xmdMemRealEfree, xmdMemRealEnoncomp) and I will look into that.
"atrawog" wrote:
But my AIX guys will love you for reporting file system mount points like "/" instead of logical volume names like "/dev/hd4".
"kpg123" wrote:
Those all appear to be related to xmtopas (PTX stuff). You may need to run xmtopas in the background, IIRC....
Something like: xmtopas -C >/dev/null 2>&1 &
(scse):root:/wgkk/bin>oslevel -s
5300-06-04-0748
(scse):root:/wgkk/bin>cat /etc/inetd.conf | grep topas
xmquery dgram udp wait root /usr/bin/xmtopas xmtopas -p3
"kpg123" wrote:
I'd love to put in a better help page for this stuff, but the /devices/servers/AIX class notes are already obnoxiously long. There has to be a better way to provide that info, but that's what I've got for the moment. Suggestions?
"kpg123" wrote:
"atrawog" wrote:
But my AIX guys will love you for reporting file system mount points like "/" instead of logical volume names like "/dev/hd4".
Heh. That type of thing was getting to me. :)
Just to check to see what else might be working for you, are the CPU number and type showing up properly? As well as memory and paging space? How about any hdisks?
"atrawog" wrote:
"kpg123" wrote:
Those all appear to be related to xmtopas (PTX stuff). You may need to run xmtopas in the background, IIRC....
Something like: xmtopas -C >/dev/null 2>&1 &
What AIX an xmtopas version are you using? On my box xmtopas doesn't have an '-C' option and starts up via inetd:
"atrawog" wrote:
"kpg123" wrote:
Just to check to see what else might be working for you, are the CPU number and type showing up properly? As well as memory and paging space? How about any hdisks?
CPUs are funny. My test host is entitled to 1 physical CPU that is split up into 2 logical CPU's and I have 3 CPU's showing up in Zenoss. So either they are added or the host was entitled to 3 logical CPU's somewhere in the past and the info is still available via SNMP.
"atrawog" wrote:
Memory, paging space, hdisks and vpath info shows up correctly.
"atrawog" wrote:
Another nice thing would be to name interface something like "en1 Gigabit Ethernet-SX Adapter" instead of "en1; Product: Gigabit Ethernet-SX PCI-X Adapter Manufacturer: not available! Part Number: 00P4499 FRU Number: 00P4499". The name is pretty long and and tends to break the Zenoss web layout a little bit?
"atrawog" wrote:
Thank for all the efforts, you are saving everybody a lot of time :-)
"jbaird" wrote:
I monitor ~60 AIX systems, and I know that other users of Zen are also monitoring.
"jbaird" wrote:
I actually use net-snmp AND AIX's snmpd in order with a custom modeler that I wrote to monitor the systems.
I am currently pulling Serial/HW Model/OS Version, Network interfaces, OS processes, Filesystems, Routes, and performance graphs.
proxy -v 1 -c public 127.0.0.1:1610 .1.3.6.1.2.1.2.2.1
proxy -v 1 -c public 127.0.0.1:1610 1.3.6.1.4.1.2.2.1.1.0
proxy -v 1 -c public 127.0.0.1:1610 1.3.6.1.4.1.2.2.1.1.1.0
# Proxy iftable(IF-MIB: Interface Names & Stats), iptable and ifalias
#proxy -v 1 -c public 127.0.0.1:1610 .1.3.6.1.2.1
#proxy -v 1 -c public 127.0.0.1:1610 .1.3.6.1.2.1.4.20.1
# Proxy RFC1213-MIB (Route Info)
proxy -v 1 -c public 127.0.0.1:1610 .1.3.6.1.2.1.4.21.1
# Proxy SysUptime (netsnmp doesn't work)
proxy -v 1 -c public 127.0.0.1:1610 1.3.6.1.2.1.25.1.1.0
proxy -v 1 -c public 127.0.0.1:1610 .1.3.6.1.2.1.1.3.0
# Proxy the SNMP Descr so OS shows up properly in zenoss parsing
proxy -v 1 -c public 127.0.0.1:1610 .1.3.6.1.2.1.1.1.0
proxy -v 1 -c public 127.0.0.1:1610 .1.3.6.1.2.1.1.1.0
# Execute scripts to get more information
exec check_ibmserial /Admin/Scripts/snmp/getSerial.ksh
exec check_ibmmodel /Admin/Scripts/snmp/getModel.ksh
exec check_ibmmftg /Admin/Scripts/snmp/getMftg.ksh
exec check_ibmos /Admin/Scripts/snmp/getOS.ksh
Follow Us On Twitter »
|
Latest from the Zenoss Blog » | Community | Products | Services Resources | Customers Partners | About Us | ||
Copyright © 2005-2011 Zenoss, Inc.
|
||||||||