Page 1 of 1

Service goes into pending when output of check is too big

Posted: Thu Mar 20, 2014 8:01 am
by unix.pri
Hi,

we currently noticed that same services went into state pending. As we have specific View of different users, we searched in any of them to find the service. The only possibility to find the pending service was to search for the host or the service in Nagios NXI.

We did some testing and it seems that when the output became too big the service is going into pending. Worse, the button/link for scheduling an Immediate Check was disappearing. The only wait to reactivate the check was to submit a passive check.

- Is this a bug or a specified behavior?
- If it is a bug, is there a fix?
- Is this a problem of NXI or Nagios Core?

Version Nagios NXI: 2012r1.0

Re: Service goes into pending when output of check is too bi

Posted: Thu Mar 20, 2014 8:09 am
by scottwilkerson
Honestly, this does ring a bell, but I don't remember which piece it was related to. There have been so many changes and bug fixes since the release of 2012R1.0 I would strongly recommend upgrading
http://assets.nagios.com/downloads/nagi ... S-2012.TXT

Not to mention several version changes and bug fixes in ndoutils as well as Nagios Core that could be related.


http://library.nagios.com/library/produ ... -nagios-xi

Re: Service goes into pending when output of check is too bi

Posted: Fri Mar 21, 2014 3:21 am
by unix.pri
Thanks for the fast reply.

I could not found any entry in the changelog (NXI, Core, nrpe).

I know that we are using an older version of Nagios an that an update is necessary. But it currently works very well.

There are two things I want to know:
  1. Is this a bug or a "normal" behavior as there maid be a limit of the output? (I could find any limitation)
  2. Is the bug fixed in the latest release? Could you test a simple check nrpe with the current version that calls a script. That script only needs to print around 25000 characters to the output. If you confirm that the bug is fixed, we can upgrade and be sure the problem won't appear.
Best regards

Re: Service goes into pending when output of check is too bi

Posted: Fri Mar 21, 2014 11:03 am
by lmiltchev
Actually, this is a known issue - see this:

http://tracker.nagios.org/view.php?id=564