fetch information from linux server via nagios

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
inderraw
Posts: 61
Joined: Fri Apr 26, 2013 1:40 am
Location: India (Delhi)
Contact:

fetch information from linux server via nagios

Post by inderraw »

Hi All,

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


Regards
Inder Singh Rawat.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: fetch information from linux server via nagios

Post 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
inderraw
Posts: 61
Joined: Fri Apr 26, 2013 1:40 am
Location: India (Delhi)
Contact:

Re: fetch information from linux server via nagios

Post by inderraw »

Dear Team,

I am getting error, please see attached file.

Regards
Inder singh
You do not have the required permissions to view the files attached to this post.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: fetch information from linux server via nagios

Post 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
inderraw
Posts: 61
Joined: Fri Apr 26, 2013 1:40 am
Location: India (Delhi)
Contact:

Re: fetch information from linux server via nagios

Post 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.
You do not have the required permissions to view the files attached to this post.
inderraw
Posts: 61
Joined: Fri Apr 26, 2013 1:40 am
Location: India (Delhi)
Contact:

Re: fetch information from linux server via nagios

Post by inderraw »

Hi ,

When i run following command.

service xinetd restart, got attached error.
You do not have the required permissions to view the files attached to this post.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: fetch information from linux server via nagios

Post by abrist »

Have you attempted to resolve the issues by following sections III and IV from the troubleshooting document??
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
inderraw
Posts: 61
Joined: Fri Apr 26, 2013 1:40 am
Location: India (Delhi)
Contact:

Re: fetch information from linux server via nagios

Post by inderraw »

Hi,

from where troubleshooting document? and how
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: fetch information from linux server via nagios

Post by tmcdonald »

slansing wrote:I would recommend reviewing this document:

http://assets.nagios.com/downloads/nagi ... utions.pdf
Former Nagios employee
inderraw
Posts: 61
Joined: Fri Apr 26, 2013 1:40 am
Location: India (Delhi)
Contact:

Re: fetch information from linux server via nagios

Post by inderraw »

hi ,

how to get xinetd service.
Locked