![]() |
![]() |
Subject: | Trouble modeling AIX hosts |
Author: | Shea Johnson |
Posted: | 2017-02-01 14:08 |
First off, I'm using Zenoss Core 4.2.0 and my orginization uses SNMP instead of SSH to collect data. I know that's not optimal, but I'm stuck with it for now. When I model an AIX host, I'm not picking up a lot of the componet informatoin (File systems, Network Routes, etc.) except for Processors and Interfaces. The explanation I got from our prvious Zenoss admin was that AIX's SNMP didn't play nice. As a rsult, they created data sources mapping file systems to OIDs for each file system and monitored it that way. There has to be a better and more dynamic way to make this work. I am using the snmp.HRFileSystemMap wich should map the file systems to my knowledge. I do see the file system information as part of the HOST-RESOURCE-MIB when I do a snmpwalk, yet I'm still having trouble having Zenoss picking up the file systems. Does anyone have any ideas or troubleshooting tips Thanks in advance!
Subject: | Personally, I think SNMP is |
Author: | Jane Curry |
Posted: | 2017-02-02 05:55 |
Personally, I think SNMP is great. Old, klunky, low-level - but it is standard and it works.
I have also had trouble with AIX snmp agents in the past. IBM was always a little non-conformist in this area, though I thought latterly they eventually shipped the net-snmp agent like the rest of the world.
I would start with some basic snmpwalk commands from a command-line window on your Zenoss server to establish what SNMP version and community name to use and to explore what SNMP OIDs really are available. So for host aix1, using SNMP Version 2c, with a community name of public, use:
snmpwalk -v2c -c public aix1 system
Among other things, this should tell you the agent that is being run on the target system, like:
SNMPv2-MIB::sysDescr.0 = STRING: Linux core519 3.10.0-327.36.3.el7.x86_64 #1 SMP Mon Oct 24 16:09:20 UTC 2016 x86_64
SNMPv2-MIB::sysObjectID.0 = OID: NET-SNMP-MIB::netSnmpAgentOIDs.10
The "system" on the end of the snmpwalk command says to just get the MIB-2 system variables. Next, I would use the same command but get everything - so leave off the "system" and I would redirect the output to a file as there may be lots of it:
snmpwalk -v2c -c public aix1 > /tmp/aix1.out
If you need to see the actual, dotted-decimal OID stuff, use the -O n parameter:
snmpwalk -v2c -c public -O n aix1 > /tmp/aix1.out_oid
That will help you compare what your target device supports with OIDs that are in performance templates.
Do you want to make a start with that and continue the discussion here
Cheers,
Jane
Email: jane.curry@skills-1st.co.uk Web: https://www.skills-1st.co.uk
Subject: | Hi Jane, thanks for always |
Author: | Shea Johnson |
Posted: | 2017-02-03 12:19 |
Hi Jane, thanks for always being so helpful. What I meant about not having optimal setup was about having an older version of Zenoss Core. SNMP works for me and on the AIX systems Im working on, Im running v2c. I do see the file system information listed as part of the HOST-RESUORCES-MIB which is what bothers me. Isnt the point of the HRFileSystemMap modular plugin to pull that information and populate it in the components tab of each modeled system What my predecessor was doing was feeding in the results of a df as part of an SNMP extension. I was just hoping to figure out why Zenoss wasnt picking up information like file systems automatically when it was being modeled.
Subject: | Jane, |
Author: | Shea Johnson |
Posted: | 2017-02-16 16:12 |
Jane,
Ive figured a few more things out when it comes to my modeling AIX issue. I had thought that the problem was within the HRFileSystemMap modular plugin, but after I removed all the ignore file system types, it modeled a few things for me. I then took a closer look at the output of the HOST-RESOURCE-MIB and saw that my AIX machines did not output any network for fixed disks in the hrStorageType field, but RAM and virtual memory were listed. So it looks like AIX is not feeding those disks into SNMP for me. I found what looks like a bug in net-snmp on AIX that looks to be what Im dealing with. More info can be found here https://sourceforge.net/p/net-snmp/bugs/2390/page=1. I wont be able to test the fix action out until I get some downtime on the server though. Hopefully this fixes it.
< |
Previous Ubuntu version upgrade bashed Zenoss |
Next Control Centre - is it possible to disable ssl v2 / ssl v3 |
> |