LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 04-29-2013, 02:29 PM   #1
katsanterre
LQ Newbie
 
Registered: Apr 2013
Posts: 2

Rep: Reputation: Disabled
Red face NAGIOS: Name or service not known output returned for custom developed service status


I am very green working with Unix and Nagios.

I am trying to monitor the status of custom developed software services. I have tried using ""; _ and *.exe on the command line and in the *.cfg files. Example: /usr/local/nagios/libexec/check_nt -H mdhskofax2 -p 1248 -v SERVICESTATE -d SHOWALL -l Kfxpdf.exe -t 20. All I get from a command line output or the nagios.log file is name or service not known and could not fetch information from server. I have read through many articles on various blog sites but nothing is assisting me in figuring this out.

Thank you!
 
Old 04-30-2013, 03:32 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,454
Blog Entries: 54

Rep: Reputation: 2896Reputation: 2896Reputation: 2896Reputation: 2896Reputation: 2896Reputation: 2896Reputation: 2896Reputation: 2896Reputation: 2896Reputation: 2896Reputation: 2896
Moved: This thread is more suitable in the Linux Software forum and has been moved accordingly to help your thread/question get the exposure it deserves.

Did you:
- read the NAGIOS documentation for the "check_nt" service?
- read the "check_nt" file contents?
- install NRPE or NSClient on the remote host?
- test remote host with a "simple" check like './check_nt -H remotehost -p remoteport -v UPTIME'?

* Should you prefix the binary with the full remote path if you're checking a file and not a service?
 
Old 05-07-2013, 08:55 AM   #3
katsanterre
LQ Newbie
 
Registered: Apr 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
Red face Green Newbie with Linux and Nagios

I
- read the NAGIOS documentation for the "check_nt" service.
- read the "check_nt" file contents.
- installed NSClient on the remote host.
- test remote host with a "simple" check like './check_nt -H remotehost -p remoteport -v UPTIME' - Results CRITICAL - socket timeout after 10 seconds.

* Should you prefix the binary with the full remote path if you're checking a file and not a service. I am checking a service and have used the syntax with the full remote path.

Thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] Nagios Custom Service Output jrb328 Linux - Software 3 05-30-2012 07:08 PM
Nagios - No output returned from plugin nishith Linux - Software 16 07-12-2009 03:07 PM
snmp - nagios wont detect service status change noob_d Linux - Server 2 06-03-2008 12:34 PM
Shown Invalid Service Status Value using Nagios sureshkumar.repaka Programming 1 04-19-2007 05:34 AM


All times are GMT -5. The time now is 08:50 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration