service error?

Francis Dube nagios at optiksecurite.com
Wed Oct 15 19:20:18 CEST 2008


jeremiah a écrit :
> Any thoughts on these errors? I'm stumped.
>
> Checking services...
>
> Error: Service check command 'check_ssh' specified in service 'SSH' for
> host 'server1' not defined anywhere!
> Error: Service check command 'check_ssh' specified in service 'SSH' for
> host 'server2' not defined anywhere!
>
> Services page looks like this..
>
> define service{
>         use                             generic-service         
>         hostgroup_name                  ssh_servers
>         service_description             SSH
>         is_volatile                     0
>         check_period                    24x7
>         max_check_attempts              3
>         normal_check_interval           3
>         retry_check_interval            1
>         contact_groups                  admins
>         notification_interval           30
>         notification_period             24x7
>         notification_options            w,u,c,r
>         check_command                   check_ssh
>         }
>
> Thanks!
>
>
>
> Disclaimer: The information contained in this transmission, including any 
> attachments, may contain confidential information of Panasonic Avionics
> Corporation.  This transmission is intended only for the use of the 
> addressee(s) listed above.  Unauthorized review, dissemination or other use 
> of the information contained in this transmission is strictly prohibited. 
> If you have received this transmission in error or have reason to believe 
> you are not authorized to receive it, please notify the sender by return 
> email and promptly delete the transmission.
>
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> 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
>   
You need to define this command in your command.cfg file. A check_ssh 
command usually looks like this :

# 'check_ssh' command definition
define command{
        command_name    check_ssh
        command_line    $USER1$/check_ssh -H $HOSTADDRESS$
        }


Francis Dube
R&D - Optik Securite
www.optiksecurite.com


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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