Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re^2: Return-code in POE::Compoent::Server::NRPE

by chris01 (Novice)
on Nov 08, 2012 at 19:02 UTC ( #1002959=note: print w/replies, xml ) Need Help??

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


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

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1002959]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (10)
As of 2016-10-26 18:53 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (345 votes). Check out past polls.