<P>
  <BR>
Some how /usr/local/nagios/libexec   directory is missing in my installation.<BR>
What I need to do now reinstall nagios ??<BR>
<BR>
On Mon, 11 Oct 2004 Hendrik B wrote :<BR>
>Guten Tag Pankaj Bafana,<BR>
><BR>
>am Sonntag, 10. Oktober 2004 um 19:28 schrieben Sie:<BR>
><BR>
>PB><BR>
>PB> Does nagios requires any plugin to check simple ping host alive.<BR>
>PB> I am new to nagios just got nagios installed with web interface up.<BR>
>PB> It shows "Return code of 127 is out of bounds - plugin may be missing"<BR>
><BR>
>PB> Pankaj<BR>
><BR>
><BR>
><BR>
><BR>
>Hi and welcome to Nagios,<BR>
><BR>
>you have to define a check command in your services.cfg and in your<BR>
>checkcommands.cfg.<BR>
><BR>
>#checkcommands.cfg<BR>
># 'check_ping' command definition<BR>
>define command{<BR>
>         command_name    check_ping<BR>
>         command_line    /usr/local/nagios/libexec/check_ping -H $HOSTADDRESS$ -w 10:20% -c 60:100%<BR>
>         }<BR>
><BR>
>#services.cfg<BR>
>#'TEST' host definitions<BR>
>define service{<BR>
>         host_name       TEST<BR>
>         service_description     PING<BR>
>         is_volatile     0<BR>
>         check_period    24x7<BR>
>         check_command   check_ping<BR>
>         max_check_attempts      4<BR>
>         notification_interval   3600<BR>
>         notification_period     24x7<BR>
>         obsess_over_service     1<BR>
>         notifications_enabled   1<BR>
>         notification_options    r,c<BR>
>         normal_check_interval   600<BR>
>         retry_check_interval    1<BR>
>         contact_groups  admin<BR>
>         }<BR>
><BR>
>just have a look at the realy good documentation!<BR>
><BR>
>The checkcommand 'check_ping' fires up a plugin stored in<BR>
>/usr/local/nagios/libexec/check_plugin, the special about this<BR>
>plugins is, that they returns values between -1 and 2 (i think) which<BR>
>stands for UNKNOWN, CRITICAL, WARNING and OK. These Return-Codes are<BR>
>"readable" by the Nagios Process.<BR>
><BR>
>Hope this helps a little.<BR>
><BR>
>Best regards,<BR>
>Hendrik<BR>
><BR>

</P>
<br><br>
<A target="_blank" HREF="http://clients.rediff.com/signature/track_sig.asp"><IMG SRC="http://ads.rediff.com/RealMedia/ads/adstream_nx.cgi/www.rediffmail.com/inbox.htm@Bottom" BORDER=0 VSPACE=0 HSPACE=0></a>