Page 1 of 1
Monitoring AIX 6.1 With Nagios
Posted: Fri Jun 12, 2020 9:09 am
by TBT
In an attempt to monitor AIX 6.1, following the 5.3 documentation [1] was unsuccessful and results in all checks failing except ping check.
Status Info indicates: "CHECK_NRPE: Error - Could not connect to 10.4.3.10. Check system logs on 10.4.3.10".
Aside from the AIX Agent document [2], is there an updated Monitoring AIX With Nagios doc which includes the process for AIX 6.1?
1.
https://assets.nagios.com/downloads/nag ... Nagios.pdf
2.
https://assets.nagios.com/downloads/nag ... _Agent.pdf
At this point I'm still digging around for the issue.
Re: Monitoring AIX 6.1 With Nagios
Posted: Fri Jun 12, 2020 2:23 pm
by benjaminsmith
Hi
@TBT,
Status Info indicates: "CHECK_NRPE: Error - Could not connect to 10.4.3.10. Check system logs on 10.4.3.10".
That's a common error message and likely the installation was successful, is the settingssfor
allowed_hosts in the
/etc/nagios/nrpe.cfg file correct? This should contain the IP address of the Nagios XI server.
If that checks out, then make sure the NRPE service is running on the remote hosts. What is the output of the following command?
Regarding AIX documents, we have updated docs the NCPA agent on AIX 7 but do not have a build for AIX 6 as it's EOL. NRPE would be the best option here.
Reference
NRPE - CHECK_NRPE: Error - Could Not Complete SSL Handshake
Re: Monitoring AIX 6.1 With Nagios
Posted: Fri Jun 12, 2020 3:07 pm
by TBT
The config /etc/nagios/nrpe.cfg, nor /etc/nagios/ is present.
Please advise.
Re: Monitoring AIX 6.1 With Nagios
Posted: Fri Jun 12, 2020 3:42 pm
by benjaminsmith
Hi
@TBT,
Well, that ought to be there, the install must have not completed successfully. Try running through the step in the following guide, make sure to check for the required components listed on the first page.
Nagios XI Installing the AIX Agent
If the install goes correctly, check to make sure nrpe process is running on the server.
Re: Monitoring AIX 6.1 With Nagios
Posted: Mon Jun 15, 2020 2:35 pm
by TBT
So we've got the memory checks working. Is it possible to check swap and if so, can you please advise?
Re: Monitoring AIX 6.1 With Nagios
Posted: Tue Jun 16, 2020 1:03 pm
by ssax
You can see the AIX plugins available here:
Code: Select all
https://exchange.nagios.org/directory/Plugins/Operating-Systems/AIX
check_swap should work:
https://nagios-plugins.org/doc/man/check_swap.html
Notes:
Both INTEGER and PERCENT thresholds can be specified, they are all checked.
On AIX, if -a is specified, uses lsps -a, otherwise uses lsps -s.
Re: Monitoring AIX 6.1 With Nagios
Posted: Tue Jun 16, 2020 1:08 pm
by benjaminsmith
Hi
@TBT,
Is it possible to check swap and if so, can you please advise?
Take a look at the Nagios plugin available called check_swap, that may fit your requirements.
The Check Swap Plugin
Re: Monitoring AIX 6.1 With Nagios
Posted: Wed Jun 17, 2020 8:56 am
by TBT
Got it working, no further action required. Thanks.
Re: Monitoring AIX 6.1 With Nagios
Posted: Wed Jun 17, 2020 1:17 pm
by benjaminsmith
Hi
@TBT,
Got it working, no further action required. Thanks.
Excellent. We'll close this out.
Thank you for using Nagios!