Antwort: [Nagios-users] Issue with Check_ssh

2006-03-20 Thread srunschke

[EMAIL PROTECTED] schrieb am
20.03.2006 16:01:10:

 I am using check_ssh to check if the ssh is runing on some hosts.

 On a number of hosts the check is running ok, on others I am

 getting check_ssh: Could not parse arguments. I can log on using

 ssh that are giving me the parsing error. 
 Can any one help me to resolve this nagios error?

Well, maybe we could - but not if you do not provide
us with
the configs of the service in question. It seems obvious
that
you are passing wrong arguments to check_ssh - at
least that's
what it says. Else there isn't much to guess without
major
interferences with my mystic crystalball.

regards
sash

--
Sascha Runschke
Netzwerk Administration
IT-Services

ABIT AG
Robert-Bosch-Str. 1
40668 Meerbusch

Tel.:+49 (0) 2150.9153.226
Mobil:+49 (0) 173.5419665
mailto:[EMAIL PROTECTED]

http://www.abit.net
http://www.abit-epos.net
-
Sicherheitshinweis zur E-Mail Kommunikation /
 Security note regarding email communication:
http://www.abit.net/sicherheitshinweis.html


Re: Antwort: [Nagios-users] Issue with Check_ssh

2006-03-20 Thread Gordon Stewart
List

The command line I am having the trouble with is  

define command{
command_namecheck_ssh
command_line$USER1$/check_ssh -t 10 -p 99 $HOSTADDRESS$
}

As I said it works with some hosts but not all hosts.

Thanks

Gordon

 
 From: [EMAIL PROTECTED]
 Date: 2006/03/20 Mon PM 03:09:16 GMT
 To: nagios-users@lists.sourceforge.net
 Subject: Antwort: [Nagios-users] Issue with Check_ssh
 
 [EMAIL PROTECTED] schrieb am 20.03.2006 16:01:10:
 
  I am using check_ssh to check if the ssh is runing on some hosts. 
  On a number of hosts the check is running ok, on others  I am 
  getting check_ssh: Could not parse arguments.  I can log on using 
  ssh that are giving me the parsing error. 
  Can any one help me to resolve this nagios error?
 
 Well, maybe we could - but not if you do not provide us with
 the configs of the service in question. It seems obvious that
 you are passing wrong arguments to check_ssh - at least that's
 what it says. Else there isn't much to guess without major
 interferences with my mystic crystalball.
 
 regards
 sash
 
 --
 Sascha Runschke
 Netzwerk Administration
 IT-Services
 
 ABIT AG
 Robert-Bosch-Str. 1
 40668 Meerbusch
 
 Tel.:+49 (0) 2150.9153.226
 Mobil:+49 (0) 173.5419665
 mailto:[EMAIL PROTECTED]
 
 http://www.abit.net
 http://www.abit-epos.net
 -
 Sicherheitshinweis zur E-Mail Kommunikation /
   Security note regarding email communication:
 http://www.abit.net/sicherheitshinweis.html
 
 




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
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


Antwort: Re: Antwort: [Nagios-users] Issue with Check_ssh

2006-03-20 Thread srunschke

Gordon Stewart [EMAIL PROTECTED] schrieb am
20.03.2006 16:23:22:

 The command line I am having the trouble with is 
 
 define command{
 command_name  check_ssh
 command_line  $USER1$/check_ssh
-t 10 -p 99 $HOSTADDRESS$
 }
 
 As I said it works with some hosts but not all hosts.

Well, then you would do good posting the other relevant
info too,
like the service definition and the host definition.
It seems like
$HOSTADDRESS$ sometimes returns something wrong, maybe
you mixed up
hostaddress and hostalias in a few host definitions?

regards
sash

--
Sascha Runschke
Netzwerk Administration
IT-Services

ABIT AG
Robert-Bosch-Str. 1
40668 Meerbusch

Tel.:+49 (0) 2150.9153.226
Mobil:+49 (0) 173.5419665
mailto:[EMAIL PROTECTED]

http://www.abit.net
http://www.abit-epos.net
-
Sicherheitshinweis zur E-Mail Kommunikation /
 Security note regarding email communication:
http://www.abit.net/sicherheitshinweis.html