check_dhcp question...

Lacayo, Luis F lflacayo at cps.k12.il.us
Wed Jun 27 20:40:55 CEST 2007


Hi Everyone, 

 

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. 

 

./check_dhcp -s 10.129.177.16 -r 10.129.177.240

DHCP problem: No DHCPOFFERs were received.

 

But when I look at my server on the system messages I see the follwing.

 

Jun 27 12:47:03 co-ops01 dhcpd: DHCPDISCOVER from 00:14:38:bb:fc:21 via
eth0

Jun 27 12:47:04 co-ops01 dhcpd: DHCPOFFER on 10.129.177.240 to
00:14:38:bb:fc:21 via eth0

 

I don't see anything on the Nagios server log..

 

Any Ideas on what I am doing wrong. 

 

 

Luis F. Lacayo

Chicago Public Schools

OTS / UNIX Administration

lflacayo at cps.k12.il.us

Office: 773-553-3835

Cell: 773 203-4493

 

 

 

From: nagios-users-bounces at lists.sourceforge.net
[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of adi
yesaya
Sent: Tuesday, June 26, 2007 1:12 PM
To: Nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Time-periods Issue

 

It's about time periods again,

 

It's 20:00 o'clock right now and I defined a time period like this:

 

define timeperiod{
        timeperiod_name         night
        alias                           Check at night only
        sunday                       22:00-23:00
        monday                      22:00-23:00 
        tuesday                      22:00-23:00
        wednesday                 22:00-23:00
        thursday                     22:00-23:00
        friday                          22:00-23:00
        saturday                     22:00-23:00 
        }

 

using this settings, i restarted Nagios and it schedules all plug-ins at
22:00 without interleaving them.

 

But if i set the timeperiod to:

define timeperiod{
        timeperiod_name         night
        alias                          Check at night only
        sunday                       20:15-21:15
        monday                      20:15-21:15 
        tuesday                      20:15-21:15
        wednesday                 20:15-21:15
        thursday                     20:15-21:15
        friday                          20:15-21:15
        saturday                     20:15-21:15 
        }

 

and restart nagios, on the web interface I can see Nagios interleaving
all the checks right away.

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?

 

these are my configuration:

service_interleave_factor=s
max_service_check_spread=60
service_inter_check_delay_method=s
 

 

Regards,

Adi Yesaya

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070627/78c17b9e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 3126 bytes
Desc: image001.png
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070627/78c17b9e/attachment.png>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
-------------- next part --------------
_______________________________________________
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