send_nsca
Chris Stankaitis
chris.stankaitis at datawire.net
Thu Mar 13 14:26:49 CET 2003
send_nsca doesn't require the "-H" Flag for hostname, you just define
the hostname without the -H you also don't need '-p' unless your
switching the nsca host to listen on a different port... 5667 is the
default port for send_nsca
The following line should be all you need.
./send_nsca nagios.yourdomain -to 15 -c /etc/nsca.cfg
Chris
Kreig Dubose wrote:
> OS: RH8
> Nag: Nagios 1.0
>
> I'm trying to obviously get send_nsca working. I've read through the
> documents and perhaps it's due to the late hour, or my ignorance ;) but I
> cannot determine how to supply the actual service check to the nagios
> station.
>
> On the host
> [kreigd at goclnx1 nagios]$ ./send_nsca -H nagios -p 5667 -t0 15 -c
> /etc/send_nsca.cfg
> Incorrect command line arguments supplied
>
> NSCA Client 2.3
>
> On the nagios server
> kreigd 25227 1 0 Mar12 ? 00:00:00 ./nsca -c /etc/nsca.cfg
> --daemon
> tcp 0 0 *:5667 *:* LISTEN
>
> Do I need to write a script to use this command? or do I just redirect the
> output of the check_* command to send_nsca ??
>
>
>
> I can find no docs that answer this seemingly fundamental question??
>
> TIA,
>
> Kreig
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by:Crypto Challenge is now open!
> Get cracking and register here for some mind boggling fun and
> the chance of winning an Apple iPod:
> http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
> _______________________________________________
> 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
--
Chris Stankaitis
Systems Administrator
Datawire Communication Networks Inc.
chris.stankaitis at datawire.net
-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
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