I have one IP of a device in a datacentre and behind it I have 10 sensors, all with their own OIDS. Each sensor does not have its own DNS/IP so if I use a dummy check, with no active and leave the Host address empty, it will use the Hostname, which is DNS registered.
The problem is, if the host ip goes down, all the checks will fail for each sensor. Does this make sense?
sensors - dummy/no active checks with snmp check for temperature and use display name so I know which sensor it is. And there will be no ping on the sensors
This is why Icinga 2 has Dependencies. They are either implicit - a failed Service will not result in Notifications if the Host is down - or explicit by creating a Dependency object.
So either create a Host with a ping check and the SNMP checks below or create a ping Service with a Dependency object from your SNMP checks to the ping. Then you will only receive one email if the IP becomes unreachable.