Page 1 of 2

fetch information from linux server via nagios

Posted: Sat Oct 12, 2013 9:24 am
by inderraw
Hi All,

How to monitor linux server via Nagios monitoring tool, please guide step by step.


Regards
Inder Singh Rawat.

Re: fetch information from linux server via nagios

Posted: Mon Oct 14, 2013 10:31 am
by slansing
Are you looking to use active checks or passive results being pushed back to the XI server?

One of the easier methods is using NRPE:

http://assets.nagios.com/downloads/nagi ... _Agent.pdf

Re: fetch information from linux server via nagios

Posted: Mon Oct 14, 2013 10:55 am
by inderraw
Dear Team,

I am getting error, please see attached file.

Regards
Inder singh

Re: fetch information from linux server via nagios

Posted: Mon Oct 14, 2013 10:59 am
by slansing
Do you have port 5666 open on the remote host? Also, do you have your nagios xi server's address defined in the allowed_from section in the nrpe.cfg file? If not, once you define it restart the xinetd service:

Code: Select all

service xinetd restart
I would recommend reviewing this document:

http://assets.nagios.com/downloads/nagi ... utions.pdf

Re: fetch information from linux server via nagios

Posted: Mon Oct 14, 2013 11:05 am
by inderraw
Dear Team,

My linux machine are hosted in amazon cloud, please find version detail.
Yes, i have also open the same port 5666 and followed same document.

Re: fetch information from linux server via nagios

Posted: Mon Oct 14, 2013 11:08 am
by inderraw
Hi ,

When i run following command.

service xinetd restart, got attached error.

Re: fetch information from linux server via nagios

Posted: Mon Oct 14, 2013 11:09 am
by abrist
Have you attempted to resolve the issues by following sections III and IV from the troubleshooting document??

Re: fetch information from linux server via nagios

Posted: Mon Oct 14, 2013 11:11 am
by inderraw
Hi,

from where troubleshooting document? and how

Re: fetch information from linux server via nagios

Posted: Mon Oct 14, 2013 11:15 am
by tmcdonald
slansing wrote:I would recommend reviewing this document:

http://assets.nagios.com/downloads/nagi ... utions.pdf

Re: fetch information from linux server via nagios

Posted: Mon Oct 14, 2013 11:48 am
by inderraw
hi ,

how to get xinetd service.