define command{
command_name check_resource_manager
command_line /usr/lib64/nagios/plugins/check_resource_manager.sh
}
define service{
use local-service
host_name yarn1.apps.hdp
service_description ResourceManager
check_command check_resource_manager
}
#service nagios restart