I ended up writing a wrapper routine around check_nrpe that sends the data to a file when the status is not OK. I'll only be using this for the service that I need to maintain the $LONGSERVICEOUTPUT$ data.
I think that solves my issue. Thanks for all of your help.
Search found 7 matches
- Tue Jul 21, 2015 6:07 pm
- Forum: Nagios XI
- Topic: check_nrpe Returning Truncated Performance Data - Followup
- Replies: 9
- Views: 8153
- Fri Jul 17, 2015 6:59 pm
- Forum: Nagios XI
- Topic: check_nrpe Returning Truncated Performance Data - Followup
- Replies: 9
- Views: 8153
Re: check_nrpe Returning Truncated Performance Data - Follow
OK I got it working. My next question: Only data in $SERVICEOUTPUT$ is contained in the event log. Is there any way to save the $LONGSERVICEOUTPUT$ to a text log file?
- Fri Jul 17, 2015 11:44 am
- Forum: Nagios XI
- Topic: check_nrpe Returning Truncated Performance Data - Followup
- Replies: 9
- Views: 8153
Re: check_nrpe Returning Truncated Performance Data - Follow
OK. I'll make the changes from your source code. Thanks. I'm trying to test the change on my virtual machine on itself to get the version information as a response, no remote host. So it sounds like I just need to update the local nrpe and check_nrpe. If I'm using nrpe through xinetd, is there any a...
- Fri Jul 17, 2015 9:23 am
- Forum: Nagios XI
- Topic: check_nrpe Returning Truncated Performance Data - Followup
- Replies: 9
- Views: 8153
Re: check_nrpe Returning Truncated Performance Data - Follow
As a test I'm running check_nrpe_large on itself, the Nagios server (root@NAGIOS_TEST), no nrpe listening server. However, I can try to put it on a machine that's running the nrpe listener. Maybe executing as user nagios would be different? check_nrpe -H seems to work fine returning the nrpe version...
- Thu Jul 16, 2015 5:59 pm
- Forum: Nagios XI
- Topic: check_nrpe Returning Truncated Performance Data - Followup
- Replies: 9
- Views: 8153
check_nrpe Returning Truncated Performance Data - Followup
I was reading this thread: https://support.nagios.com/forum/viewtopic.php?f=16&t=30449 I was trying to create a separate nrpe/check_nrpe called nrpe_large/check_nrpe_large. I made the changes stated in the other thread: ./include/common.h:#define MAX_INPUT_BUFFER 4096 /* max size of most buffers...
- Wed Jun 24, 2015 3:54 pm
- Forum: Nagios XI
- Topic: CCM Can't See Hosts Or Services
- Replies: 3
- Views: 674
Re: CCM Can't See Hosts Or Services
When I try to run the xiprepimport.php on one of the files I get: PHP Notice: Undefined offset: 1 in /usr/local/nagiosxi/tools/xiprepimport.php on line 102 The other files work fine. I tried to import them into Nagios XI but gave me a configuration error trying to reference an image for a host from ...
- Wed Jun 24, 2015 9:54 am
- Forum: Nagios XI
- Topic: CCM Can't See Hosts Or Services
- Replies: 3
- Views: 674
CCM Can't See Hosts Or Services
Hi, I'm setting up Nagios XI (2012R2.9) with hosts and services for workstations and servers and I'm incorporating a group of hosts and services for network devices from another group. The other group did not want to use Nagios XI, they have used Nagios Core in the past. Here are my observations of ...