http://www.perlmonks.org?node_id=1002959


in reply to Re: Return-code in POE::Compoent::Server::NRPE
in thread Return-code in POE::Compoent::Server::NRPE

hello!

the sub return 2 but in the NRPE-response is 0. I need to set the nrpe-response-code. the response-text is set correctly (print stdout)

I am not familiar with Perl POE but as described in the cpans-site of POE::COmponent::Server::NRPE there is a fuction return_result.

but I have no idea how to use this funktion. think has something todo with POE sessions.

best regards, chris
  • Comment on Re^2: Return-code in POE::Compoent::Server::NRPE