Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 127669 - net-analyzer/nagios-core-2.0 and timeperiod in counries with monday as first day of week
Summary: net-analyzer/nagios-core-2.0 and timeperiod in counries with monday as first ...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Lance Albertson (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-26 13:38 UTC by Petr Lanc
Modified: 2006-03-26 14:10 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Lanc 2006-03-26 13:38:35 UTC
Hi,

I install nagios-2.0 on my gentoo box and I want to define timeperiod like this:

define timeperiod{
        timeperiod_name somename
        alias           Monday 10:00 - 13:00
        monday          12:00-13:00
        }

When I reload nagios configuration, service state information say, that next check will be on tuesday 12:00. I try change monday in timeperiod to tuesday, and again, after reload nagios say, next check will be on wednesday, one day in the future.

My box have set CE(S)T Central Europe Time zone. All locales, but LC_CTYPE are set to 'POSIX', LC_CTYPE is 'cs_CZ'.

LANG=
LC_CTYPE=cs_CZ
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=

/etc/localtime -> /usr/share/zoneinfo/Europe/Prague

[ Searching for package 'nagios' in all categories among: ]
 * installed packages
[I--] [  ] net-analyzer/nagios-2.0 (0)
[I--] [  ] net-analyzer/nagios-core-2.0 (0)
[I--] [  ] net-analyzer/nagios-imagepack-1.0 (0)
[I--] [  ] net-analyzer/nagios-nrpe-2.0-r1 (0)
[I--] [  ] net-analyzer/nagios-nsca-2.4 (0)
[I--] [  ] net-analyzer/nagios-plugins-1.4.2 (0)

Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 1.70GHz
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -funroll-loops -mfpmath=sse -msse -msse2 -mmmx -fomit-frame-pointer -fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -funroll-loops -mfpmath=sse -msse -msse2 -mmmx -fomit-frame-pointer -fprefetch-loop-arrays -pipe"
DISTDIR="/gentoo/distfiles-cache/distfiles/"
FEATURES="autoconfig ccache distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ http://mirror.switch.ch/mirror/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/home/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /gentoo/portage"
SYNC="rsync://drak.ab.czso.cz/gentoo-portage"
USE="x86 acl apache2 apm arts avi berkdb bitmap-fonts bzip2 cdr crypt cups curl dri eds emboss encode ethereal expat foomaticdb fortran gd gdbm gif gpm gstreamer imlib jpeg libg++ libwww mad maildir mhash mikmod motif mp3 mpeg ncurses nls nptl nptlonly ogg oggvorbis opengl oss pam pcre pdflib perl php png python quicktime readline recode samba sdl slang ssl svga tcpd threads tiff truetype truetype-fonts type1-fonts udev usb userlocales vorbis xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Petr Lanc 2006-03-26 14:10:22 UTC
I'am sorry, now it works good and I cannot say why. I'am not able to reproduce this behavior for this moment. I'am shamed for this and mark this bug as INVALID. Sorry