notifications

Jim Avery jim at jimavery.me.uk
Sun Sep 20 13:49:07 CEST 2009


2009/9/19 alexus <alexus at gmail.com>:
> why this won't work?
> i dont get notifications
>
>
> define service {
>        hostgroup_name                  nrpe-disk
>        service_description             disk
>        use                             alarm,check
>        check_command                   check_nrpe1!check_disk
>        register                        1
>        }
>
> define command {
>       command_name                             check_nrpe1
>       command_line                             $USER1$/check_nrpe -H
> $HOSTADDRESS$ -c $ARG1$
> }


If you are using the standard check_disk plugin, I expect it needs
some options to tell it what the warning and critical thresholds are
and which disk you want to check.  Run "check_disk --help" from the
command line to see which options are required.

Do other notifications work okay from your Nagios system, or are you
not getting any at all?  Can you send emails using "/usr/bin/mail"
from the command line?

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
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