Is it possible in DMA:
- to create a service that consists of parameters from multiple elements,
- assign it a virtual IP address,
- and have the ability to query the values of these parameters via SNMP?"
thank you
Hi Piotr,
As far as I know we don't expose DataMiner services via virtual IP address. You could implement the workaround proposed by Floris, but I was wondering, is it a hard requirement to receive this information via SNMP? It is not an option to use a different protocol (e.g. web API, user definable API)?
Hi Piotr,
Although elements can be configured to be available in the SLSNMPAgent (cfr. Enabling_the_virtual_SNMP_agent_of_an_element), this option isn't available in the UI for services or enhanced services.
However, by creating an enhanced service, I was able to enable it by change the settings in the element.xml (and restarting the agent). However, I was stuck at making any parameter available for an SNMP walk. But since I had the same problem for a regular element, I may still have misconfigured my system to make any parameter available.
Even if you would be able to get the virtual SNMP Agent up and running on the virtual IP of the service, that SNMP Agent would load in the Service Definition protocol of that enhanced service. And this protocol only contains the virtual parameters you created on the service layer. It would not include the parameters you selected from the included elements. Unless you would explicitly define those parameters in the Service Definition and copy the values of the parameter of the elements into the parameters of the service… which sounds rather cumbersome.
Then you could also create a virtual element with a protocol, and copy the parameters from the real elements into the virtual element with element connections…
It might be worth looking at the user definable API like Miguel mentioned…