AIX Agent

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
mkeey
Posts: 199
Joined: Mon Sep 25, 2017 11:13 am

AIX Agent

Post by mkeey »

Need to start monitoring our AIX environment. Therefore I need to install the AIX Agent (currently use Windows & Linux agents). Thought I would use the AIX Wizard and find a link to download the AIX installation file for the Agent. However, there wasn't an AIX Wizard. Therefore no link to download the installation file. Please advise on how to get the AIX Wizard and the link to download the Agent's install file.
mkeey
Posts: 199
Joined: Mon Sep 25, 2017 11:13 am

Re: AIX Agent

Post by mkeey »

Ok, Nevermind the previous inquiry. I found the "Get More Wizards" button and found the AIX wizard install and agent download. Also found the documentation to install the agent.

Question - for the Wizard, I just got a zip file... how does this get installed so it can be selected via the Configuration Wizards panel?
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: AIX Agent

Post by tgriep »

TO install that wizard on the Nagios XI system, you would download it to your desktop as a zip file.
Then, login to the XI GUI and go to the Admin > Manage Config Wizards menu, Click on Browse and select the ZIP file and then click on the Upload and Install to add the Wizard to the system.

One thing to check, the Wizard may only have an agent for AIX versions 5.x and 6.x so let us know if you are running newer versions of AIX.
Be sure to check out our Knowledgebase for helpful articles and solutions!
mkeey
Posts: 199
Joined: Mon Sep 25, 2017 11:13 am

Re: AIX Agent

Post by mkeey »

Yes, we do have v7.1 and v7.2
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: AIX Agent

Post by tgriep »

We do not have packages available for AIX 7.1 / 7.2 but I do have a web site that you can download them from.
The site is called
http://www.perzl.org/aix/

The links below are direct links to the files you need to download to the AIX server.

Code: Select all

ftp://www.oss4aix.org/latest/aix71/fping-3.13-1.aix5.3.ppc.rpm
ftp://www.oss4aix.org/latest/aix71/gawk-4.2.0-1.aix5.1.ppc.rpm
ftp://www.oss4aix.org/latest/aix71/net-snmp-5.7.2-3.aix5.1.ppc.rpm
ftp://www.oss4aix.org/latest/aix71/net-snmp-perl-5.7.2-3.aix5.1.ppc.rpm
ftp://www.oss4aix.org/latest/aix71/net-snmp-utils-5.7.2-3.aix5.1.ppc.rpm
ftp://www.oss4aix.org/latest/aix71/openldap-2.4.44-0.1.aix5.1.ppc.rpm
ftp://www.oss4aix.org/latest/aix71/openssl-1.0.2o-1.aix5.1.ppc.rpm
ftp://www.oss4aix.org/latest/aix71/python-2.7.13-1.aix6.1.ppc.rpm
ftp://www.oss4aix.org/latest/aix71/libdbi-0.8.4-1.aix5.1.ppc.rpm
ftp://www.oss4aix.org/latest/aix71/nagios-plugins-2.2.1-1.aix5.1.ppc.rpm
ftp://www.oss4aix.org/latest/aix71/nagios-nrpe-3.2.1-1.aix5.1.ppc.rpm

Put them all in one folder and run the following to install all of the packages.

Code: Select all

rpm -Uvh *.rpm
The /etc/nagios/nrpe.conf needs to be changed a bit to get it to work so edit that file.
This option will have to be set to 1 to allow the NRPE agent to accept arguments.

Code: Select all

dont_blame_nrpe=1
Change this from

Code: Select all

pid_file=/var/run/nagios-nrpe/nrpe.pid
to

Code: Select all

pid_file=/var/run/nrpe/nrpe.pid
to match the pid file in the init script.

Save the changes and restart the NRPE service.


If you want to use arguments in the commands that you define in XI, you will also have to do the following changes in the /etc/nagios/nrpe.conf file.

Comment out the hard coded commands

Code: Select all

#command[check_users]=/opt/freeware/lib/nagios/plugins/check_users -w 5 -c 10
#command[check_load]=/opt/freeware/lib/nagios/plugins/check_load -r -w .15,.10,.05 -c .30,.25,.20
#command[check_hda1]=/opt/freeware/lib/nagios/plugins/check_disk -w 20% -c 10% -p /dev/hda1
#command[check_zombie_procs]=/opt/freeware/lib/nagios/plugins/check_procs -w 5 -c 10 -s Z
#command[check_total_procs]=/opt/freeware/lib/nagios/plugins/check_procs -w 150 -c 200

Uncomment these commands.

Code: Select all

command[check_users]=/opt/freeware/lib/nagios/plugins/check_users $ARG1$
command[check_load]=/opt/freeware/lib/nagios/plugins/check_load $ARG1$
command[check_disk]=/opt/freeware/lib/nagios/plugins/check_disk $ARG1$
command[check_swap]=/opt/freeware/lib/nagios/plugins/check_swap $ARG1$

### PROCESSES ###
command[check_all_procs]=/opt/freeware/lib/nagios/plugins/custom_check_procs
command[check_procs]=/opt/freeware/lib/nagios/plugins/check_procs $ARG1$

Change to the NRPE user by running this

Code: Select all

sudo su - nrpe
Then to start the Agent, run this

Code: Select all

/opt/freeware/sbin/nrpe -c /etc/nagios/nrpe.cfg  -d

To test to see if the AIX server can be polled from the Nagios server, run the following command from the Nagios server (replace xxx.xxx.xxx.xxx with the IP Addrerss on the AIX server)

Code: Select all

/usr/local/nagios/libexec/check_nrpe -H xxx.xxx.xxx.xxx
If it returns the version number that you should be able to run the NRPE commands from the XI server.
Be sure to check out our Knowledgebase for helpful articles and solutions!
mkeey
Posts: 199
Joined: Mon Sep 25, 2017 11:13 am

Re: AIX Agent

Post by mkeey »

Wow... that's quite the task list. Thank you for that and I'll download and coordinate with our AIX team on this. But, I have a question... v7 and v8 have both been out for some time... why doesn't Nagios have a compatible installation program & agent?
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: AIX Agent

Post by tgriep »

Let us know if you have any further questions.
We don't have access to an AIX server at this time to create packages.
Be sure to check out our Knowledgebase for helpful articles and solutions!
mkeey
Posts: 199
Joined: Mon Sep 25, 2017 11:13 am

Re: AIX Agent

Post by mkeey »

Thanks, please leave case open as this may take some coordination (aka: time) on our end.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: AIX Agent

Post by tgriep »

OK, we'll leave the post open in case you have further questions.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked