Ping Service Not Working on Nagios 1.2 / FreeBSD 5.2.1-RELEASE
granny at rakis.net
granny at rakis.net
Mon Apr 5 22:07:06 CEST 2004
Hello,
I've checked the archives and I haven't been able to find anything about
this problem.
I'm trying to run Nagios 1.2 on a FreeBSD 5.2.1-RELEASE box. The main
problem is that Nagios says that it's not able to ping anything, especially
the box that is running Nagios itself. :)
I tried to see if check_ping wasn't working, but it seems to be OK:
bash-2.05b$ ./check_ping -t 300 -H 172.18.3.138 -w 100,20% -c 500,100%
PING OK - Packet loss = 0%, RTA = 0.08 ms
bash-2.05b$
bash-2.05b$ ./check_ping -t 300 -H 172.18.3.138 -w 100,20% -c 500,60%
PING OK - Packet loss = 0%, RTA = 0.09 ms
bash-2.05b$
I can even show you a sample of the config I have:
>From hosts.cfg
define host{
use generic-host
host_name nt1
alias Rachels Laptop
address 172.18.3.138
check_command check-host-alive
max_check_attempts 10
notification_interval 120
notification_period 24x7
notification_options d,u,r
}
>From services.cfg:
define service{
use generic-service ; Name
of service template to use
host_name nt1
service_description PING
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 5
retry_check_interval 1
contact_groups nt-admins
notification_interval 120
notification_period 24x7
notification_options c,r
check_command check_ping!100.0,20%!500.0,60%
}
Does anyone else run Nagios on FreeBSD 5.2.1-RELEASE and has had this
problem?
Thanks.
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
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