DaemonForums  

Go Back   DaemonForums > Miscellaneous > General software and network

General software and network General OS-independent software and network questions, X11, MTA, routing, etc.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 30th May 2008
scottro's Avatar
scottro scottro is offline
Real Name: Scott Robbins
Spam Deminer
 
Join Date: Apr 2008
Location: NYC
Posts: 298
Thanked 31 Times in 25 Posts
Default Nagios issue

Well, since nagios is running on a CentOS server and the target machine is running Windows XP, a BSD forum is the best place to post.

We wanted to check time on some servers and workstations. There's a check_ntp_time plugin, which works, as near as I can see by looking at the code (but it's in C, so I could be wrong) by using NTP. The usual test for a nagios plugin, is to do something like (in the plugin directory) ./check_ntp_time -H <hostname>.

This is fine, I get a response.

However, when I define it as a nagios service, I get an email that the connection was refused. Googling hasn't given me an answer yet--I've seen one or two other people with a similar issue (different plugin, same pattern) but no solution.

There is a nagios client that can be run on Windows hosts. I put that client on one Windows host and that works.

However, since the ./check_plugin_name -H <host> worked, my hope was that I didn't have to install anything on the Windows machines.

If anyone knows nagios and has experienced this, I'd be grateful for any pointers. I was under the impression that if the ./check_plugin stuff from comand line worked, it would work with nagios.

I tried doing su - nagios and it still works from command line, so it doesn't seem to be a matter of different users.

Thanks for any pointers.
Reply With Quote
 

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Guide: Solaris 10 - Nagios -rrdtool -pnp4Nagios roundkat Guides 6 30th December 2008 07:07 PM
Possible SMP Issue? MetalHead OpenBSD General 1 25th November 2008 03:52 AM
Nagios 2.12 locks awd FreeBSD Ports and Packages 5 19th June 2008 10:38 AM
Compiling Nagios 3.02 roundkat Solaris 1 2nd June 2008 09:09 PM
RAM issue nikkon FreeBSD General 5 7th May 2008 04:26 AM


All times are GMT. The time now is 06:02 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick