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 <j...@jimavery.me.uk> wrote:
> 2009/9/19 alexus <ale...@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@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
------------------------------------------------------------------------------
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@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