<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1458" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=297091920-24092004>I've
attached a couple of pictures to help illistrate this
problem.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=297091920-24092004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=297091920-24092004>I
setup a basic check_nrpe as the parent depedancy for all the services it's used
to check, but when a machine goes down, everything but, NRPE goes red.
It's amost like something is setup backwards, and I'm not sure what it would
be. As you can see from the picture the NRPE service's "Satus Data Age" is
over 19 minuts. This is after the machine had been down for about 20
minuts, and I had gotten notifications about all the services being down.
Here's what my congiuration for this machine looks like:</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=297091920-24092004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=297091920-24092004>##
Fedora ##<BR>define host{<BR>
use
generic-unix-host<BR>
host_name
fedora<BR>
alias
Fedora<BR>
address
10.128.52.226<BR>
check_command
check-host-alive<BR>
}</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=297091920-24092004>define
service{<BR>
use
generic-unix-service<BR>
host_name
fedora<BR>
service_description
PING<BR>
check_command
check_ping!100.0,20%!500.0,60%<BR>
}<BR>define servicedependency{<BR>
use
generic-service-deps<BR>
name
fedora-service-deps<BR>
host_name
fedora<BR>
dependent_host_name
fedora<BR>
register
0<BR> }</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=297091920-24092004>define
service{<BR>
use
generic-unix-service<BR>
host_name
fedora<BR>
service_description
USERS<BR>
check_command
check_nrpe!check_users<BR>
}</SPAN></FONT><FONT face=Arial color=#0000ff size=2><SPAN
class=297091920-24092004><BR>define
servicedependency{<BR>
use
fedora-service-deps<BR>
service_description
USERS<BR> }</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=297091920-24092004>define
service{<BR>
use
generic-unix-service<BR>
host_name
fedora<BR>
service_description
LOAD<BR>
check_command
check_nrpe!check_load<BR> }<BR>define
servicedependency{<BR>
use
fedora-service-deps<BR>
service_description
LOAD<BR> }</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=297091920-24092004>define
service{<BR>
use
generic-unix-service<BR>
host_name
fedora<BR>
service_description
NRPE<BR>
check_command
check_nrpe_up<BR> }<BR>define
servicedependency{<BR>
use
fedora-service-deps<BR>
service_description
NRPE<BR> }<BR>define
servicedependency{<BR>
use
generic-service-deps<BR>
name
fedora-nrpe-service-deps<BR>
dependent_service_description
NRPE<BR>
host_name
fedora<BR>
dependent_host_name
fedora</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=297091920-24092004>
register
0<BR> }</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=297091920-24092004>define
service{<BR>
use
generic-unix-service<BR>
host_name
fedora<BR>
service_description
DISK-root<BR>
check_command
check_nrpe!check_disk1<BR> }<BR>define
servicedependency{<BR>
use
fedora-nrpe-service-deps<BR>
service_description
DISK-root<BR> }</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=297091920-24092004>define
service{<BR>
use
generic-unix-service<BR>
host_name
fedora<BR>
service_description
DISK-boot<BR>
check_command
check_nrpe!check_disk2<BR> }<BR>define
servicedependency{<BR>
use
fedora-nrpe-service-deps<BR>
service_description
DISK-boot<BR> }</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=297091920-24092004>define
service{<BR>
use
generic-unix-service<BR>
host_name
fedora<BR>
service_description
DISK-home<BR>
check_command
check_nrpe!check_disk3<BR> }<BR>define
servicedependency{<BR>
use
fedora-nrpe-service-deps<BR>
service_description
DISK-home<BR> }</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=297091920-24092004>define
service{<BR>
use
generic-unix-service<BR>
host_name
fedora<BR>
service_description
DISK-tmp<BR>
check_command
check_nrpe!check_disk4<BR> }<BR>define
servicedependency{<BR>
use
fedora-nrpe-service-deps<BR>
service_description
DISK-tmp<BR> }</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=297091920-24092004>define
service{<BR>
use
generic-unix-service<BR>
host_name
fedora<BR>
service_description
DISK-usr<BR>
check_command
check_nrpe!check_disk5<BR> }<BR>define
servicedependency{<BR>
use
fedora-nrpe-service-deps<BR>
service_description
DISK-usr<BR> }</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=297091920-24092004>define
service{<BR>
use
generic-unix-service<BR>
host_name
fedora<BR>
service_description
DISK-var<BR>
check_command
check_nrpe!check_disk6<BR> }<BR>define
servicedependency{<BR>
use
fedora-nrpe-service-deps<BR>
service_description
DISK-var<BR> }</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=297091920-24092004>define
service{<BR>
use
generic-unix-service<BR>
host_name
fedora<BR>
service_description
DISK-var-log<BR>
check_command
check_nrpe!check_disk7<BR> }<BR>define
servicedependency{<BR>
use
fedora-nrpe-service-deps<BR>
service_description
DISK-var-log<BR> }</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=297091920-24092004>define
service{<BR>
use
generic-unix-service<BR>
host_name
fedora<BR>
service_description
DISK-var-tmp<BR>
check_command
check_nrpe!check_disk8<BR> }<BR>define
servicedependency{<BR>
use
fedora-nrpe-service-deps<BR>
service_description
DISK-var-tmp<BR> }</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2>define
service{<BR>
use
generic-unix-service<BR>
host_name
fedora<BR>
service_description
ZOMBIES<BR>
check_command
check_nrpe!check_zombie_procs<BR>
}<BR>define servicedependency{<BR>
use
fedora-nrpe-service-deps<BR>
service_description
ZOMBIES<BR> }</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2>define
service{<BR>
use
generic-unix-service<BR>
host_name
fedora<BR>
service_description
PROCS<BR>
check_command
check_nrpe!check_total_procs<BR>
}<BR>define servicedependency{<BR>
use
fedora-nrpe-service-deps<BR>
service_description
PROCS<BR> }</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2>define
service{<BR>
use
generic-unix-service<BR>
host_name
fedora<BR>
service_description
PROC-max-xinetd<BR>
check_command
check_nrpe!check_proc_max_xinetd<BR>
}<BR>define servicedependency{<BR>
use
fedora-nrpe-service-deps<BR>
service_description
PROC-max-xinetd<BR> }</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2>define
service{<BR>
use
generic-unix-service<BR>
host_name
fedora<BR>
service_description
PROC-min-xinetd<BR>
check_command
check_nrpe!check_proc_min_xinetd<BR>
}<BR>define servicedependency{<BR>
use
fedora-nrpe-service-deps<BR>
service_description
PROC-min-xinetd<BR> }</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2>define
service{<BR>
use
generic-unix-service<BR>
host_name
fedora<BR>
service_description
ROOT-mail<BR>
check_command
check_nrpe!check_rootmail<BR>
}<BR>define servicedependency{<BR>
use
fedora-nrpe-service-deps<BR>
service_description
ROOT-mail<BR> }</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2>define
service{<BR>
use
generic-unix-service<BR>
host_name
fedora<BR>
max_check_attempts
1<BR>
notification_options
w,u,c<BR>
service_description
LOG-warning<BR>
check_command
check_nrpe!check_log_warning<BR>
}<BR>define servicedependency{<BR>
use
fedora-nrpe-service-deps<BR>
service_description
LOG-warning<BR> }</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2>define
service{<BR>
use
generic-unix-service<BR>
host_name
fedora<BR>
max_check_attempts
1<BR>
notification_options
w,u,c<BR>
service_description
LOG-notice<BR>
check_command
check_nrpe!check_log_notice<BR>
}<BR>define servicedependency{<BR>
use
fedora-nrpe-service-deps<BR>
service_description
LOG-notice<BR> }</FONT><FONT
face=Arial color=#0000ff size=2><SPAN
class=297091920-24092004></DIV></SPAN></FONT></BODY></HTML>
<BR>
<BR>
<P><FONT SIZE=2 FACE="Arial">This e-mail, including attachments, may include confidential and/or proprietary information, and may be used only by the person or entity to which it is addressed. If the reader of this e-mail is not the intended recipient or his or her authorized agent, the reader is hereby notified that any dissemination, distribution or copying of this e-mail is prohibited. If you have received this e-mail in error, please notify the sender by replying to this message and delete this e-mail immediately.</FONT></P>
<P><FONT SIZE=2 FACE="Arial"> </FONT> </P>
<P>"Secure Server" made the following<br>
annotations on 09/24/2004 03:59:10 PM<br>
------------------------------"This e-mail, including attachments, may include confidential and/or proprietary information, and may be used only by the person or entity to which it is addressed. If the reader of this e-mail is not the intended recipient or his or her authorized agent, the reader is hereby notified that any dissemination, distribution or copying of this e-mail is prohibited. If you have received this e-mail in error, please notify the sender by replying to this message and delete this e-mail immediately."<br>
==============================</P>