1. Creating ZenPack. Question from novice

I'm trying to create ZenPack using this manual https://www.skills-1st.co.uk/papers/jane/zenpacks/zenpacks.pdfI'm working now with Zenoss 4.2.4 (Python 2.7.2) and manual written based on a stack­built Zenoss Core 2.4.1But I thought, that principles stay the same.I red all manual, and try to create self. I create ZenPack using GUI. Then configured Device Class, create device, create modeling template. Device class and modeling template export to ZenPack. Files of ZenPack copied from github. Restart zenoss. But still not working. Looking for error in all log, but nothing. What I'm doing wrong?May be I need to configure datasources in template. But I need specific processing of SNMP tree.

------------------------------Eduard------------------------------

2. RE: Creating ZenPack. Question from novice

Hi Eduard,You need to give us more detail of what you are trying to do here. What is your new ZenPack trying to monitor? What data are you trying to get from the modeler? What performance data are you trying to gather?

I'm trying to create ZenPack using this manual https://www.skills-1st.co.uk/papers/jane/zenpacks/zenpacks.pdfI'm working now with Zenoss 4.2.4 (Python 2.7.2) and manual written based on a stack­built Zenoss Core 2.4.1But I thought, that principles stay the same.I red all manual, and try to create self. I create ZenPack using GUI. Then configured Device Class, create device, create modeling template. Device class and modeling template export to ZenPack. Files of ZenPack copied from github. Restart zenoss. But still not working. Looking for error in all log, but nothing. What I'm doing wrong?May be I need to configure datasources in template. But I need specific processing of SNMP tree.

------------------------------Eduard------------------------------

3. RE: Creating ZenPack. Question from novice

Hi Jane,New ZenPack is only a copy of considered in your manual. Not even changed. But I can describe features of ZenPack. Zenpack query network controller for list of wifi device around. And for each device get som scalar like noise and strength.But now my problem that I can't just run the demo ZenPack from manual.

Hi Eduard,You need to give us more detail of what you are trying to do here. What is your new ZenPack trying to monitor? What data are you trying to get from the modeler? What performance data are you trying to gather?

I'm trying to create ZenPack using this manual https://www.skills-1st.co.uk/papers/jane/zenpacks/zenpacks.pdfI'm working now with Zenoss 4.2.4 (Python 2.7.2) and manual written based on a stack­built Zenoss Core 2.4.1But I thought, that principles stay the same.I red all manual, and try to create self. I create ZenPack using GUI. Then configured Device Class, create device, create modeling template. Device class and modeling template export to ZenPack. Files of ZenPack copied from github. Restart zenoss. But still not working. Looking for error in all log, but nothing. What I'm doing wrong?May be I need to configure datasources in template. But I need specific processing of SNMP tree.

Hi Jane,New ZenPack is only a copy of considered in your manual. Not even changed. But I can describe features of ZenPack. Zenpack query network controller for list of wifi device around. And for each device get som scalar like noise and strength.But now my problem that I can't just run the demo ZenPack from manual.

Hi Eduard,You need to give us more detail of what you are trying to do here. What is your new ZenPack trying to monitor? What data are you trying to get from the modeler? What performance data are you trying to gather?

I'm trying to create ZenPack using this manual https://www.skills-1st.co.uk/papers/jane/zenpacks/zenpacks.pdfI'm working now with Zenoss 4.2.4 (Python 2.7.2) and manual written based on a stack­built Zenoss Core 2.4.1But I thought, that principles stay the same.I red all manual, and try to create self. I create ZenPack using GUI. Then configured Device Class, create device, create modeling template. Device class and modeling template export to ZenPack. Files of ZenPack copied from github. Restart zenoss. But still not working. Looking for error in all log, but nothing. What I'm doing wrong?May be I need to configure datasources in template. But I need specific processing of SNMP tree.

Hi Jane,New ZenPack is only a copy of considered in your manual. Not even changed. But I can describe features of ZenPack. Zenpack query network controller for list of wifi device around. And for each device get som scalar like noise and strength.But now my problem that I can't just run the demo ZenPack from manual.

Hi Eduard,You need to give us more detail of what you are trying to do here. What is your new ZenPack trying to monitor? What data are you trying to get from the modeler? What performance data are you trying to gather?

I'm trying to create ZenPack using this manual https://www.skills-1st.co.uk/papers/jane/zenpacks/zenpacks.pdfI'm working now with Zenoss 4.2.4 (Python 2.7.2) and manual written based on a stack­built Zenoss Core 2.4.1But I thought, that principles stay the same.I red all manual, and try to create self. I create ZenPack using GUI. Then configured Device Class, create device, create modeling template. Device class and modeling template export to ZenPack. Files of ZenPack copied from github. Restart zenoss. But still not working. Looking for error in all log, but nothing. What I'm doing wrong?May be I need to configure datasources in template. But I need specific processing of SNMP tree.

------------------------------Eduard------------------------------

6. RE: Creating ZenPack. Question from novice

Aahhh. That is a very old paper that i wrote about my very first ZenPack. If you are looking for ZenPack examples, you would do much better going to the ZenPack Developers' Guide which has lots of sample ZenPacks - https://github.com/ZenossDevGuide/DevGuide . That's what i thought you were talking about.

Hi Jane,New ZenPack is only a copy of considered in your manual. Not even changed. But I can describe features of ZenPack. Zenpack query network controller for list of wifi device around. And for each device get som scalar like noise and strength.But now my problem that I can't just run the demo ZenPack from manual.

Hi Eduard,You need to give us more detail of what you are trying to do here. What is your new ZenPack trying to monitor? What data are you trying to get from the modeler? What performance data are you trying to gather?

I'm trying to create ZenPack using this manual https://www.skills-1st.co.uk/papers/jane/zenpacks/zenpacks.pdfI'm working now with Zenoss 4.2.4 (Python 2.7.2) and manual written based on a stack­built Zenoss Core 2.4.1But I thought, that principles stay the same.I red all manual, and try to create self. I create ZenPack using GUI. Then configured Device Class, create device, create modeling template. Device class and modeling template export to ZenPack. Files of ZenPack copied from github. Restart zenoss. But still not working. Looking for error in all log, but nothing. What I'm doing wrong?May be I need to configure datasources in template. But I need specific processing of SNMP tree.

Aahhh. That is a very old paper that i wrote about my very first ZenPack. If you are looking for ZenPack examples, you would do much better going to the ZenPack Developers' Guide which has lots of sample ZenPacks - https://github.com/ZenossDevGuide/DevGuide . That's what i thought you were talking about.

Hi Jane,New ZenPack is only a copy of considered in your manual. Not even changed. But I can describe features of ZenPack. Zenpack query network controller for list of wifi device around. And for each device get som scalar like noise and strength.But now my problem that I can't just run the demo ZenPack from manual.

Hi Eduard,You need to give us more detail of what you are trying to do here. What is your new ZenPack trying to monitor? What data are you trying to get from the modeler? What performance data are you trying to gather?

I'm trying to create ZenPack using this manual https://www.skills-1st.co.uk/papers/jane/zenpacks/zenpacks.pdfI'm working now with Zenoss 4.2.4 (Python 2.7.2) and manual written based on a stack­built Zenoss Core 2.4.1But I thought, that principles stay the same.I red all manual, and try to create self. I create ZenPack using GUI. Then configured Device Class, create device, create modeling template. Device class and modeling template export to ZenPack. Files of ZenPack copied from github. Restart zenoss. But still not working. Looking for error in all log, but nothing. What I'm doing wrong?May be I need to configure datasources in template. But I need specific processing of SNMP tree.

------------------------------Eduard------------------------------

8. RE: Creating ZenPack. Question from novice

The ZenPack Developers' Guide referenced in the previous append, is your best bet. It was largely written against Zenoss 4.2.5 with some specific comments for Zenoss 5 / 6. There shouldn't be any huge differences with regard to ZenPacks, between 4.2.5 and 4.2.3.

What you may not have access to is the zenpacklib method of creating ZenPacks - not sure what version of Zenoss supports that.

Aahhh. That is a very old paper that i wrote about my very first ZenPack. If you are looking for ZenPack examples, you would do much better going to the ZenPack Developers' Guide which has lots of sample ZenPacks - https://github.com/ZenossDevGuide/DevGuide . That's what i thought you were talking about.

Hi Jane,New ZenPack is only a copy of considered in your manual. Not even changed. But I can describe features of ZenPack. Zenpack query network controller for list of wifi device around. And for each device get som scalar like noise and strength.But now my problem that I can't just run the demo ZenPack from manual.

Hi Eduard,You need to give us more detail of what you are trying to do here. What is your new ZenPack trying to monitor? What data are you trying to get from the modeler? What performance data are you trying to gather?

I'm trying to create ZenPack using this manual https://www.skills-1st.co.uk/papers/jane/zenpacks/zenpacks.pdfI'm working now with Zenoss 4.2.4 (Python 2.7.2) and manual written based on a stack­built Zenoss Core 2.4.1But I thought, that principles stay the same.I red all manual, and try to create self. I create ZenPack using GUI. Then configured Device Class, create device, create modeling template. Device class and modeling template export to ZenPack. Files of ZenPack copied from github. Restart zenoss. But still not working. Looking for error in all log, but nothing. What I'm doing wrong?May be I need to configure datasources in template. But I need specific processing of SNMP tree.

The ZenPack Developers' Guide referenced in the previous append, is your best bet. It was largely written against Zenoss 4.2.5 with some specific comments for Zenoss 5 / 6. There shouldn't be any huge differences with regard to ZenPacks, between 4.2.5 and 4.2.3.

What you may not have access to is the zenpacklib method of creating ZenPacks - not sure what version of Zenoss supports that.

Aahhh. That is a very old paper that i wrote about my very first ZenPack. If you are looking for ZenPack examples, you would do much better going to the ZenPack Developers' Guide which has lots of sample ZenPacks - https://github.com/ZenossDevGuide/DevGuide . That's what i thought you were talking about.

Hi Jane,New ZenPack is only a copy of considered in your manual. Not even changed. But I can describe features of ZenPack. Zenpack query network controller for list of wifi device around. And for each device get som scalar like noise and strength.But now my problem that I can't just run the demo ZenPack from manual.

Hi Eduard,You need to give us more detail of what you are trying to do here. What is your new ZenPack trying to monitor? What data are you trying to get from the modeler? What performance data are you trying to gather?

I'm trying to create ZenPack using this manual https://www.skills-1st.co.uk/papers/jane/zenpacks/zenpacks.pdfI'm working now with Zenoss 4.2.4 (Python 2.7.2) and manual written based on a stack­built Zenoss Core 2.4.1But I thought, that principles stay the same.I red all manual, and try to create self. I create ZenPack using GUI. Then configured Device Class, create device, create modeling template. Device class and modeling template export to ZenPack. Files of ZenPack copied from github. Restart zenoss. But still not working. Looking for error in all log, but nothing. What I'm doing wrong?May be I need to configure datasources in template. But I need specific processing of SNMP tree.

10. RE: Creating ZenPack. Question from novice

Thanks a lot for help! This problem was solved.There were many obstacles. For example, it was necessary to install PyYAML. But PyYAML do not support old version of Python.

Now in Zenoss modeling device with a lot of access points(components) that was generated dynamically based on table in SNMP. And perfomance data configured in monitoring template for component as datasource. But there is another problem.OIDs in table looks like:{path to parameter}.{decimal mac address dot delimited}.{some index(optionally)}For example: 1.3.6.1.4.1.14179.2.2.1.1.13.248.11.203.178.49.192.1248.11.203.178.49.192 is a MACDatasource without index in the end collecting normally. But if parameter have index in the end of OID, default collector do not work.So what I should do? Create datasource plugin, that extends basic SNMP collector?

The ZenPack Developers' Guide referenced in the previous append, is your best bet. It was largely written against Zenoss 4.2.5 with some specific comments for Zenoss 5 / 6. There shouldn't be any huge differences with regard to ZenPacks, between 4.2.5 and 4.2.3.

What you may not have access to is the zenpacklib method of creating ZenPacks - not sure what version of Zenoss supports that.

Aahhh. That is a very old paper that i wrote about my very first ZenPack. If you are looking for ZenPack examples, you would do much better going to the ZenPack Developers' Guide which has lots of sample ZenPacks - https://github.com/ZenossDevGuide/DevGuide . That's what i thought you were talking about.

Hi Jane,New ZenPack is only a copy of considered in your manual. Not even changed. But I can describe features of ZenPack. Zenpack query network controller for list of wifi device around. And for each device get som scalar like noise and strength.But now my problem that I can't just run the demo ZenPack from manual.

Hi Eduard,You need to give us more detail of what you are trying to do here. What is your new ZenPack trying to monitor? What data are you trying to get from the modeler? What performance data are you trying to gather?

I'm trying to create ZenPack using this manual https://www.skills-1st.co.uk/papers/jane/zenpacks/zenpacks.pdfI'm working now with Zenoss 4.2.4 (Python 2.7.2) and manual written based on a stack­built Zenoss Core 2.4.1But I thought, that principles stay the same.I red all manual, and try to create self. I create ZenPack using GUI. Then configured Device Class, create device, create modeling template. Device class and modeling template export to ZenPack. Files of ZenPack copied from github. Restart zenoss. But still not working. Looking for error in all log, but nothing. What I'm doing wrong?May be I need to configure datasources in template. But I need specific processing of SNMP tree.

------------------------------Eduard------------------------------

11. RE: Creating ZenPack. Question from novice

So I am guessing that SNMP is using 248.11.203.178.49.192 as the index (or instance - both terms can be used), to distinguish between the different access points (or components in Zenoss terminology). So the trick is, in your modeler when you collect the component data, you need to arrange for that index string ( 248.11.203.178.49.192 as an example) to be the snmpindex attribute of your component (see chapter 9.6.2 of the ZenPack Developers' Guide, especially around pages 156 - 158). It is the snmpindex attribute that determines the SNMP instance that is used to collect performance data.

Thanks a lot for help! This problem was solved.There were many obstacles. For example, it was necessary to install PyYAML. But PyYAML do not support old version of Python.

Now in Zenoss modeling device with a lot of access points(components) that was generated dynamically based on table in SNMP. And perfomance data configured in monitoring template for component as datasource. But there is another problem.OIDs in table looks like:{path to parameter}.{decimal mac address dot delimited}.{some index(optionally)}For example: 1.3.6.1.4.1.14179.2.2.1.1.13.248.11.203.178.49.192.1248.11.203.178.49.192 is a MACDatasource without index in the end collecting normally. But if parameter have index in the end of OID, default collector do not work.So what I should do? Create datasource plugin, that extends basic SNMP collector?

The ZenPack Developers' Guide referenced in the previous append, is your best bet. It was largely written against Zenoss 4.2.5 with some specific comments for Zenoss 5 / 6. There shouldn't be any huge differences with regard to ZenPacks, between 4.2.5 and 4.2.3.

What you may not have access to is the zenpacklib method of creating ZenPacks - not sure what version of Zenoss supports that.

Aahhh. That is a very old paper that i wrote about my very first ZenPack. If you are looking for ZenPack examples, you would do much better going to the ZenPack Developers' Guide which has lots of sample ZenPacks - https://github.com/ZenossDevGuide/DevGuide . That's what i thought you were talking about.

Hi Jane,New ZenPack is only a copy of considered in your manual. Not even changed. But I can describe features of ZenPack. Zenpack query network controller for list of wifi device around. And for each device get som scalar like noise and strength.But now my problem that I can't just run the demo ZenPack from manual.

Hi Eduard,You need to give us more detail of what you are trying to do here. What is your new ZenPack trying to monitor? What data are you trying to get from the modeler? What performance data are you trying to gather?

I'm trying to create ZenPack using this manual https://www.skills-1st.co.uk/papers/jane/zenpacks/zenpacks.pdfI'm working now with Zenoss 4.2.4 (Python 2.7.2) and manual written based on a stack­built Zenoss Core 2.4.1But I thought, that principles stay the same.I red all manual, and try to create self. I create ZenPack using GUI. Then configured Device Class, create device, create modeling template. Device class and modeling template export to ZenPack. Files of ZenPack copied from github. Restart zenoss. But still not working. Looking for error in all log, but nothing. What I'm doing wrong?May be I need to configure datasources in template. But I need specific processing of SNMP tree.

So I am guessing that SNMP is using 248.11.203.178.49.192 as the index (or instance - both terms can be used), to distinguish between the different access points (or components in Zenoss terminology). So the trick is, in your modeler when you collect the component data, you need to arrange for that index string ( 248.11.203.178.49.192 as an example) to be the snmpindex attribute of your component (see chapter 9.6.2 of the ZenPack Developers' Guide, especially around pages 156 - 158). It is the snmpindex attribute that determines the SNMP instance that is used to collect performance data.

Thanks a lot for help! This problem was solved.There were many obstacles. For example, it was necessary to install PyYAML. But PyYAML do not support old version of Python.

Now in Zenoss modeling device with a lot of access points(components) that was generated dynamically based on table in SNMP. And perfomance data configured in monitoring template for component as datasource. But there is another problem.OIDs in table looks like:{path to parameter}.{decimal mac address dot delimited}.{some index(optionally)}For example: 1.3.6.1.4.1.14179.2.2.1.1.13.248.11.203.178.49.192.1248.11.203.178.49.192 is a MACDatasource without index in the end collecting normally. But if parameter have index in the end of OID, default collector do not work.So what I should do? Create datasource plugin, that extends basic SNMP collector?

The ZenPack Developers' Guide referenced in the previous append, is your best bet. It was largely written against Zenoss 4.2.5 with some specific comments for Zenoss 5 / 6. There shouldn't be any huge differences with regard to ZenPacks, between 4.2.5 and 4.2.3.

What you may not have access to is the zenpacklib method of creating ZenPacks - not sure what version of Zenoss supports that.

Aahhh. That is a very old paper that i wrote about my very first ZenPack. If you are looking for ZenPack examples, you would do much better going to the ZenPack Developers' Guide which has lots of sample ZenPacks - https://github.com/ZenossDevGuide/DevGuide . That's what i thought you were talking about.

Hi Jane,New ZenPack is only a copy of considered in your manual. Not even changed. But I can describe features of ZenPack. Zenpack query network controller for list of wifi device around. And for each device get som scalar like noise and strength.But now my problem that I can't just run the demo ZenPack from manual.

Hi Eduard,You need to give us more detail of what you are trying to do here. What is your new ZenPack trying to monitor? What data are you trying to get from the modeler? What performance data are you trying to gather?

I'm trying to create ZenPack using this manual https://www.skills-1st.co.uk/papers/jane/zenpacks/zenpacks.pdfI'm working now with Zenoss 4.2.4 (Python 2.7.2) and manual written based on a stack­built Zenoss Core 2.4.1But I thought, that principles stay the same.I red all manual, and try to create self. I create ZenPack using GUI. Then configured Device Class, create device, create modeling template. Device class and modeling template export to ZenPack. Files of ZenPack copied from github. Restart zenoss. But still not working. Looking for error in all log, but nothing. What I'm doing wrong?May be I need to configure datasources in template. But I need specific processing of SNMP tree.

13. RE: Creating ZenPack. Question from novice

So, the problem is that datasource(oids) like 1.3.6.1.4.1.14179.2.2.1.1.13.248.11.203.178.49.192.13.0 is not collecting.But oids like 1.3.6.1.4.1.14179.2.2.1.1.13.248.11.203.178.49.192.0 collecting.

Presumably the first one is a table value and the second a scalar? The .0 on the end is necessary for scalar values; however I would not expect to see a .0 on the end of an SNMP table value - they almost always start at .1. So I guess my question is "Where is the .0 coming from"?

Have you looked at zenperfsnmp.log in detail? You might try running that in debug mode against your test device:

So I am guessing that SNMP is using 248.11.203.178.49.192 as the index (or instance - both terms can be used), to distinguish between the different access points (or components in Zenoss terminology). So the trick is, in your modeler when you collect the component data, you need to arrange for that index string ( 248.11.203.178.49.192 as an example) to be the snmpindex attribute of your component (see chapter 9.6.2 of the ZenPack Developers' Guide, especially around pages 156 - 158). It is the snmpindex attribute that determines the SNMP instance that is used to collect performance data.

Thanks a lot for help! This problem was solved.There were many obstacles. For example, it was necessary to install PyYAML. But PyYAML do not support old version of Python.

Now in Zenoss modeling device with a lot of access points(components) that was generated dynamically based on table in SNMP. And perfomance data configured in monitoring template for component as datasource. But there is another problem.OIDs in table looks like:{path to parameter}.{decimal mac address dot delimited}.{some index(optionally)}For example: 1.3.6.1.4.1.14179.2.2.1.1.13.248.11.203.178.49.192.1248.11.203.178.49.192 is a MACDatasource without index in the end collecting normally. But if parameter have index in the end of OID, default collector do not work.So what I should do? Create datasource plugin, that extends basic SNMP collector?

The ZenPack Developers' Guide referenced in the previous append, is your best bet. It was largely written against Zenoss 4.2.5 with some specific comments for Zenoss 5 / 6. There shouldn't be any huge differences with regard to ZenPacks, between 4.2.5 and 4.2.3.

What you may not have access to is the zenpacklib method of creating ZenPacks - not sure what version of Zenoss supports that.

Aahhh. That is a very old paper that i wrote about my very first ZenPack. If you are looking for ZenPack examples, you would do much better going to the ZenPack Developers' Guide which has lots of sample ZenPacks - https://github.com/ZenossDevGuide/DevGuide . That's what i thought you were talking about.

Hi Jane,New ZenPack is only a copy of considered in your manual. Not even changed. But I can describe features of ZenPack. Zenpack query network controller for list of wifi device around. And for each device get som scalar like noise and strength.But now my problem that I can't just run the demo ZenPack from manual.

Hi Eduard,You need to give us more detail of what you are trying to do here. What is your new ZenPack trying to monitor? What data are you trying to get from the modeler? What performance data are you trying to gather?

I'm trying to create ZenPack using this manual https://www.skills-1st.co.uk/papers/jane/zenpacks/zenpacks.pdfI'm working now with Zenoss 4.2.4 (Python 2.7.2) and manual written based on a stack­built Zenoss Core 2.4.1But I thought, that principles stay the same.I red all manual, and try to create self. I create ZenPack using GUI. Then configured Device Class, create device, create modeling template. Device class and modeling template export to ZenPack. Files of ZenPack copied from github. Restart zenoss. But still not working. Looking for error in all log, but nothing. What I'm doing wrong?May be I need to configure datasources in template. But I need specific processing of SNMP tree.

So, the problem is that datasource(oids) like 1.3.6.1.4.1.14179.2.2.1.1.13.248.11.203.178.49.192.13.0 is not collecting.But oids like 1.3.6.1.4.1.14179.2.2.1.1.13.248.11.203.178.49.192.0 collecting.

Presumably the first one is a table value and the second a scalar? The .0 on the end is necessary for scalar values; however I would not expect to see a .0 on the end of an SNMP table value - they almost always start at .1. So I guess my question is "Where is the .0 coming from"?

Have you looked at zenperfsnmp.log in detail? You might try running that in debug mode against your test device:

So I am guessing that SNMP is using 248.11.203.178.49.192 as the index (or instance - both terms can be used), to distinguish between the different access points (or components in Zenoss terminology). So the trick is, in your modeler when you collect the component data, you need to arrange for that index string ( 248.11.203.178.49.192 as an example) to be the snmpindex attribute of your component (see chapter 9.6.2 of the ZenPack Developers' Guide, especially around pages 156 - 158). It is the snmpindex attribute that determines the SNMP instance that is used to collect performance data.

Thanks a lot for help! This problem was solved.There were many obstacles. For example, it was necessary to install PyYAML. But PyYAML do not support old version of Python.

Now in Zenoss modeling device with a lot of access points(components) that was generated dynamically based on table in SNMP. And perfomance data configured in monitoring template for component as datasource. But there is another problem.OIDs in table looks like:{path to parameter}.{decimal mac address dot delimited}.{some index(optionally)}For example: 1.3.6.1.4.1.14179.2.2.1.1.13.248.11.203.178.49.192.1248.11.203.178.49.192 is a MACDatasource without index in the end collecting normally. But if parameter have index in the end of OID, default collector do not work.So what I should do? Create datasource plugin, that extends basic SNMP collector?

The ZenPack Developers' Guide referenced in the previous append, is your best bet. It was largely written against Zenoss 4.2.5 with some specific comments for Zenoss 5 / 6. There shouldn't be any huge differences with regard to ZenPacks, between 4.2.5 and 4.2.3.

What you may not have access to is the zenpacklib method of creating ZenPacks - not sure what version of Zenoss supports that.

Aahhh. That is a very old paper that i wrote about my very first ZenPack. If you are looking for ZenPack examples, you would do much better going to the ZenPack Developers' Guide which has lots of sample ZenPacks - https://github.com/ZenossDevGuide/DevGuide . That's what i thought you were talking about.

Hi Jane,New ZenPack is only a copy of considered in your manual. Not even changed. But I can describe features of ZenPack. Zenpack query network controller for list of wifi device around. And for each device get som scalar like noise and strength.But now my problem that I can't just run the demo ZenPack from manual.

Hi Eduard,You need to give us more detail of what you are trying to do here. What is your new ZenPack trying to monitor? What data are you trying to get from the modeler? What performance data are you trying to gather?

I'm trying to create ZenPack using this manual https://www.skills-1st.co.uk/papers/jane/zenpacks/zenpacks.pdfI'm working now with Zenoss 4.2.4 (Python 2.7.2) and manual written based on a stack­built Zenoss Core 2.4.1But I thought, that principles stay the same.I red all manual, and try to create self. I create ZenPack using GUI. Then configured Device Class, create device, create modeling template. Device class and modeling template export to ZenPack. Files of ZenPack copied from github. Restart zenoss. But still not working. Looking for error in all log, but nothing. What I'm doing wrong?May be I need to configure datasources in template. But I need specific processing of SNMP tree.

So, the problem is that datasource(oids) like 1.3.6.1.4.1.14179.2.2.1.1.13.248.11.203.178.49.192.13.0 is not collecting.But oids like 1.3.6.1.4.1.14179.2.2.1.1.13.248.11.203.178.49.192.0 collecting.

Presumably the first one is a table value and the second a scalar? The .0 on the end is necessary for scalar values; however I would not expect to see a .0 on the end of an SNMP table value - they almost always start at .1. So I guess my question is "Where is the .0 coming from"?

Have you looked at zenperfsnmp.log in detail? You might try running that in debug mode against your test device:

So I am guessing that SNMP is using 248.11.203.178.49.192 as the index (or instance - both terms can be used), to distinguish between the different access points (or components in Zenoss terminology). So the trick is, in your modeler when you collect the component data, you need to arrange for that index string ( 248.11.203.178.49.192 as an example) to be the snmpindex attribute of your component (see chapter 9.6.2 of the ZenPack Developers' Guide, especially around pages 156 - 158). It is the snmpindex attribute that determines the SNMP instance that is used to collect performance data.

Thanks a lot for help! This problem was solved.There were many obstacles. For example, it was necessary to install PyYAML. But PyYAML do not support old version of Python.

Now in Zenoss modeling device with a lot of access points(components) that was generated dynamically based on table in SNMP. And perfomance data configured in monitoring template for component as datasource. But there is another problem.OIDs in table looks like:{path to parameter}.{decimal mac address dot delimited}.{some index(optionally)}For example: 1.3.6.1.4.1.14179.2.2.1.1.13.248.11.203.178.49.192.1248.11.203.178.49.192 is a MACDatasource without index in the end collecting normally. But if parameter have index in the end of OID, default collector do not work.So what I should do? Create datasource plugin, that extends basic SNMP collector?

The ZenPack Developers' Guide referenced in the previous append, is your best bet. It was largely written against Zenoss 4.2.5 with some specific comments for Zenoss 5 / 6. There shouldn't be any huge differences with regard to ZenPacks, between 4.2.5 and 4.2.3.

What you may not have access to is the zenpacklib method of creating ZenPacks - not sure what version of Zenoss supports that.

Aahhh. That is a very old paper that i wrote about my very first ZenPack. If you are looking for ZenPack examples, you would do much better going to the ZenPack Developers' Guide which has lots of sample ZenPacks - https://github.com/ZenossDevGuide/DevGuide . That's what i thought you were talking about.

Hi Jane,New ZenPack is only a copy of considered in your manual. Not even changed. But I can describe features of ZenPack. Zenpack query network controller for list of wifi device around. And for each device get som scalar like noise and strength.But now my problem that I can't just run the demo ZenPack from manual.

Hi Eduard,You need to give us more detail of what you are trying to do here. What is your new ZenPack trying to monitor? What data are you trying to get from the modeler? What performance data are you trying to gather?

I'm trying to create ZenPack using this manual https://www.skills-1st.co.uk/papers/jane/zenpacks/zenpacks.pdfI'm working now with Zenoss 4.2.4 (Python 2.7.2) and manual written based on a stack­built Zenoss Core 2.4.1But I thought, that principles stay the same.I red all manual, and try to create self. I create ZenPack using GUI. Then configured Device Class, create device, create modeling template. Device class and modeling template export to ZenPack. Files of ZenPack copied from github. Restart zenoss. But still not working. Looking for error in all log, but nothing. What I'm doing wrong?May be I need to configure datasources in template. But I need specific processing of SNMP tree.

------------------------------Eduard------------------------------

16. RE: Creating ZenPack. Question from novice

Absolutely it is possible to collect tabular data but I think, looking at your snmpwalk data, that the index/instance that you need to construct for your snmpindex attribute, is a particularly complicated one.

It looks like it is more than the MAC address - 180.222.49.196.184.160 - in your latest example; the index has 2 more digits on the end where (again in your example) the first instance has 0.1 on the end and the last has 1.161. I suspect these are elements that further identify the specific component and you can probably work out where they come from with a very close inspection of the MIB. Once you have that sorted out, you will need to do a bit more work in your modeler to construct the snmpindex attribute.

If you really are a ZenPack novice, you have done really well to get this far and I am afraid you have picked a particularly hard MIB / device type to try to model. You might have another look at the Juniper ZenPack - I have a feeling that had to do some hard work creating snmpindex values in some of the modeler plugins.

So, the problem is that datasource(oids) like 1.3.6.1.4.1.14179.2.2.1.1.13.248.11.203.178.49.192.13.0 is not collecting.But oids like 1.3.6.1.4.1.14179.2.2.1.1.13.248.11.203.178.49.192.0 collecting.

Presumably the first one is a table value and the second a scalar? The .0 on the end is necessary for scalar values; however I would not expect to see a .0 on the end of an SNMP table value - they almost always start at .1. So I guess my question is "Where is the .0 coming from"?

Have you looked at zenperfsnmp.log in detail? You might try running that in debug mode against your test device:

So I am guessing that SNMP is using 248.11.203.178.49.192 as the index (or instance - both terms can be used), to distinguish between the different access points (or components in Zenoss terminology). So the trick is, in your modeler when you collect the component data, you need to arrange for that index string ( 248.11.203.178.49.192 as an example) to be the snmpindex attribute of your component (see chapter 9.6.2 of the ZenPack Developers' Guide, especially around pages 156 - 158). It is the snmpindex attribute that determines the SNMP instance that is used to collect performance data.

Thanks a lot for help! This problem was solved.There were many obstacles. For example, it was necessary to install PyYAML. But PyYAML do not support old version of Python.

Now in Zenoss modeling device with a lot of access points(components) that was generated dynamically based on table in SNMP. And perfomance data configured in monitoring template for component as datasource. But there is another problem.OIDs in table looks like:{path to parameter}.{decimal mac address dot delimited}.{some index(optionally)}For example: 1.3.6.1.4.1.14179.2.2.1.1.13.248.11.203.178.49.192.1248.11.203.178.49.192 is a MACDatasource without index in the end collecting normally. But if parameter have index in the end of OID, default collector do not work.So what I should do? Create datasource plugin, that extends basic SNMP collector?

The ZenPack Developers' Guide referenced in the previous append, is your best bet. It was largely written against Zenoss 4.2.5 with some specific comments for Zenoss 5 / 6. There shouldn't be any huge differences with regard to ZenPacks, between 4.2.5 and 4.2.3.

What you may not have access to is the zenpacklib method of creating ZenPacks - not sure what version of Zenoss supports that.

Aahhh. That is a very old paper that i wrote about my very first ZenPack. If you are looking for ZenPack examples, you would do much better going to the ZenPack Developers' Guide which has lots of sample ZenPacks - https://github.com/ZenossDevGuide/DevGuide . That's what i thought you were talking about.

Hi Jane,New ZenPack is only a copy of considered in your manual. Not even changed. But I can describe features of ZenPack. Zenpack query network controller for list of wifi device around. And for each device get som scalar like noise and strength.But now my problem that I can't just run the demo ZenPack from manual.

Hi Eduard,You need to give us more detail of what you are trying to do here. What is your new ZenPack trying to monitor? What data are you trying to get from the modeler? What performance data are you trying to gather?

I'm trying to create ZenPack using this manual https://www.skills-1st.co.uk/papers/jane/zenpacks/zenpacks.pdfI'm working now with Zenoss 4.2.4 (Python 2.7.2) and manual written based on a stack­built Zenoss Core 2.4.1But I thought, that principles stay the same.I red all manual, and try to create self. I create ZenPack using GUI. Then configured Device Class, create device, create modeling template. Device class and modeling template export to ZenPack. Files of ZenPack copied from github. Restart zenoss. But still not working. Looking for error in all log, but nothing. What I'm doing wrong?May be I need to configure datasources in template. But I need specific processing of SNMP tree.