Ping alive check thru nagios

Marc Powell marc at ena.com
Mon Oct 11 16:51:00 CEST 2004


You must install the nagios-plugins. They're available via the downloads
page or at http://nagiosplug.sourceforge.net.

Also, please do not post to this list in HTML formatted messages,
especially ones that include advertising loaded off of remote web
servers. It's very rude and for all we know you could be trying to take
advantage of a well publicized image exploit --

<A href="http://clients.rediff.com/signature/track_sig.asp"
target=_blank><IMG 
hspace=0
src="http://ads.rediff.com/RealMedia/ads/adstream_nx.cgi/www.rediffmail.
com/inbox.htm at Bottom" 
border=0 NOSEND="1"></A> </BODY></HTML>

--
Marc

________________________________

From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Pankaj
Bafana
Sent: Monday, October 11, 2004 7:07 AM
To: Hendrik B
Cc: nagios-users at lists.sourceforge.net
Subject: Re: Re: [Nagios-users] Ping alive check thru nagios




Some how /usr/local/nagios/libexec  directory is missing in my
installation.
What I need to do now reinstall nagios ??

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




 <http://clients.rediff.com/signature/track_sig.asp>  



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
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