NCPA Agent - API construction for process exceeding x.xx mem

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
Guyver1
Posts: 27
Joined: Tue Apr 16, 2019 4:43 am

NCPA Agent - API construction for process exceeding x.xx mem

Post by Guyver1 »

Was hoping someone would be able to assist in providing the correct options to filter for a process exceeding x.xx mem_vms or x.xx mem_rss
I can filter for our tomcat8 process no issues as this is straight forward:
Image

However, when trying to add filters to filter for mem_vms or mem_rss => x.xx and setting it as a nagios check it either just sits there with the spinning circle
Image

just sits there with the spinny circle:
Image

does anyone have the correct settings to filter a specific process when it exceeds a memory value as a nagios check with warning and critical values please?
Guyver1
Posts: 27
Joined: Tue Apr 16, 2019 4:43 am

Re: NCPA Agent - API construction for process exceeding x.xx

Post by Guyver1 »

If I try this I just get stdout = 0 which is incorrect as it should alert
Image
Guyver1
Posts: 27
Joined: Tue Apr 16, 2019 4:43 am

Re: NCPA Agent - API construction for process exceeding x.xx

Post by Guyver1 »

I can do this from the "Live Data" option so it looks like what I want is possible:
https://imgur.com/2X1UxEk
Locked