Page 1 of 1

False alarms

Posted: Tue Oct 15, 2013 6:36 am
by pep
I get this alarm randomly with sapmon plugin:

(Return code of 139 is out of bounds)

The check works, it's 99% green but suddenly it goes critical and sends those alarms. I can't find anything on the net, in other plugins (like nsclient) you get those kind of alarms when you check another driver letter, but here it works and sometimes sends that. I'm going crazy.

Re: False alarms

Posted: Tue Oct 15, 2013 12:22 pm
by abrist
Can you give us an example of the command that is returning 139?

Re: False alarms

Posted: Thu Oct 17, 2013 1:24 pm
by pep
./check_sap systemid ccmstemplate

This is how this works:

http://exchange.nagios.org/components/c ... 5&cf_id=24

Re: False alarms

Posted: Thu Oct 17, 2013 2:16 pm
by sreinhardt
Seems there is an issue with the plugins code, accessing memory it should not:
Unix systems return errono 128+signal when a signal received. 128 + 11 = 139 . SIgnal 11 is SIGSEV (i.e. segmentation violation). = There is a memory access bug in your C++ code.

Re: False alarms

Posted: Mon Oct 21, 2013 3:32 am
by pep
Is there any way to tell nagios not to send the alarms containing that text? "(Return code of 139 is out of bounds)"

Re: False alarms

Posted: Mon Oct 21, 2013 11:33 am
by slansing
Not specifically that text, since that those the returned status details for a check plugin. Nagios handles alerting based on the state of objects.