notifications
Marc Powell
marc at ena.com
Thu Sep 24 18:19:11 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$
> }
>
You don't have notifications configured properly.
Seriously though, this is not enough information to provide even a
guess what you've done wrong. There are many more variables than what
you've detailed here and nothing you've provided says anything about
your notification configuration. For starters, do you have the correct
notification options for the service? For the contact? Is the
timeperiod valid for both? Is the service reaching an alertable, HARD
state?
If you want help with this, post the following--
*From objects.cache* --
host definition
service definition
contactgroup definition
contact definition
the service notification command{} definition for the contact
all referenced timeperiod definitions
From nagios.log --
all entries related to this host or service around the time you expect
a notification to be sent.
From maillog --
any entries related to messages for the contact
Also, verify in the web interface that notifications are enabled for
the host and service and that it is not in a period of scheduled
downtime.
--
Marc
------------------------------------------------------------------------------
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