On Fri, 22 Jan 2010 13:35:48 +0100, Mario Rimann <ma...@rimann.org> wrote:
> Running the same stuff as the nagios user fails (script get's called,
but
> doesn't get the parameters)
> [nag...@monitoring ~]$  /path/to/libexec/check_by_ssh -l root -H
> xxx.xxx.xxx.xxx -v -C "/root/bin/checkSomeThing.sh 300 500"

Problem solved:

The key of the nagios user that was put into the authorized_keys file on
the remote server was restricted to a forced command - which obviously cut
of the parameters. *damned*

Cheers,
Mario

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
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

Reply via email to