Re NSCA

Kevin Keane subscription at kkeane.com
Fri Jul 10 09:32:10 CEST 2009


OK, a couple of things to look at:

- nagios.cmd is supposed to always be 0 bytes. It's not a file but a socket.
- How did you define the ocsp command?
- When you execute the OCSP command manually what happens? Do you see 
anything in the central server's logs? Note: make sure to run as user 
"nagios" rather than root.
- write a short script that simply echos its command line to the file 
/tmp/nicks_nsca_debug.log . Use this script as the OCSP command. Restart 
Nagios. Watch what happens with this file - it should tell you whether 
the distributed Nagios server even calls the OCSP command.

Nick Price wrote:
>
> Hi
>
> Tried that still can't get it to work
>
> I have got the central server nagios debug set to external commands 
> nothing shows in the debug log.
>
> Also nothing from nsca in both of the servers nagios.log
>
> And on the central server the nagios.cmd file stays at 0 bytes so 
> nothing seems to be getting through
>
> Any idea on how to debug where things are going wrong
>
> Many thanks
>
> Nick
>
> -----Original Message-----
>
> From: Marc Powell [mailto:marc at ena.com]
>
> Sent: Thursday, July 09, 2009 16:20
>
> To: Nagios Users Mail-list
>
> Subject: Re: [Nagios-users] Re NSCA
>
> On Jul 9, 2009, at 8:49 AM, Nick Price wrote:
>
> > What I don’t get is how to get send_nsca on the remote nagios to
>
> > pick up the results of the active checks and send them to the
>
> > central server
>
> >
>
> > It is vital that the remote server has its own web interface and
>
> > send out notifications as the ITC at the remote site need to see
>
> > only the hosts/services their own nagios monitors, they don’t have
>
> > access to the web interface on the central server
>
> >
>
> > I am looking for a step by step guide to help.
>
> Not _too_ hard to find... 
> http://nagios.sourceforge.net/docs/3_0/distributed.html
>
> --
>
> Marc
>
-- 
Kevin Keane
Owner
The NetTech
Find the Uncommon: Expert Solutions for a Network You Never Have to Think About

Office: 866-642-7116
http://www.4nettech.com

This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof.


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list