LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-23-2014, 02:59 AM   #1
kashif ahmad
LQ Newbie
 
Registered: Jun 2014
Posts: 11

Rep: Reputation: Disabled
Nagios Client is down, Message : wrta was not set


I am newbie to linux and I am trying to monitor a server through another. I am following the guide from here

http://www.unixmen.com/install-and-c...-6-4-rhel-6-4/

but after doing all the steps mentioned when I checked on my web interface of nagios server, client status is down and it is giving message in status information as

<wrta> was not set
check_ping: Could not parse arguments
Usage:
check_ping -H <host_address> -w <wrta>,<wpl>% -c <crta>,<cpl>%
[-p packets] [-t timeout] [-4

I don't know what I have left. Please guide me and help me to fix the problem

Thanks

Last edited by kashif ahmad; 06-23-2014 at 05:55 AM.
 
Old 06-23-2014, 05:42 AM   #2
p_s_shah
Member
 
Registered: Mar 2005
Location: India
Distribution: RHEL 3/4, Solaris 8/9/10, Fedora 4/8, Redhat Linux 9
Posts: 237
Blog Entries: 1

Rep: Reputation: 34
Kashid,
Unfortunately, I am not able to open link provided by you to cross verify.
Again, the query you asked is very vegue, you need to be a little bit specific.
Couple of quick things:
1. Are you using only remote montioring? Or you have client installed?
2. If client is installed, whether communication between server and client is happening. netstat would be good option to start.
3. Communication between Nagios server and client? Ping? traceroute?
4. The message you are seeing is in Nagios monitoring console or some log files?
5. Can you try to run check_ping command from your commnad prompt and see if it is running fine?

Try this one also:
http://assets.nagios.com/downloads/n...rom_Source.pdf

Last edited by p_s_shah; 06-23-2014 at 05:45 AM. Reason: Updated more info.
 
Old 06-23-2014, 08:03 AM   #3
kashif ahmad
LQ Newbie
 
Registered: Jun 2014
Posts: 11

Original Poster
Rep: Reputation: Disabled
Hi,

1)-I am remotely monitoring. Actually I have two servers on cloud. On one server I have installed nagios and on another nrpe to monitor 2nd one's services.

2)-I have tried to listen the port on 2nd server it is listening (nrpe port 5666)
3)-Both are not on LAN so I don't understand how to ping, if you mean that by pinging live ip's then yes both machines can ping each other
4)-I am seeing this message in nagios web interface
5)-I have tried check_ping command on server side and got the message

CHECK_NRPE: Error - Could not complete SSL handshake.

The link I followed is working fine on my side. I am posting it again. Kindly take a look again

http://www.unixmen.com/install-and-c...-6-4-rhel-6-4/

I am newbie therefore I don't know much about linux systems and I don't know about many commands. So consider me basic level student.

Thanks,
 
Old 06-24-2014, 06:02 AM   #4
p_s_shah
Member
 
Registered: Mar 2005
Location: India
Distribution: RHEL 3/4, Solaris 8/9/10, Fedora 4/8, Redhat Linux 9
Posts: 237
Blog Entries: 1

Rep: Reputation: 34

You are one step ahead now. So, go through below links as well search for the error that you are getting.
http://www.linuxquestions.org/questi...dshake-765515/
http://support.nagios.com/knowledgeb...=35&faq_id=191

Basic troubleshooting if already not done:
Server A: Nagios Master
Server B: Nagion Client

From A, ping B.
From B, ping A.
From A, telnet B 5666

Did you verify Nagios configuration file using dry run?
 
Old 06-25-2014, 06:19 AM   #5
kashif ahmad
LQ Newbie
 
Registered: Jun 2014
Posts: 11

Original Poster
Rep: Reputation: Disabled
Hi,

I am not using xinetd service, because there is no information about xinetd in the tutorial I have followed. I am following tutorial from

http://www.unixmen.com/install-and-c...-6-4-rhel-6-4/

After doing what you asked to

1) Pinging from A to B is ok
2) Pinging from B to A is ok
3) From A, telnet B 5666

Command and Output is

[root@AsteriskCentOS plugins]# telnet 80.240.133.38 5666
Trying 80.240.133.38...
Connected to 80.240.133.38.
Escape character is '^]'.

please guide me further
Sorry for late reply

Thanks,

Last edited by kashif ahmad; 06-25-2014 at 06:26 AM.
 
Old 06-25-2014, 06:22 AM   #6
kashif ahmad
LQ Newbie
 
Registered: Jun 2014
Posts: 11

Original Poster
Rep: Reputation: Disabled
For further information

I have installed a plugin to check bandwidth usage for client. I have followed tutorial from

http://loginroot.com/bandwidth-monit...s-bw_watch-sh/

But in output on nagios web interface I am having no output but just the version of nrpe.

output at web interface is

Bandwidth
OK 06-25-2014 07:19:08 0d 0h 27m 47s 1/3 NRPE v2.15

Thanks,

Last edited by kashif ahmad; 06-25-2014 at 06:28 AM.
 
  


Reply

Tags
monitor output, monitoring, nagios, system admin



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Nagios plug in for jabber client, logical volume, e-mail notification Gil@LQ Linux - Networking 3 10-09-2012 04:03 PM
[SOLVED] set timezone for nagios in ubuntu 9.10 Xanios Linux - Newbie 8 06-20-2012 04:18 AM
Nagios Core - Can you set it up to page out once for multiple things? szboardstretcher Linux - Software 1 02-28-2011 04:31 PM
Set nagios to apache start/home page drsketch1 Linux - Server 3 01-19-2011 10:34 PM
nagios plugin working fine but in web it is giving different message sarathveera Linux - Software 15 02-10-2010 10:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration