No Output
Williard, Jason
Jason.Williard at chartercom.com
Tue Jun 27 00:02:36 CEST 2006
HOSTS.CFG ENTRY
----------------
define host{
use generic-hos
host_name 22xx-WOR-905
alias WOR 905 Tunnel 1
address 172.29.xxx.xxx
parents KWA-Core-7206,MOR-7206
check_command check-host-alive
max_check_attempts 10
notification_interval 60
notification_period 24x7
notification_options d,u,r
contact_groups field-admins
}
CHECKCOMMANDS.CFG ENTRY
------------------------
define command{
command_name check-host-alive
command_line $USER1$/check_ping -H $HOSTADDRESS$ -w
3000.0,80% -c 5000.0,100% -p 1
}
TEST RUN
---------
[root at web nagios]# /usr/lib/nagios/plugins/check_ping -H 172.29.xxx.xxx
-w 3000.0,80% -c 5000.0,100% -p 1
CRITICAL - Plugin timed out after 10 seconds
Thanks,
Jason Williard
> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Williard, Jason
> Sent: Monday, June 26, 2006 3:59 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] No Output
>
> I just upgraded our monitoring system from Nagios 1.2 to 2.4. After
> doing this, I've noticed that hosts are now showing as Unreachable
> rather than Down when they are not pingable. For each of these hosts,
I
> see UNREACHABLE for the Host Status and "(No output!)" for Status
> Information.
>
> I am assuming the check-host-alive command is working as this is only
> the case for 2 out of 144 hosts. Does anyone know why I do not see
DOWN
> for the Status and the output of the command for the Status
Information?
It looks like your host check command is failing. Basic troubleshooting
--
Verify that you're using the correct, possibly updated, macros in your
host check_command. Try running that command from the shell as the
nagios user exactly as you have it defined (substituting in appropriate
values for the macros). I expect that you'll see an error.
Beyond that, show us your host definition, check command definition and
a test run.
--
Marc
E-MAIL CONFIDENTIALITY NOTICE:
The contents of this e-mail message and
any attachments are intended solely for the
addressee(s) and may contain confidential
and/or legally privileged information. If you
are not the intended recipient of this message
or if this message has been addressed to you
in error, please immediately alert the sender
by reply e-mail and then delete this message
and any attachments. If you are not the
intended recipient, you are notified that
any use, dissemination, distribution, copying,
or storage of this message or any attachment
is strictly prohibited.
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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