> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
> Sent: Friday, September 22, 2006 11:43 AM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] (no subject)
> 
> I've just installed nagios for the first time.
> I have a problem with localhost. It says that localhost is down.
> 
> In error log i have something like that.
> [1158925659] HOST ALERT: localhost;DOWN;SOFT;1;/bin/ping -n -U -w 10
-c 1
> 127.0.0.1
> 
> I've checked with check_ping from libexec to see if it's ok and it
works.
> What could be the problem?

As a guess I would say that /bin/ping is not executable as the nagios
user. Try it as you see it above. If you can't run it, 'chmod u+s
/bin/ping'

--
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@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

Reply via email to