Hi
I want to create a CAPM Certification to count the number of entries in a table and store that number. I need it to poll the table at the SNMP poll rate and and store the resulting count of entries. I don't need the cert to create a component for each entry in the table (there are 1000s of entries in these tables) ... I just want it to create a single component (with a name based for example on the devices sysName) that will read the mib table and store the number of entries in that table so we can graph over time.
Firstly can anyone confirm this is possible to do? I expect it is as I have had some partial success with this ...
I am able to create a component based on the sysName but have not been able to get this to read a different table to count the entries ... and I have been able to store the count of the entries when I create a component for each entry in the table, the issue with this is there are 1000s of entries in these tables resulting in 1000s of components that are not needed ... so I just need a combination of both to get what I need.
Some more detail as follows ...
I am using the Wireless Controller metric family, as it has the metric 'Number of Active Access Points' defined.
I am trying to create a custom Vendor Cert to read from the Cisco Airespace Wireless mib, in particular the bsnAPOperationStatus from the bsnAPTable, and return the number of entries... I have had partial success but have not managed to get this fully working yet. I either end up with a component for each entry in the table, which can read and store the number of entries in the table ... or I can create a single component based on Mib-2 sysName which won't read the AP table.
I expect this may be possible using Multi-Mib Table Support detailed in the CAPM docs ... something to do with the IndexTagList I'm guessing ... but haven't figured it out just yet.
I have attached a copy of a vendor cert xml that will give an idea of what I'm trying to achieve ...
If anyone has any pointers I would appreciate it.
Thanks in advance, John