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.<br>
<br>
<div class="gmail_quote">On Sun, Sep 20, 2009 at 6:49 AM, Jim Avery <span dir="ltr"><<a href="mailto:jim@jimavery.me.uk">jim@jimavery.me.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">2009/9/19 alexus <<a href="mailto:alexus@gmail.com">alexus@gmail.com</a>>:<br>
<div class="im">> why this won't work?<br>> i dont get notifications<br>><br>><br>> define service {<br>>        hostgroup_name                  nrpe-disk<br>>        service_description             disk<br>
>        use                             alarm,check<br>>        check_command                   check_nrpe1!check_disk<br>>        register                        1<br>>        }<br>><br>> define command {<br>
>       command_name                             check_nrpe1<br>>       command_line                             $USER1$/check_nrpe -H<br>> $HOSTADDRESS$ -c $ARG1$<br>> }<br><br><br></div>If you are using the standard check_disk plugin, I expect it needs<br>
some options to tell it what the warning and critical thresholds are<br>and which disk you want to check.  Run "check_disk --help" from the<br>command line to see which options are required.<br><br>Do other notifications work okay from your Nagios system, or are you<br>
not getting any at all?  Can you send emails using "/usr/bin/mail"<br>from the command line?<br>
<div>
<div></div>
<div class="h5"><br>------------------------------------------------------------------------------<br>Come build with us! The BlackBerry&reg; Developer Conference in SF, CA<br>is the only developer event you need to attend this year. Jumpstart your<br>
developing skills, take BlackBerry mobile applications to market and stay<br>ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;<br><a href="http://p.sf.net/sfu/devconf" target="_blank">http://p.sf.net/sfu/devconf</a><br>
_______________________________________________<br>Nagios-users mailing list<br><a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>::: Messages without supporting info will risk being sent to /dev/null<br></div></div></blockquote></div><br><br clear="all">
<div></div><br>-- <br>Drex<br>