Page 1 of 1

NCPA Service check with Memory Usage option

Posted: Mon Nov 30, 2020 11:31 am
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

Re: NCPA Service check with Memory Usage option

Posted: Tue Dec 01, 2020 3:00 pm
by gormank
It doesn't look like the API supports a memory used option for service checks.

Re: NCPA Service check with Memory Usage option

Posted: Thu Dec 03, 2020 12:14 pm
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