AIX servers monitoring

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

AIX servers monitoring

Post 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
Thanks & Regards,
I2MP Team.
User avatar
jdunitz
Posts: 235
Joined: Wed Feb 05, 2020 2:50 pm

Re: AIX servers monitoring

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

Re: AIX servers monitoring

Post by RIDS_I2MP »

Thanks for your reply!!

We will work on it and get back to you.
Thanks & Regards,
I2MP Team.
ar0431
Posts: 73
Joined: Tue May 21, 2019 12:05 pm

Re: AIX servers monitoring

Post by ar0431 »

Use NCPA plugin for AIX 7.x. It is easy.
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

Re: AIX servers monitoring

Post by RIDS_I2MP »

Hi,

Please let me know how NCPA plugin can be used.
Kindly, provide documentation in support of I if any.
Thanks & Regards,
I2MP Team.
ar0431
Posts: 73
Joined: Tue May 21, 2019 12:05 pm

Re: AIX servers monitoring

Post by ar0431 »

Here is the link of NCPA.

https://www.nagios.org/ncpa/
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: AIX servers monitoring

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

Re: AIX servers monitoring

Post 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.
Thanks & Regards,
I2MP Team.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: AIX servers monitoring

Post 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
Locked