Charlie Reddington wrote: > > +1 on the control master. We have about 1000 checks over 300 hosts and > using control master made the box much more stable and quite frankly > usable. Saved a lot of plug in time outs as well. > > Think about 1000 checks every 5 or 10 minutes. That's 1000 encrypted > tunnels that are going up and down. That's a lot of overhead for a > quick check, let along if your server is checking say 5 or 10 things > back to back. > > http://www.torchbox.com/blog/ssh_tips_2.html > > Charlie > Charlie,
Sounded interesting so I gave this a try on our test environment, with the following config: Host * ControlMaster auto ControlPath ~/.ssh/master...@%h:%p Initially, all looked well, but then we started to see these: Remote command execution failed: Control socket connect(/var/log/nagios/.ssh/master-r...@192.168.100.100:22): Connection refused So you see this as well in your environment? Best Regards, Camron Camron W. Fox Hilo Office High Performance Computing Group Fujitsu Management Services of America, Inc. E-mail: cw...@us.fujitsu.com ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users@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