You are here

add an exception to Runaway Processes monitoring

7 posts / 0 new
Last post
youngy
youngy's picture
add an exception to Runaway Processes monitoring

Hi all,

We have several custom processes that bind to a core and then run at 100% - by design.

These are then seen by OpsView as runaway processes. How do I add these processes as exceptions to this check?

It is probably obvious but so far google has not turned up much and my playing around has not found anything that works.....

Thanks

 

 

quang.le
quang.le's picture
Re: add an exception to Runaway Processes monitoring

hi Sir,

you may consider NOT polling / monitoring these processes as it may cause jitter in your processing.

 

Kind regards

Quang

youngy
youngy's picture
Re: add an exception to Runaway Processes monitoring

Thanks Quang - that is in fact the question.

How do you ignore or stop monitoring a process?

Thanks for the input.

 

 

youngy
youngy's picture
Re: add an exception to Runaway Processes monitoring

I'll add some more detail.

The out of the opsview box service check is 'Runaway Processes' and it looks like:

-H $HOSTADDRESS$ -c check_procs -a '-w 70 -c 95 --metric=CPU -v'

If I run it from the opsview server I get exactly what I expect:

 libexec]$ ./check_nrpe -H <some_IP> -c check_procs -a '-w 70 -c 95 --metric=CPU -v' CPU CRITICAL: 6 crit, 0 warn out of 444 processes [blah1, blah2, blah3]   I already know blah1-3 are going to use 100% CPU so I want to do something to simply ignore those processes.   That bit I have not figured out yet.  

 

 

smarsh
smarsh's picture
Re: add an exception to Runaway Processes monitoring

You can probably do something using the --ereg-arguement-array= option, similar to this: http://comments.gmane.org/gmane.network.nagios.user/73756

There is, however, no -'omit' flag from what i can see looking at the plugin code. So you'll need to brush up on your regexp :)

Sam

youngy
youngy's picture
Re: add an exception to Runaway Processes monitoring

The old omit the omit flag trick hey........

It strikes me as being kind of an obvious option to have though.

I'll try the regex. That link does not look like it may be that promising though.....

Thanks for the help though and I'll update this thread with my findings

 

 

smarsh
smarsh's picture
Re: add an exception to Runaway Processes monitoring

Yeah, that old doozy!

I'm sure it could be easily fixed by someone of a development-disposition, however we only do professional services for paying customers. If this did become an issue and wanted to look at becoming a user of Opsview Pro/Enterprise then please let me know, i can have our partner in your country reach out to you directly.

Best,

Sam