<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Message</TITLE>
<META content="MSHTML 5.00.2919.6307" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=026582804-17022005>Hi. Ive only just
started to use nagios and so far it has been a great system. Ive configured a
plugin check_rrd_data to check rrds created by cacti. This seems to be working
well but if a service goes to critical it never returns. For example server x
cpu0 util goes to 99.9999 for a few minutes I get a critical showing in the gui
and an email. This is exactly what I would expect</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=026582804-17022005>server
x
Down
Date duration message CPU Util
CRITICAL: 99.9999 </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=026582804-17022005>however when it
comes back on line I get the same except the message will show a good value such
as CPU OK: 25.99 but the gui shows the host as still down.
</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=026582804-17022005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=026582804-17022005>I think this shows
that the plugin is working but I may have screwed up the server config or the
service config.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=026582804-17022005>This behaviour
exists if a server is non contactable as well and shows the same behaviour in
the host detail cgi</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=026582804-17022005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=026582804-17022005>Service config for
the example (sanitised)</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=026582804-17022005>define
service{<BR>
use
generic-service<BR>
host_name
problem_server <BR>
service_description CPU0
Utilization<BR>
check_command check_rrd_data!$USER3$/grandma_cpudpc_71.rrd
!cpuProcessor!50!70!CPU<BR>
}</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=026582804-17022005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=026582804-17022005>Generic service
def</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=026582804-17022005>define
service{<BR>
name
generic-service<BR>
active_checks_enabled
1 ; Active service checks are
enabled<BR>
passive_checks_enabled 1 ;
Passive service checks are
enabled/accepted<BR>
parallelize_check
1 ; Active service checks should be
parallelized<BR>
obsess_over_service
1 ; We should obsess over this service (if
necessary)<BR>
check_freshness
0 ; Default is to NOT check service
'freshness'<BR>
check_period
24x7<BR>
notifications_enabled
1 ; Service notifications are
enabled<BR>
event_handler_enabled
1 ; Service event handler is
enabled<BR>
flap_detection_enabled 1 ;
Flap detection is enabled<BR>
process_perf_data
1 ; Process performance data<BR>
retain_status_information 1 ; Retain status
information across program
restarts<BR>
retain_nonstatus_information 1 ; Retain non-status information
across program restarts<BR>
max_check_attempts
3 ; Number of times ito check before sending an
alert.<BR>
normal_check_interval
5 ; Check the service every 5 mins<BR>
retry_check_interval
1 ; Time to wait before scheduling a re-check of a
service<BR>
notification_interval
5 ; The number of "time units" to wait before re-notifying a contact that this
service is still in a non-OK state.Time units are
minutes<BR>
notification_period
24x7<BR>
notifications_enabled
1 ; Enable notifications<BR>
contact_groups
Win32-Admins<BR>
register
0<BR> }<BR></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=026582804-17022005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=026582804-17022005>host
def</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=026582804-17022005>define
host{<BR>
host_name problem_server <BR>
alias
problem_server <BR>
address <A
href="http://www.xxx.yyy">www.xxx.yyy</A>.zzz<BR>
use
generic-win32<BR>
parents
vLan3,vLan4<BR>
}<BR></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=026582804-17022005>generic host
def</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=026582804-17022005>define
host{<BR>
name
generic-win32<BR>
check_command
check_http<BR>
max_check_attempts
5<BR>
process_perf_data 0<BR>
retain_nonstatus_information 0<BR>
notification_interval 30<BR>
notification_period
24x7<BR>
notification_options
d,u,r</SPAN></FONT><FONT face=Arial size=2><SPAN
class=026582804-17022005><BR>
contact_groups
Win32-Admins<BR>
notifications_enabled
1 ; Host notifications are
enabled<BR>
event_handler_enabled
1 ; Host event handler is
enabled<BR>
flap_detection_enabled
1 ; Flap detection is
enabled<BR>
process_perf_data
1 ; Process performance
data<BR>
retain_status_information
1 ; Retain status information across program
restarts<BR>
retain_nonstatus_information
1 ; Retain non-status information across
program restarts<BR>
register
0 ; DONT REGISTER THIS DEFINITION - ITS NOT
A REAL HOST, JUST A TEMPLATE!<BR>
}</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=026582804-17022005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=026582804-17022005>Ive probably screwed
up a definition somewhere as I have been mucking around a bit to try different
config layouts. We have quite a few servers and gear to montior
</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=026582804-17022005>Any help would be
greatly apreciated.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=026582804-17022005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=026582804-17022005>thanks in
advance</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=026582804-17022005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=026582804-17022005>Brett
Stevens</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=026582804-17022005><BR> </DIV></SPAN></FONT></BODY></HTML>