Fixing nagios alerts api