normal_check_interval in second ?

J. Bakshi joydeep at infoservices.in
Thu Nov 5 11:35:32 CET 2009


Hello,

I have defined  normal_check_interval for some specific monitoring like
ssh, ftp etc...  How can I define the interval in seconds ? The setting
I have below

``````````````````````
define service{
   name           myservice     ; The name of this service template
   use            generic-service      ; Inherit default values from the
generic-service definition
        check_period                    24x7       ; The service can be
checked at any time of the day
        max_check_attempts              4       ; Re-check the service
up to 4 times in order to determine it>
        normal_check_interval           1       ; Check the service
every 5 minutes under normal conditions
        retry_check_interval            1       ; Re-check the service
every minute until a hard state can be>
        contact_groups                  admins,others        ;
Notifications get sent out to everyone in the 'admins>
       notification_options    w,u,c,r        ; Send notifications about
warning, unknown, critical, and recovery>
        notification_interval           60         ; Re-notify about
service problems every hour
        notification_period             24x7       ; Notifications can
be sent out at any time
        register                        0             ; DONT REGISTER
THIS DEFINITION - ITS NOT A REAL SERVIC>
   }

define service{
   use                       myservice
   host_name                 server
   service_description       SSH
   check_command            check_nrpe!60650!check_SSH -t 30
   }

define service{
   use                      myservice
   host_name                server
   service_description      FTP
   check_command            check_nrpe!60650!check_FTP -t 30
   normal_check_interval    30s
    }





------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
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