Solved

No output returned from plugin

  • 9 December 2021
  • 3 replies
  • 2847 views

Userlevel 2
Badge +11

Hello ,

I have a problem with a plugins, when I test in command line,

 

I have the good result.

But in centreon it's always (No output returned from plugin).

I would like to capture this return text to interact with.Is there an activation possible in the parameters? For me it allows me to filter in ServiceNow and to process these alerts under different methods.
icon

Best answer by sdouce 9 December 2021, 18:03

View original

3 replies

Userlevel 5
Badge +16

Hello @sdouce

Try this “fix”:

ln -s /usr/lib/nagios/plugins/check_centreon_nrpe3 /usr/lib64/nagios/plugins/

 

Userlevel 2
Badge +11

Hello Kriko,

Thank you for the answer.

This is not a path or missing plugins problem .

My concern is to have the real output (Connexion Refused) , not the transformed one ==> (No output returned from plugin)

 

Here in my case , i need to have the return to change my actions or procedures.

 

In fact i use/parse serviceoutput to manage differente action in ServiceNow.

Here in my case , when i detect X Unknown with same output , i ‘ll create a ticket to correct my agent nsclient , for example.

 

 

 

i

Userlevel 2
Badge +11

Ok i finally found it .

 

I need a -E to my check_nrpe command….

 -E, --stderr-to-stdout       Redirect stderr to stdout


That is why he answer me no output

 

Reply