Limit the nagios check display (Nagios 3.5)

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Anasstaze
Posts: 2
Joined: Wed May 10, 2017 5:49 am

Limit the nagios check display (Nagios 3.5)

Post 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,
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Limit the nagios check display (Nagios 3.5)

Post 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
Locked