Monitoring AIX 6.1 With Nagios

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
TBT
Posts: 625
Joined: Wed May 18, 2011 1:26 pm

Monitoring AIX 6.1 With Nagios

Post 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.
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Monitoring AIX 6.1 With Nagios

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

Code: Select all

ps -ef | grep nrpe
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
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!
TBT
Posts: 625
Joined: Wed May 18, 2011 1:26 pm

Re: Monitoring AIX 6.1 With Nagios

Post by TBT »

The config /etc/nagios/nrpe.cfg, nor /etc/nagios/ is present.

Please advise.
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Monitoring AIX 6.1 With Nagios

Post 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.
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!
TBT
Posts: 625
Joined: Wed May 18, 2011 1:26 pm

Re: Monitoring AIX 6.1 With Nagios

Post by TBT »

So we've got the memory checks working. Is it possible to check swap and if so, can you please advise?
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Monitoring AIX 6.1 With Nagios

Post 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.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Monitoring AIX 6.1 With Nagios

Post 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
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!
TBT
Posts: 625
Joined: Wed May 18, 2011 1:26 pm

Re: Monitoring AIX 6.1 With Nagios

Post by TBT »

Got it working, no further action required. Thanks.
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Monitoring AIX 6.1 With Nagios

Post by benjaminsmith »

Hi @TBT,
Got it working, no further action required. Thanks.
Excellent. We'll close this out.

Thank you for using Nagios!
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!
Locked