code: public static snmpalarm[] get(nitro_service service) throws Exception{
  		snmpalarm obj = new snmpalarm();
  		snmpalarm[] response = (snmpalarm[])obj.get_resources(service);
  		return response;
  	}
docs: Use this API to fetch all the snmpalarm resources that are configured on netscaler.