Hi
When creating a connector that has an http connection as the main connection and an snmp connection which is only used to retrieve alarm traps, I encoutered the following situation.
Since we have to respect the Order of Communication Ports, I had to set the snmp connection as the main connection, although it's only used for traps.
After switching the content of the Portsettings tag and the Ports tag, and changing the Type tag to snmp with the advanced attribute set to the http connection, the DIS validator indicates the following major warning: The first group is not of type "poll" (implicit or explicit). This group is used for ping functionality. Change the group order or add a ping group.
Since I don't perform gets via snmp, I have no group/parameters that can be polled and used for ping functionality.
I want to get rid of this warning, what is your advice in this case?
Thank you in advance!
Hi Michiel,
There is indeed no need for a ping group in such exceptional case.
This is a known DIS Validator issue and a task already exists for it:
https://collaboration.dataminer.services/task/32907
You can ignore the warning for now and we'll try to schedule the fix ASAP.
Thank you very much Simon! Since it’s a validator bug, I won’t suppress the warning.
That task is if there is no polling happening at all. But in this case there is HTTP communication (polling) happening, so the element can go in timeout and slow poll could be enabled. Won’t there be an attempt then to use a poll group in that case?
That’s right Laurens, I overlooked the part about the http polling.
However, what will happen is that the element will go in ping mode due to the http connection timing out but will try to send snmp pings which is, in my opinion, a DataMiner issue.
Ideally, the ping mode should be on connection level instead of on element level.
This change is considered in the scope of the full connection syntax review which is still on our backlog: https://collaboration.dataminer.services/task/66957
Hi Laurens, thanks for your comment! The snmp connection is only used to receive traps. It will not be used to send a get or a set to the device. So the only OIDs I have are the ones from the traps. Please correct me if I’m wrong but I don’t think I can use them to create a ping group.
Important note:
We should never suppress a validator false positive when it’s due to a validator bug, in other words, when the false positive is fixable in the validator.
The suppress feature is only meant to be used when a human is needed to be sure, when something can’t be programmatically checked for sure.