module nrpe_rabbitmq 1.0;

require {
	type amqp_port_t;
	type nrpe_t;
	class tcp_socket name_connect;
}

#============= nrpe_t ==============
# let nagios plugin connect to rabbitmq management interface
allow nrpe_t amqp_port_t:tcp_socket name_connect;