Problems with passing on service check information

Marc Powell marc at ena.com
Thu Feb 22 00:22:56 CET 2007



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Steven Schwartz
> Sent: Wednesday, February 21, 2007 4:19 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Problems with passing on service check
information
> 


> Does anyone know what happens if you try and use send_nsca to
communicate
> to a machine running two separate nagios instances?

Works great. Just have two different NSCA instances running on different
ports. Each will point to it's respective nagios.cmd file --

$ tail -10 libexec/submit_check_result 
                        ;;
        esac

        # pipe the service check info into the send_nsca program, which
        # in turn transmits the data to the nsca daemon on the central
        # monitoring server

        /bin/echo -e "$1\t$2\t$return_code\t$4\n" |
/usr/local/nagios/bin/send_nsca 172.27.0.100 -p 5668 -c
/usr/local/nagios/etc/send_nsca.cfg
        /bin/echo -e "$1\t$2\t$return_code\t$4\n" |
/usr/local/nagios/bin/send_nsca 172.27.0.100 -p 5669 -c
/usr/local/nagios/etc/send_nsca.cfg

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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