check_http

James Pratt jpratt at norwich.edu
Wed Jul 23 04:53:44 CEST 2008


> -----Original Message-----
> From: Thierry Granier [mailto:th.granier at free.fr]
> Sent: Tuesday, July 22, 2008 9:27 PM
> To: James Pratt
> Subject: Re: [Nagios-users] check_http
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> > Many thanks but:

> 1) on nagios.org or .com i don't find the sources
> 2) where is "notification options" (in which file?)
> Many thanks
> 

On the main page, on the left, there is a link called downloads. Sources
are there.

Notification_options are probably setup either in your nagios
configuration's service template file , or within the service definition
itself. 


These files are usually located in /usr/local/nagios/etc, or
/usr/local/nagios/etc/objects (3.x)

i.e this service definition monitors for the windows service named
"VMWare converter service" - see notification_options. (or just skip
pulling out your hair and rtfm?) ;)


define service{
        use                             generic-service         ; Name
of service template to use
        host_name                       srv099
        service_description             VMware Converter Service
        check_period                    24x7
        max_check_attempts              5
        check_interval                  5
        contact_groups                  me
        notification_interval           60
        notification_period             24x7
        notification_options            w,u,c,r
        check_command                   check_snmp_win!"VMware Converter
Service"
        }


http://www.nagios.org/docs/

Regards,
jamie

-------------------------------------------------------------------------
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