Have to move from Zenoss to Zabbix

100 views
Skip to first unread message

George den Boer

unread,
Oct 25, 2022, 8:21:38 AM10/25/22
to zenos...@googlegroups.com
Hi,

We are still using Zenoss core 4.2.5 but must move to another monitoring platform. 

With Zenoss we are able to retrieve several SNMP counters and use them to create components. The same goes for API based monitoring. We created our own modelers, and implemented PythonDataSource derived datasources all using zenpacklib. This means we can update our components every 12 hours using these modelers, and collect data every five minutes using PythonDataSource derived collector plugins.
We must monitor Palo Alto devices using the REST API. In Zenoss core we managed to do this for twenty Palo Alto datasources/datapoints

Currently, we are looking into Zabbix as a replacement for Zenoss core. We are able to collect SNMP data using Zabbix. Our next challenge is to implement several Palo Alto based API based datasources/datapoints in Zabbix.

I am hoping some of you made the same journey and have experiences/ideas you want to share.

With Zenoss core we use the following procedure:
  1. Retrieve an API Key
    https://{HOST.IP}/api/?type=keygen&user=<user>&password=<password>
  2. Use the API key together with endpoint URLs to get the actual XML data
    Some example endpoints:
    • https://{HOST.IP}/api/?type=op&cmd=<show><clock></clock></show>&key=<API key from step 1>
    • https://{HOST.IP}/api/?type=op&cmd=<request><support><info></info></support></request>&key=<API key from step 1>
    • https://{HOST.IP}/api/?type=op&cmd=<show><vpn><ipsec-sa></ipsec-sa></vpn> </show>>&key= <API key from step 1>
  3.  Process the XML data in modeler plugins and the collector plugins

Note that we do not assign API key values to a configuration property (zProperty). Instead, we let the datasource / plugin do this for us. We monitor 700+ Palo Alto devices for multiple customers so we need a solution where we do not have to manually set AP keys. Instead, we want “Zabbix” to do the work for us. We want to store the API keys “somewhere” where we can read it to retrieve the actual XML data. This must be possible on a per device/host basis.

We have issues we have not been able to solve yet.
  1. Within an item we can retrieve the API key and assign it to a ‘host inventory field’. Problem is that we cannot access that field for reading in other items.
  2. Instead of assigning the API key to a ‘Host inventory field’, we tried to assign the API key value to a macro. We have not found a way to do this.
  3. Instead of retrieving the API key in an item, we tried to use low level discovery. Here I have the same problem. We can retrieve the key but do not see how to store the API key in a macro.

Any thoughts, suggestions are appreciated.

George

brent22z

unread,
Feb 8, 2023, 4:27:58 PM2/8/23
to Zenoss Core
Did you make this conversion?  If so, how did it go?  I am also looking for a replacement for Zenoss since they abandoned support for an open source community edition and there is no clear path to install Zenoss on Rocky Linux.  Zabbix is of interest to me as step-by-step installion is available for Zabbix on Rocky Linux 8.
Reply all
Reply to author
Forward
0 new messages