notifications

Drex devans3428 at gmail.com
Mon Sep 21 04:34:41 CEST 2009


Increase your nagios logging to include at least notifications, verify that
notifications are at least trying to be sent out.   If you see the mail
notification in your nagios.log, you should be able to run the exact command
via command line.  Also to verify you check_nrpe1 command run the exact
command from command line.   If there are syntax errors, you should see them
via command line.

On Sun, Sep 20, 2009 at 6:49 AM, Jim Avery <jim at jimavery.me.uk> wrote:

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



-- 
Drex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090920/faac06d5/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
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
-------------- next part --------------
_______________________________________________
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