Code for icinga check of fetching revier data