NCPA Service check with Memory Usage option

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
Rago
Posts: 3
Joined: Mon Nov 30, 2020 11:18 am

NCPA Service check with Memory Usage option

Post by Rago »

Hello all,
Newbie with NCPA.
Currently I have a basic set up using Nagios Core on Ubuntu and a Windows machine running NCPA Client.
I manage to set up the basic monitoring for CPU, Memory and Service check.
My problem is, so far I only see the way to check if an specific service is running or not but I want to add a Memory check so I can trigger notification when this service reach a memory threshold.
I've been searching but can't any way to do it.

This is what I have so far to check y "myservice" is running or not

check_ncpa!-t 'nagiosncpa' -P 5693 -M 'services' -q 'service=myservice,status=running'

Any help will be really appreciatted

Thanks
gormank
Posts: 1114
Joined: Tue Dec 02, 2014 12:00 pm

Re: NCPA Service check with Memory Usage option

Post by gormank »

It doesn't look like the API supports a memory used option for service checks.
Rago
Posts: 3
Joined: Mon Nov 30, 2020 11:18 am

Re: NCPA Service check with Memory Usage option

Post by Rago »

Hi gormank,
Yes, you are right, at least I can't find anything related.
I think I will try NRPE (check_nrpe) to see my options.

Thank you very much for your reply
Locked