I am trying to setup a monitoring template for my AIX 6.1 servers. I would like the template to be generic enough that it could be applied to any of my AIX systems that I want to monitor.
I would like to setup Zenoss to monitor certain top level SNMP OIDs and then pull the data for all of the sub OIDs underneath it. I cannot get this to work correctly.
Here is an example .....
The AIX OID 220.127.116.11.18.104.22.168.22.214.171.124.126.96.36.199 has three sub OIDs 188.8.131.52.184.108.40.206.220.127.116.11.18.104.22.168.1, 22.214.171.124.126.96.36.199.188.8.131.52.184.108.40.206.2, and 220.127.116.11.18.104.22.168.22.214.171.124.126.96.36.199.3.
I can specify each of the three sub OIDs in the template individuually as separte datasources and it works great. When I try to specify the top level OID(188.8.131.52.184.108.40.206.220.127.116.11.18.104.22.168) it doesn't seem to pull any data. The issue is that not all of my AIX systems have the same number of sub OIDs for this particular top level OID, so I was thinking I could just tell Zenoss to monitor the top level OID and it would pull the correct sub OIDs for each system. This particular top level OID is for HBA perforamance and the number of sub OIDs depends on how many HBA adapters the server has.
Is there an easy way to setup Zenoss to monitor a top level OID and automatically pull in all of the appropriate sub OIDs?
I wouldn't call it 'easy' but the functionality your are looking for would be provided via custom modeler plugin. I don't use AIX, but I'm assuming you've review the available ZenPacks and none of them provide the HBA data in question already?
If that is the case, the best way to pull this off involves writing some code, such that you have an HBA component, an HBA component template, and a custom modeler plugin. A Search for Jane Curry's ZenPack Development PDF would be a great starting point from a documentation angle.
I haven't personally looked at any of the AIX related Zenpacks, but one of my co-workers did. I was told that none of the AIX related Zenpacks work with our version of Zenoss.
If you want something quick and dirty you can use this...
Also a howto on how to use it....
Follow Us On Twitter »
||Latest from the Zenoss Blog »||Community||Products||Services||Customers||About Us|
Copyright © 2005-2011 Zenoss, Inc.