Problems with check_ping
Marc Powell
marc at ena.com
Thu Aug 3 20:27:23 CEST 2006
Please always respond on list so that others may benefit from your
experience.
Most likely /bin/ping isn't executable by your nagios user. Can you ping
something as nagios?
Why that's the case depends on your OS. Most likely problem is that
/bin/ping isn't suid root. Permissions should look similar to --
-rwsr-xr-x 1 root root 27860 Sep 29 2005 /bin/ping
If not, try 'chmod u+s /bin/ping' then try to ping again.
If you have SELinux enabled, that may be preventing the execution of
ping by nagios. Check /var/log/messages for errors/warnings and or run
audit2allow to check for matches and possible resolutions (audit2allow
-l -i /var/log/messages).
--
Marc
> -----Original Message-----
> From: Rodrigo Maceno [mailto:rodrigo.maceno at gmail.com]
> Sent: Thursday, August 03, 2006 11:44 AM
> To: Marc Powell
> Subject: Re: [Nagios-users] Problems with check_ping
>
> Hello Marc,
> I'm already solved this problem, but now I have the follow problem:
> /bin/ping -n -U -w 10 -c 5 10.2.20.59
> Did you know to say me what is happening??
>
> Thanks...
>
>
>
>
> 2006/8/3, Marc Powell < marc at ena.com <mailto:marc at ena.com> >:
>
>
>
> > -----Original Message-----
> > From: nagios-users-bounces at lists.sourceforge.net
<mailto:nagios-
> users-bounces at lists.sourceforge.net> [mailto:nagios-users-
> > bounces at lists.sourceforge.net] On Behalf Of Rodrigo Maceno
> > Sent: Thursday, August 03, 2006 8:37 AM
> > To: nagios-users at lists.sourceforge.net
> > Subject: [Nagios-users] Problems with check_ping
> >
> > Hello,
> > Can anyone help me about this??
> >
> >
> > check_ping: Invalid hostname/address - $
> >
> >
> > I am running the check_ping over NRPE... Anyone have any idea
> about
> it??
>
> Magic 8 ball says you have a configuration problem.
>
> Verify that you're using the correct $macros$ and that they're
> spelled
> correctly.
>
> Post specific configuration information for specific answers.
>
> --
> Marc
>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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