repo.or.cz
/
nagios-reports-module.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
showlog: Get rid of EVT_INITIAL
2010-08-24
And
r
eas E
r
icsson
showlog: Get rid
o
f EVT
_
INITIAL
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-07-06
Andreas Erics
s
o
n
c
fg
f
ile: Squ
e
lch the last compiler warning
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-07-06
Andreas Ericss
o
n
apps: Silence
some compiler warnings on 64-bit ar
c
hs
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-07-06
Andreas
Ericsson
Makef
i
le:
Update build depen
d
encies for te
s
t-lparse
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-07-06
Andreas Ericss
o
n
Make the lpars
e
a
p
i large-file aware
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-07-06
A
n
dreas
E
ric
s
so
n
import: Ma
k
e progress reporting
a
bit less c
r
azy
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-07-05
Andreas Ericsson
Support la
r
ge
f
il
e
s on 32bit systems
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-07-05
Andreas Eri
c
sson
All
o
w
l
azily con
n
ec
t
ing to the
database
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-07-05
Andrea
s
Ericsson
Makef
i
le: Add target to
r
u
n sql
-
de
p
endant tests
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-07-05
A
n
dr
e
a
s
Ericsso
n
nebtest: M
a
k
e testing us
i
n
g
a
n
sql
d
a
t
a
b
ase
o
ptional
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-06-17
An
d
re
a
s Ericsson
showlog: Use loc
a
ltim
e
() i
n
stead o
f
gmtime()
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-24
And
r
eas
Ericsson
showlog:
D
o
n
't
ma
n
gle the ltime variable
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-17
Andrea
s
Ericss
o
n
showlog: Use uint64_t for ltime_ske
w
s, s
k
ip
a
nd li
m
i
t
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-17
Andreas Ericsson
showlog: Sh
o
w
ltime skews as per
c
enta
g
e
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-05
A
n
dre
a
s Er
i
csson
import
:
Don't enable i
n
de
x
es un
l
ess
we've di
s
abled
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-05
And
r
eas Ericsson
i
m
port: Don't bother enabling indexes if w
e
're
mo
r
e
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-05
A
ndre
a
s
E
ricsson
import: Dis
a
ble index
e
s
on-demand
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-05
Andreas
E
ricsson
impo
r
t: Create disable
_
indexes() a
n
d enable
_
indexes()
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-05
Andreas
Ericss
o
n
Augment
e
nd_pro
c
ess()
w
ith
a
mount of bytes skipped
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-05
Andreas Ericsson
import: Fix
progress
o
utput ETA
w
h
e
n s
k
ipping f
i
les
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-05
Andrea
s
Erics
s
on
sho
w
log: Remove debugging output
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-05
Andreas Eri
c
ss
o
n
s
p
ecfile: Fix me
s
sages
w
ritten
before and a
f
ter r
u
nning
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-04
Andreas
E
ricsson
showlo
g
: Fil
t
er in all events by
d
efaul
t
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-04
A
n
dr
e
as Eri
c
sso
n
sh
o
wlog
:
L
e
t
fl
a
pping and down
t
ime
i
mply EV
T
_HO
S
T and
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-04
Andreas Eric
s
son
showlog:
A
dd '
s
ho
w
' version
s
of all '
h
ide' optio
n
s
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-04
A
n
dreas Eric
s
son
apps: Ad
d
g
c
c attri
b
utes t
o
usage() fun
c
tions
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-04
And
r
eas Erics
s
on
import: Make
tobytes()
t
a
k
e
a
u
i
nt64_t argu
m
ent
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-04
Andreas Eric
s
son
i
m
p
ort::toby
t
es(): Make sure w
e
n
ever shift be
y
ond
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-30
Andreas
E
r
icsson
im
p
ort: Speed up in
c
remental imports
con
s
ider
a
bly
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-27
A
n
dreas Er
i
csson
imp
o
rt: U
s
e uint64
_
t for counting byte
s
and lines in
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-26
Andreas Ericsson
Makefile: s/QUITE_L
I
NK/
Q
UIET_LINK/
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-23
Andreas Ericsso
n
specfile: Use
imp
o
r
t
'
s ability to
f
ind
l
ogf
i
les by
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-23
Andre
a
s
Er
i
csson
imp
o
rt: Add usage() fun
c
t
ion and grok
-
-help a
r
g
ument
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
An
d
reas Erics
s
o
n
test-hash: Remove unu
s
ed code a
n
d variables
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andr
e
as
E
ricsson
tes
t
_utils
.
h: a
d
d
prototype f
o
r
t
_s
t
art()
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas
Ericsson
test-hash: Use t_st
a
r
t()
i
n
s
t
e
ad of h
a
ndcraftin
g
a
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Eric
s
so
n
test-lp
a
r
s
e: Use t_start
(
)
and
t
_end
(
) properly
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
An
d
reas Eric
s
so
n
nebtes
t
: Us
e
t_start() instead of sett
i
ng our own t
o
pics
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andrea
s
E
ricsson
tes
t
_uti
l
s
:
Indent and prefix test topi
c
s
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas E
r
icss
o
n
utils: Remo
v
e warning a
b
o
u
t "
n
o hos
t
list, so nothing
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
A
n
drea
s
Ericsson
test_utils: Print n
e
wline aft
e
r s
t
arting t
e
st topic
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andre
a
s Erics
s
on
.
giti
g
nore test
-
ha
s
h
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Er
i
csson
nebt
e
st:
Re-enable
checking callbacks
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsso
n
import
:
Only
p
rint dow
n
time debug
data if dt_s
t
art
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas E
r
icsson
Makefile: Run n
e
btest
wi
t
h
out
echoing the command
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericss
o
n
i
mport: Remove downtime
as we walk
the hashes
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
A
ndreas Ericsson
Add
t
est-hash
.
c, to test hash_walk
_
data()'s new removal
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
And
r
eas Eri
c
sson
test_utils
:
Ma
k
e test head
e
r
s
appear in cyan
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
A
n
dreas Ericsson
Ma
k
e
f
ile:
Require 'test' w
h
en building all
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
A
ndreas Ericsson
n
e
btest:
U
se the
t
e
sting func
t
ions from te
s
t
_
utils
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
A
ndreas Ericsson
test-l
p
a
r
s
e
: Use te
s
t_utils in test-lparse
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
A
n
dre
a
s Eric
s
so
n
loggin
g
:
Print final ne
w
l
i
ne to same
f
ile-pointer as
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Eri
c
sson
import: P
u
rge expir
e
d downtime when we're do
n
e
i
m
por
t
i
ng
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
import: Print remaining downt
i
me
in hash tables
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
h
a
s
h
: Support
f
o
r
cing
d
ebug printing of hash tables
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas
Ericsson
Add test_utils library
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andre
a
s Ericsson
h
a
sh: Add supp
o
rt for walker
t
o
r
emov
e
en
t
ri
e
s
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Erics
s
on
import: Mov
e
some
c
ode around in
purge_ex
p
i
r
ed_dt()
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Er
i
c
s
son
import: Use
t
he new
hash_debug_table()
macr
o
and its
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericss
o
n
ha
s
h: Add hash
_
de
b
ug_print_tabl
e
_
d
ata()
funct
i
on
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
An
d
reas Ericsso
n
has
h
: Coun
t
removed
a
nd add
e
d en
t
ries
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas
E
ricsson
import: Co
u
nt (and print
)
skipped do
w
ntime e
n
tries
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas
Ericsso
n
hash: Change
order of argu
m
ents
w
hen checking has
h
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-19
Andreas Ericsson
hoo
k
s: Han
d
l
e
NEBTYPE_DOWNTIME_DELETE e
v
ents
p
rope
r
ly
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-19
Andreas Ericsson
veri
f
y_im
p
ort: Update
m
y
sql
_
result(
)
usa
g
e
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-19
Andreas Eri
c
sso
n
verify_import
:
M
a
ke database tab
l
e a command-li
n
e
opt
i
on
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-16
A
n
dreas Ericsson
showlog: Add --hide-all com
m
a
n
d
line
o
p
tion
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-16
A
ndreas Ericsson
showlog: Add suppor
t
for pr
i
nting log tim
e
s
t
a
m
p
ske
w
s
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-09
Andre
a
s Ericsson
im
p
ort: Make su
r
e desc is always in
i
ti
a
lized properly
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-09
Andreas Ericsson
i
m
port:
Fix sql error
i
n
s
e
r
vice n
o
tification insertio
n
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
Andre
a
s Er
i
csson
import: Make sure we
h
andle broken notification reason
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
Andreas
Eric
s
son
Merge br
a
nch 'nex
t
'
commit
|
commitdiff
|
tree
2010-04-08
Andr
e
a
s
Erics
s
on
import: Hon
o
r --n
o
-sq
l
whe
n
importing n
o
tificati
o
ns
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
Andreas Er
i
csson
import
:
Make incre
m
ental mode
work for notificat
i
on
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
Andreas Eric
s
son
import: Import notifications
i
n a separate run
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
And
r
eas Ericsson
impo
r
t:
M
a
k
e su
r
e w
e
p
arse the right string for servic
e
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
Andreas Ericsson
i
mport: Remove
d
ebugg
i
ng output
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
Andreas E
r
i
c
sson
sql
:
I
n
t
rodu
c
e sql_d
b
_na
m
e()
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
Andreas Ericsson
sql: Avoid segfaulting on
missing databas
e
li
n
k
i
n
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
Andreas Ericsson
impor
t
: Revamp parse_import_notifica
t
i
o
n()
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
Andreas Eri
c
sson
logutils: Introd
u
ce
p
arse
_
{h
o
st,
s
e
rvice}_s
t
a
t
e_gently
(
)
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-07
Andreas E
r
ic
s
son
import: First stab a
t
implem
e
n
ting i
m
port fo
r
n
otifications
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-07
Andreas Ericsson
logutils: Revamp how parse_{host,service}_state() works
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-07
Andreas Eri
c
sson
De
f
ine some macr
o
s only onc
e
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-07
Andreas E
r
icsson
t
e
s
t-lparse
:
Make
a
ll tests pass fully
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-07
And
r
eas
Eric
s
son
Merge branch
'
master'
into next
commit
|
commitdiff
|
tree
2010-04-07
Andreas Ericsson
showlog: Add
p
rett
y
-print things for noti
f
ication events
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-07
A
n
d
reas Erics
s
on
showlog: Add support for --
t
ime-format=duration
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
Andreas
E
r
i
cs
s
on
showlog: Re
p
lace
t
h
e blu
e
color f
o
r d
o
wntime w
i
th brig
h
t
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
Andreas Eric
s
son
state: Mak
e
su
r
e we duplicate the
ke
y
s u
s
ed for hash
i
n
g
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
Andreas
E
rics
s
on
showlog:
Add support fo
r
--hide-s
t
ate-dupes
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
And
r
eas Ericsso
n
sho
w
log: Optimize aw
a
y
o
ne
c
all t
o
parse
_
{host,
s
ervice
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
Andreas E
r
icsson
s
h
owlog
:
Don't show
INITIA
L
/
C
URR
E
N
T
state for
u
ninter
e
stin
g
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
And
r
eas Eric
s
so
n
state api: Make *_
h
as_new_
s
tate
(
)
usab
l
e without a
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
Andr
e
as Ericsson
state
.
c: Squelch war
n
ing
about l
a
cking prot
o
type
for
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
Andreas Eri
c
sson
Ma
k
e
f
ile: B
u
ild
test-lparse wi
t
h sane linking opti
o
ns
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
Andreas E
r
ic
s
son
M
akefi
l
e:
Make
C
PPFL
A
GS and
C
FLAGS cus
t
omizab
l
e b
y
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
A
n
dreas Ericsson
Makefi
l
e: Add default LDFL
A
GS and ma
k
e it overri
d
abl
e
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
Andre
a
s Er
i
csson
Break out {host,service
}
_has_new_state() to their own
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
Andreas
Er
i
csson
Replace
#
include
<
nagios/foo
.
h>
w
ith #i
n
c
lude "nag
i
os
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
next