False alarms

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
pep
Posts: 11
Joined: Wed Mar 13, 2013 11:26 am

False alarms

Post 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.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: False alarms

Post by abrist »

Can you give us an example of the command that is returning 139?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
pep
Posts: 11
Joined: Wed Mar 13, 2013 11:26 am

Re: False alarms

Post by pep »

./check_sap systemid ccmstemplate

This is how this works:

http://exchange.nagios.org/components/c ... 5&cf_id=24
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: False alarms

Post 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.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
pep
Posts: 11
Joined: Wed Mar 13, 2013 11:26 am

Re: False alarms

Post 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)"
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: False alarms

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