multiple distributed monitors ?

Tedman Eng teng at dataway.com
Fri Oct 1 21:13:17 CEST 2004


Perhaps you can have Nagios1 send the required nsca variables to Nagios 2
via ssh.

Something like this:
Nagios1  ----ssh--->  Nagios2  ---send_nsca--->  Nagios3

On nagios1:
ssh Nagios2 submit-nag3.sh $HOSTNAME$ $SERVICEDESC$ $STATE$ $OUTPUT$

On nagios2:
submit-nag3.sh script
#!/bin/sh
/bin/echo -e "$1\t$2\t$3\t$4\n" | send_nsca nagios3


-----Original Message-----
From: Holger Brueckner [mailto:lists at net-labs.de]
Sent: Friday, October 01, 2004 10:44 AM
To: Nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] multiple distributed monitors ?


i just browsed through nsca daemon code.
i think the easiest solution would be to add a variable to the config
file with the path to the submit_checks script and then let nsca
call the script to pipe the data through.

any more elegant solutions out there ?

On Fri, 2004-10-01 at 18:52, Holger Brueckner wrote:
> hello,
> 
> i wanted to install the following setup:
> 
> nagios 1  ---> nagios 2 ---> nagios 3
> 
> all information should be published on nagios 3.
> i can push data for one level, so 1 can send to 2, 2 can send to 3 but 2
> is not forwarding the information it received from 1 to 3.
> 
> is this possible ? 
> 
> thx for your help
> 
> Holger Brueckner
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
> Use IT products in your business? Tell us what you think of them. Give us
> Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out
more
> http://productguide.itmanagersjournal.com/guidepromo.tmpl
> _______________________________________________
> 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



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
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


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
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