NRPE vs. check_by_ssh
Camron W. Fox
cwfox at us.fujitsu.com
Sun Mar 29 23:38:50 CEST 2009
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-%r@%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-root at 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: cwfox at us.fujitsu.com
------------------------------------------------------------------------------
_______________________________________________
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