Search found 3 matches

by tonyk
Thu Oct 17, 2019 5:25 am
Forum: Open Source Nagios Projects
Topic: NCPA and processes check.
Replies: 5
Views: 2367

Re: NCPA and processes check.

I don't see how the negate plugin woiuld help here. I do use it for some plugins, but it is only useful to change the state output to something else. I did however manage to make a workaround for this problem. I checked the ncpa_listener.log for the problem and noticed, that if I run the check throu...
by tonyk
Mon Oct 14, 2019 2:17 am
Forum: Open Source Nagios Projects
Topic: NCPA and processes check.
Replies: 5
Views: 2367

Re: NCPA and processes check.

Well I have tried different things, but this is the basic one: define service { check_period 24X7 active_checks_enabled 1 notification_interval 0 notification_period 24x7 check_command check_ncpa_processes!xxxxxxx!processes -q 'name=^((?!kworker).)*$,match=regex' host_name host check_interval 7 proc...
by tonyk
Fri Oct 11, 2019 2:20 am
Forum: Open Source Nagios Projects
Topic: NCPA and processes check.
Replies: 5
Views: 2367

NCPA and processes check.

Hi, I have been banging my head into the wall with the following problem: My goal is to make a processes service check with ncpa that excludes one or some processes. I can make it work on the command line as follows: nagios@nagios4:~$ /usr/lib64/nagios/plugins/check_ncpa.py -q 'name=^((?!kworker).)*...