Process monitoring not working on AIX 7.1

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jyoti22
Posts: 254
Joined: Mon Mar 23, 2015 4:50 am

Process monitoring not working on AIX 7.1

Post by jyoti22 »

I want to monitor listener or any other process on AIX but its not working. However when I try to monitor sshd process, it works fine. Please find "file1" screenshot.

Also please find listener and sshd process configuration command from nagios console and suggest how can I do process monitoring. Thanks.
You do not have the required permissions to view the files attached to this post.
kyang

Re: Process monitoring not working on AIX 7.1

Post by kyang »

Hello,

Did you change the default port of NCPA? The default port is supposed to be 5693, but you are using the NRPE port 5666.

What is the output from the Nagios XI interface? Is it an error or something else? Please show a screenshot of this.

What is working?
jyoti22
Posts: 254
Joined: Mon Mar 23, 2015 4:50 am

Re: Process monitoring not working on AIX 7.1

Post by jyoti22 »

Hi,
On same server we are monitoring other parameters with same port 5666 and using command "check_xi_ncpa" and its working fine.
ex:

CPU usage cmd : -t 'mytoken' -P 5666 -M cpu/percent -w 90 -c 95 -q 'aggregate=avg'

Memory usage cmd : -t 'mytoken' -P 5666 -M memory/virtual -u Gi -w 85 -c 92

Disk usage cmd : -t 'mytoken' -P 5666 -M 'disk/logical/|oraarchive201/used_percent' -w 85 -c 92

All above command give correct output. Kindly help. Thanks.
kyang

Re: Process monitoring not working on AIX 7.1

Post by kyang »

What version of NCPA do you have? Also what version of the plugin?

Code: Select all

/usr/local/nagios/libexec/check_ncpa.py -V
Also, you mentioned it works from the cmd line, but not from the GUI.

What is it showing on the GUI?
jyoti22
Posts: 254
Joined: Mon Mar 23, 2015 4:50 am

Re: Process monitoring not working on AIX 7.1

Post by jyoti22 »

[nagios@dc1lp1xxx libexec]$ /usr/local/nagios/libexec/check_ncpa.py -V
check_ncpa.py, Version 1.1.2


NCPA version is 3.2.1

command do not work either from cmd line or GUI
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Process monitoring not working on AIX 7.1

Post by npolovenko »

@jyoti22, Have you tried using the "process" option instead?

./check_ncpa.py -H ip_address -t 'Str0ngT0k3n' -P 5693 -M 'process/LISTENER/count' -c 1:1

Also, 5666 is the nrpe port. NCPA usually uses the port 5693.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked