Page 1 of 1

AIX servers monitoring

Posted: Thu Mar 12, 2020 7:37 am
by RIDS_I2MP
Hi Team,

We have to install nrpe agent on few Aix servers. I referred to the below document for Aix agent installation from KB article:

https://assets.nagios.com/downloads/nag ... _Agent.pdf

I followed the document and tried installing the agent but, getting below error:

[‎3/‎12/‎2020 4:25 PM] Chaitanya Patil:
NON-PROD> root@eu2napu821: /tmp/aix-nrpe-agent > ./fullinstall
=============================
Nagios XI AIX Agent Installer
=============================


This script will do a complete install of the Nagios XI
AIX agent by executing all necessary sub-scripts.

IMPORTANT: This script should only be used on a AIX
system. Do NOT use this on a system running
any other operating system.

Do you want to continue? [Y/n]Y
Proceeding with installation...
This platform (aix7.2) is not currently supported.


Below is the Aix version:

NON-PROD> root@eu2napu821: /tmp/aix-nrpe-agent > oslevel -s
7200-03-03-1914

NON-PROD> root@eu2napu821: /root > uname -a
AIX eu2napu821 2 7 00CECE1E4C00

Please help us with the issue.

Thanks

Re: AIX servers monitoring

Posted: Thu Mar 12, 2020 11:13 am
by jdunitz
The installer only supports AIX versions 5.3 and 6.1, unfortunately. Yours is newer than that, so the installer failed.

However, someone else asked a question similar to yours a while ago:

https://support.nagios.com/forum/viewto ... =6&t=53204

So, you could try downloading Michael Perzl's precompiled packages (and the dependencies), if that is something that would work for you.

Hope that helps!

--Jeffrey

Re: AIX servers monitoring

Posted: Mon Mar 16, 2020 8:49 am
by RIDS_I2MP
Thanks for your reply!!

We will work on it and get back to you.

Re: AIX servers monitoring

Posted: Mon Mar 16, 2020 3:01 pm
by ar0431
Use NCPA plugin for AIX 7.x. It is easy.

Re: AIX servers monitoring

Posted: Tue Mar 17, 2020 5:25 am
by RIDS_I2MP
Hi,

Please let me know how NCPA plugin can be used.
Kindly, provide documentation in support of I if any.

Re: AIX servers monitoring

Posted: Tue Mar 17, 2020 7:35 am
by ar0431
Here is the link of NCPA.

https://www.nagios.org/ncpa/

Re: AIX servers monitoring

Posted: Tue Mar 17, 2020 8:04 am
by cdienger
You'll also find install instructions at https://assets.nagios.com/downloads/ncp ... g-NCPA.pdf and a guide to using the NCPA wizard in XI at https://assets.nagios.com/downloads/nag ... ios-XI.pdf.

Re: AIX servers monitoring

Posted: Wed Apr 08, 2020 7:46 am
by RIDS_I2MP
Hi,

Thanks for your help!!!

We have used NCPA agent for Nagios configuration on AIX 7.2 servers. It is working fine on all servers.
On one server, we are getting error the below error:

2020-04-07 14:30:51,065 11534786 ERROR failed to start due to an exception
Traceback (most recent call last):
File "/tmp/test/ncpa/agent/ncpadaemon.py", line 181, in start
File "/tmp/test/ncpa/agent/ncpadaemon.py", line 358, in check_pid_writable
SystemExit: unable to write to pidfile /usr/local/ncpa/var/run/ncpa_listener.pid


When we tried checking if the service is running or not, its giving below status:

NON-PROD> root@eu2napu820: /usr/local/ncpa > lssrc -s ncpa_listener
Subsystem Group PID Status
ncpa_listener inoperative
NON-PROD> root@eu2napu820: /usr/local/ncpa >

Please help on this.

Re: AIX servers monitoring

Posted: Wed Apr 08, 2020 2:37 pm
by ssax
Try this:

Code: Select all

stopsrc -s ncpa_listener
startsrc -s ncpa_listener
lssrc -s ncpa_listener
Same?

Does that directory exist? What are the permission? Please send the output:

Code: Select all

ls -ld /usr/local/ncpa/var/run
ls-l /usr/local/ncpa/var/run
Edit: If the file exists, stopsrc, then try deleting it:

Code: Select all

rm -f /usr/local/ncpa/var/run/ncpa_listener.pid