check_ssh inquiry
Nelson Serafica
ntserafica at yahoo.com
Fri Oct 21 23:02:00 CEST 2005
How can i use ssh on nagios. It always shows:
check_ssh: Port number must be a positive integer - -H
Here is my checkcommands:
# 'check_ssh' command definition
define command{
command_name check_ssh
command_line $USER1$/check_ssh -H
$HOSTADDRESS$ -p $ARG1$
}
Here is my service.cfg:
}
#SSH
define service{
host_name HOST1
service_description SSH
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 3
retry_check_interval 3
contact_groups NOC-admins
notification_interval 60
notification_period 24x7
notification_options d,c,r
check_command check_ssh! -H 192.168.0.8 -t 5
-p 3500
}
Is there something wrong in my config files?
Nelson T. Serafica
GNU/Linux User No. 394081
Upgrading just for the sake of having a newest version is probably silly.
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
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