Page 1 of 1

Limit the nagios check display (Nagios 3.5)

Posted: Wed Jan 30, 2019 8:53 am
by Anasstaze
Hi Nagiosiens,

I need your help..
How can we limit a check display in Nagios. i have a nagios check (Script on the server target) using Nrpe to have the result of the script on the nagios web. The script have a right return but really long, so Nagios cannot display it in my nagios web interface and return :

UNKNOWN : CHECK_NRPE: Invalid packet type received from server.

How can programe nagios to display just a small part of the script return.


Regards,

Re: Limit the nagios check display (Nagios 3.5)

Posted: Wed Jan 30, 2019 5:27 pm
by ssax
What version of check_nrpe are you running on your Nagios server?

Code: Select all

/usr/local/nagios/libexec/check_nrpe -V
Is the remote host a windows or a unix/linux host? What agent/version is it running?

Code: Select all

/usr/local/nagios/libexec/check_nrpe -V
Or from the XI server:
- Change X.X.X.X to the IP of your remote host having issues

Code: Select all

/usr/local/nagios/libexec/check_nrpe -H X.X.X.X