<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.EmailStyle17
{mso-style-type:personal-reply;
color:black;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="2050" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span style='color:black'>Hi Everyone, <o:p></o:p></span></p>
<p class=MsoNormal><span style='color:black'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:black'>I am doing a check of the DHCP
server and when I run the check_dhcp manually, I get a reply that there were no
DHCP OFFERS. <o:p></o:p></span></p>
<p class=MsoNormal><span style='color:black'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:black'>./check_dhcp -s 10.129.177.16 -r
10.129.177.240<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:black'>DHCP problem: No DHCPOFFERs were
received.<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:black'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:black'>But when I look at my server on
the system messages I see the follwing.<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:black'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:black'>Jun 27 12:47:03 co-ops01 dhcpd:
DHCPDISCOVER from 00:14:38:bb:fc:21 via eth0<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:black'>Jun 27 12:47:04 co-ops01 dhcpd:
DHCPOFFER on 10.129.177.240 to 00:14:38:bb:fc:21 via eth0<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:black'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:black'>I don’t see anything on the
Nagios server log..<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:black'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:black'>Any Ideas on what I am doing
wrong. <o:p></o:p></span></p>
<p class=MsoNormal><span style='color:black'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:black'><o:p> </o:p></span></p>
<p class=MsoNormal><b><i><span style='font-size:14.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Luis F. Lacayo<o:p></o:p></span></i></b></p>
<p class=MsoNormal><b><span style='font-size:14.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Chicago Public Schools</span></b><b><span style='font-size:14.0pt;
font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></b></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>OTS / UNIX Administration<o:p></o:p></span></p>
<p class=MsoNormal><b><i><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>lflacayo@cps.k12.il.us<o:p></o:p></span></i></b></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Office: 773-553-3835<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Cell: 773 203-4493<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><img width=76 height=50 id="Picture_x0020_1"
src="cid:image001.png@01C7B8BA.F11A50D0" alt="CPS%20transparent"><o:p></o:p></span></p>
<p class=MsoNormal><span style='color:black'><o:p> </o:p></span></p>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> nagios-users-bounces@lists.sourceforge.net
[mailto:nagios-users-bounces@lists.sourceforge.net] <b>On Behalf Of </b>adi
yesaya<br>
<b>Sent:</b> Tuesday, June 26, 2007 1:12 PM<br>
<b>To:</b> Nagios-users@lists.sourceforge.net<br>
<b>Subject:</b> [Nagios-users] Time-periods Issue<o:p></o:p></span></p>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<div>
<p class=MsoNormal>It's about time periods again,<o:p></o:p></p>
</div>
<div>
<p class=MsoNormal> <o:p></o:p></p>
</div>
<div>
<p class=MsoNormal>It's 20:00 o'clock right now and I defined a time period
like this:<o:p></o:p></p>
</div>
<div>
<p class=MsoNormal> <o:p></o:p></p>
</div>
<div>
<p class=MsoNormal>define timeperiod{<br>
timeperiod_name night<br>
alias
Check at night only<br>
sunday
22:00-23:00<br>
monday
22:00-23:00 <br>
tuesday
22:00-23:00<br>
wednesday
22:00-23:00<br>
thursday
22:00-23:00<br>
friday
22:00-23:00<br>
saturday
22:00-23:00 <br>
}<o:p></o:p></p>
</div>
<div>
<p class=MsoNormal> <o:p></o:p></p>
</div>
<div>
<p class=MsoNormal>using this settings, i restarted Nagios and it schedules all
plug-ins at 22:00 without interleaving them.<o:p></o:p></p>
</div>
<div>
<p class=MsoNormal> <o:p></o:p></p>
</div>
<div>
<p class=MsoNormal>But if i set the timeperiod to:<o:p></o:p></p>
</div>
<div>
<p class=MsoNormal>define timeperiod{<br>
timeperiod_name night<br>
alias
Check at night only<br>
sunday
20:15-21:15<br>
monday
20:15-21:15 <br>
tuesday
20:15-21:15<br>
wednesday
20:15-21:15<br>
thursday
20:15-21:15<br>
friday
20:15-21:15<br>
saturday
20:15-21:15 <br>
}<o:p></o:p></p>
</div>
<div>
<p class=MsoNormal> <o:p></o:p></p>
</div>
<div>
<p class=MsoNormal>and restart nagios, on the web interface I can see
Nagios interleaving all the checks right away.<o:p></o:p></p>
</div>
<div>
<p class=MsoNormal>Why if i schedule it couple hours ahead Nagios doesn't
interleave the chekcs but if i schedule it couple minutes ahead, it interleaves
all the check?<o:p></o:p></p>
</div>
<div>
<p class=MsoNormal> <o:p></o:p></p>
</div>
<div>
<div>
<p class=MsoNormal>these are my configuration:<o:p></o:p></p>
</div>
<div>
<p class=MsoNormal>service_interleave_factor=s<br>
max_service_check_spread=60<br>
service_inter_check_delay_method=s<br>
<o:p></o:p></p>
</div>
</div>
<div>
<p class=MsoNormal> <o:p></o:p></p>
</div>
<div>
<p class=MsoNormal>Regards,<o:p></o:p></p>
</div>
<div>
<p class=MsoNormal>Adi Yesaya<o:p></o:p></p>
</div>
</div>
</body>
</html>