How to build the panels at “status panel” plugin with API datasource

im using infinity as datasource.
im tring to create status panel that will be check if one of the host is up/down and change the status accordenly.
my question is how to set it up ?