[Check_mk (english)] proper way to configure livestatus via ssh

I'm trying to connect to a remote instance of Nagios that has live status running. I want to connect via ssh by configuring the sites section of the multisite.mk. I have been successful at ssh to the remote server and can run the check at the command line but I can't find the correct settings inside multisite.mk to have the items brought into multisite. Here are the items I've tried:

     "remoteNagiosServer": {
          "alias": "remoteNagiosServer",
          "socket": "tcp:/usr/bin/ssh -l root -i /path/to/key remoteNagiosServer",
          "nagios_url": "/nagios",
          "nagios_cgi_url": "/nagios/cgi-bin",
          "pnp_url": "/pnp4nagios/",

The socket section I have use both 'tcp' and 'unix' as options. Still I have yet to make it work. I'm using 1.1.8b2.

thanks,

Josh

Ok. I think I’m confusing the two cases.

Can I use this in the socket line of the multisite.mk file:
**ssh < query "unixcat /var/lib/nagios/rw/live"**

and if so, what is the query call, as that does not work from the command line. thanks
···

nagios@10.0.0.14checkmk-en@lists.mathias-kettner.de
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en