remote plugins and ssh problem

Stanley Hopcroft Stanley.Hopcroft at IPAustralia.Gov.AU
Tue Dec 10 21:36:44 CET 2002


Dear Sir,

I am writing to say that I am running remote plugins with ssh (using
check_by_ssh) with Nagios-1.0. (The plugin is quite
elderly: check_by_ssh (netsaint-plugins 1.2.9-4) 1.23.2.1 but works
ok for me)

This site has about 20 such checks.

Can the Nagios user read the files containing the SSH keys known to the
remote hosts ?

If you login (or su) as the Nagios user can you still ssh to the remote
hosts ?

Here are some of the ssh command lines in use here,

command_line    $USER1$/check_by_ssh -t 30 -H $ARG1$ -l $ARG2$
-C '$ARG3$ $ARG4$ $ARG5$ $ARG6$ $ARG7$ $ARG8$ $ARG9$'

command_line    $USER1$/check_by_ssh -t 30 -H $ARG1$ -l $ARG2$
-i /home/nagios/.ssh/smon_identity -C '$ARG3$ $ARG4$'

command_line    $USER1$/check_by_ssh -t 45 -H $HOSTNAME$ -l
nagios -i /home/nagios/.ssh/id_dsa -C 'check_dhcp -l'

Yours sincerely.


-- 
------------------------------------------------------------------------
Stanley Hopcroft
------------------------------------------------------------------------

'...No man is an island, entire of itself; every man is a piece of the
continent, a part of the main. If a clod be washed away by the sea,
Europe is the less, as well as if a promontory were, as well as if a
manor of thy friend's or of thine own were. Any man's death diminishes
me, because I am involved in mankind; and therefore never send to know
for whom the bell tolls; it tolls for thee...'

from Meditation 17, J Donne.


-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/




More information about the Users mailing list