services and processes

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
srikanth.kallu
Posts: 243
Joined: Thu Jul 26, 2012 10:48 am

services and processes

Post by srikanth.kallu »

Hi,

How do i know what all the services and processses is being monitored on any of my AIX server by my nagios server
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: services and processes

Post by scottwilkerson »

Did you set this up with the AIX wizard?

They should show on the detail page if you use the quick search for you AIX server name
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
srikanth.kallu
Posts: 243
Joined: Thu Jul 26, 2012 10:48 am

Re: services and processes

Post by srikanth.kallu »

so this is what i have under server uvdev.mouser.lan

on the status information it shows "connection refused by the host" what does this mean ?

Becuase at the moment it is giving me false alerts.
You do not have the required permissions to view the files attached to this post.
srikanth.kallu
Posts: 243
Joined: Thu Jul 26, 2012 10:48 am

Re: services and processes

Post by srikanth.kallu »

and also for few services status shows " NRPE: Unable to read output " can someone please halp me what does this mean ?
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: services and processes

Post by slansing »

Have you made sure that the correct NRPE port is opened on the AIX server? This is typically port 5666.

As for unable to read output, this generally means that the script is not producing output, or it is not readable by Nagios. What check is giving this error?
srikanth.kallu
Posts: 243
Joined: Thu Jul 26, 2012 10:48 am

Re: services and processes

Post by srikanth.kallu »

How do i open that port 5666.

Can you help me with the command to open that
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: services and processes

Post by slansing »

Have you verified that it is not already open?

Code: Select all

netstat -an | grep 5666
srikanth.kallu
Posts: 243
Joined: Thu Jul 26, 2012 10:48 am

Re: services and processes

Post by srikanth.kallu »

yes i verfied with this command.

That port is not open
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: services and processes

Post by slansing »

To forward a new port:

Code: Select all

vi /etc/services
And from here add:

Code: Select all

nrpe            5666/tcp             #nrpe
From what I know, "we do not have an AIX system here to test on," that is how you would open the port that NRPE uses by default.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: services and processes

Post by lmiltchev »

In addition to slansing's post, you can see how to map a service to a port number here:

http://publib.boulder.ibm.com/infocente ... _ports.htm

I am not sure what kind of firewall you have, but in case it is IBM, you may also look at this:

http://www.redbooks.ibm.com/abstracts/sg242577.html
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked