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
import: Don't bother enabling indexes if we're more than 95% done
2010-05-05
Andrea
s
Ericsso
n
import: Don't bother enabling index
e
s if w
e
're m
o
r
e
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-05
Andreas Eri
c
sson
im
p
ort: Disable indexes
on-
d
emand
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-05
Andreas
Ericsson
impor
t
: Creat
e
di
s
ab
l
e
_
i
n
dexes()
a
nd enable_index
e
s()
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-05
Andr
e
as
E
ricsson
Augm
e
nt en
d
_
p
rocess() with
a
mount
of by
t
es ski
p
ped
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-05
And
r
eas Eri
c
sson
i
m
port: Fix progre
s
s
output E
T
A
w
h
e
n
skipping files
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-05
Andreas Eri
c
ss
o
n
showl
o
g: Remove debugg
i
ng ou
t
p
u
t
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-05
Andreas
Eri
c
sson
specf
i
le: Fix mess
a
ge
s
written before and a
f
t
er runnin
g
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-04
Andreas E
r
ic
s
son
showlog: Fil
t
er in all eve
n
ts by default
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-04
And
r
eas Ericsson
showlog: Let f
l
appin
g
and downtime i
m
ply EVT_HOST and
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-04
A
ndr
e
as Eric
s
so
n
sho
w
l
o
g: Add 'show'
v
ersions
of all '
h
ide
'
opt
i
ons
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-04
Andr
e
a
s
Eric
s
son
a
p
ps: Add
g
cc attr
i
butes t
o
usage() functi
o
n
s
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-04
An
d
reas E
r
icsson
import
:
Mak
e
tob
y
tes() take a uint64_t
a
rgument
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-04
Andr
e
a
s
E
ric
s
son
i
mport::tobytes(): M
a
k
e
sure we n
e
ver shift beyond
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-30
Andreas
Ericsson
import:
Speed up inc
r
emental
imports cons
i
d
erably
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-27
Andreas Ericsso
n
i
mpor
t
:
Use
u
int64_t for countin
g
by
t
es
a
nd
l
i
n
es in
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-26
Andreas Ericss
o
n
M
a
kefile: s/QUITE
_
LINK/QUIET_LINK/
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-23
Andreas Ericsson
specfile: Use import's
a
bility to find lo
g
files by
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-23
An
d
reas Ericsson
i
mport: Add usage() function and grok --help arg
u
ment
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
And
r
e
as Eric
s
s
on
test-hash
:
Remove unuse
d
co
d
e
and v
a
riabl
e
s
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
test_ut
i
ls
.
h: add pro
t
otype for t_start()
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas
E
r
ic
s
son
t
e
s
t-has
h
: Use t_start() instead o
f
handcrafting a
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
t
e
st-
l
par
s
e:
Use
t_start() and t_end() properly
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
A
n
dreas E
r
i
c
sson
nebtest:
Use t
_
s
t
a
r
t
() instead of setting
our own topics
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
A
n
dreas Ericsson
test_
u
til
s
: Indent a
n
d pr
e
fix t
e
st topics
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas E
r
i
csson
utils: Remove warning abo
u
t "n
o
hostl
i
s
t
, so nothing
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
And
r
eas Eric
s
s
on
test
_
utils:
P
rint
newline after startin
g
test topic
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
An
d
reas E
r
ic
s
son
.
giti
g
nore test-hash
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericss
o
n
n
e
btes
t
: Re-
e
nab
l
e
c
hecki
n
g call
b
a
cks
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
A
n
dreas Eric
s
son
i
mport:
Only prin
t
d
o
wntime d
e
bug d
a
ta if dt_start
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Erics
s
on
Make
f
ile: Run nebtest wit
h
out echoing t
h
e command
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
An
d
reas
Ericsson
impor
t
: Remove downti
m
e as w
e
walk the
hashe
s
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas
Ericsson
Add
test-ha
s
h
.
c, to test hash_walk_data()'
s
new removal
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Eric
s
son
test_
u
tils:
Make tes
t
h
ea
d
e
rs app
e
ar in c
y
an
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
A
n
dreas Er
i
csson
Make
f
ile: R
e
q
uire 'test' when bu
i
ld
i
ng all
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Eric
s
so
n
neb
t
est
:
Us
e
the te
s
ting funct
i
on
s
from
t
est_
u
tils
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
And
r
eas Ericsson
test-l
p
arse:
U
s
e
test_utils in test-lparse
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
lo
g
gi
n
g: Print final
newline to same file-pointer as
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
import: Pu
r
g
e e
x
p
ired down
t
i
m
e when we'r
e
d
o
ne
i
mpo
r
ting
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Eric
s
son
i
m
p
ort: Print remaining do
w
ntime in hash t
a
bles
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andre
a
s Ericsson
hash: Support for
c
ing
d
ebug prin
t
ing of has
h
tables
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas
E
r
i
csson
Ad
d
test_utils libr
a
ry
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas E
r
icsson
hash: Add s
u
pport for walker to
remove entries
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
import:
M
ov
e
so
m
e code ar
o
und in purge_expired_dt()
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Eri
c
sson
import: Us
e
the new hash_debug_table() macr
o
a
n
d its
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
And
r
ea
s
Ericsson
hash: A
d
d hash_debug_print_tabl
e
_data
(
)
f
u
n
ction
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas E
r
ic
s
son
hash: Co
u
nt
r
em
o
ved a
n
d a
d
d
e
d entries
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
i
m
port: Count (and print)
s
kipped downt
i
m
e en
t
ries
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas
E
ricsson
h
a
sh
:
Change order of arg
u
m
ents
w
h
e
n checking hash
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-19
Andreas Er
i
csson
hooks: Handle NEBTYPE_DOWNT
I
ME_DELETE
events p
r
ope
r
l
y
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-19
A
n
dreas Ericsson
verify_import: Update my
s
ql_result()
u
sa
g
e
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-19
Andreas Ericss
o
n
ver
i
f
y_
i
mport: Make database table a
com
m
and-line opti
o
n
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-16
An
d
reas Ericsso
n
showlog: Add --hide-
a
ll command line option
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-16
Andre
a
s
Ericsson
sh
o
wlog: Add suppor
t
for printing log timestamp skews
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-09
Andreas Ericsson
import: Make sure desc is always initialized prope
r
l
y
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-09
And
r
eas Ericsson
i
m
p
o
rt:
Fix
sql err
o
r
in service notifica
t
ion in
s
ertion
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
Andrea
s
Ericsson
import:
M
ake sure
we handle b
r
oken noti
f
ica
t
i
o
n r
e
a
s
on
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
An
d
reas Ericsson
Merge b
r
anc
h
'next'
commit
|
commitdiff
|
tree
2010-04-08
Andreas
E
rics
s
on
imp
o
r
t
:
H
onor -
-
no
-
s
ql when importi
n
g
n
otifications
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
A
n
d
reas Ericsson
im
p
ort: Make incr
e
mental mode work for notifi
c
at
i
on
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
A
ndreas Ericsson
impo
r
t: Import notificat
i
o
n
s in a
separate run
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
Andreas Eri
c
s
son
im
p
o
r
t:
Make
s
ure w
e
parse t
h
e right string fo
r
serv
i
c
e
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
Andrea
s
Er
i
csson
import: Remove debugging output
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
Andreas
E
ric
s
son
sql: Introduce sql_db
_
na
m
e()
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
Andre
a
s Erics
s
o
n
s
q
l: Avoid segfa
u
lting on missing
d
atabase
l
ink in
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
Andreas Ericsson
import: Rev
a
mp parse_i
m
p
o
rt_notif
i
cat
i
on()
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
A
n
dreas Ericsson
log
u
tils: Introduce parse_{h
o
st,service}_
s
tate_gently()
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-07
Andreas Ericss
o
n
import: First stab a
t
i
mplementi
n
g import for notifications
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-07
Andreas Ericsson
logutils
:
Revamp
how pa
r
se_{h
o
st,serv
i
c
e
}_st
a
te() works
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-07
Andre
a
s Ericsso
n
D
e
f
ine some m
a
cros only once
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-07
Andreas Ericsso
n
test
-
l
parse: Make all
tests pass fully
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-07
A
n
d
reas Erics
s
on
Merge branch 'mast
e
r
' into next
commit
|
commitdiff
|
tree
2010-04-07
And
r
eas Ericss
o
n
s
howlog: Add
p
r
etty-p
r
int t
h
i
n
g
s
fo
r
notification events
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-07
Andreas Ericsson
s
ho
w
log: Add
s
upport fo
r
-
-time-format=duration
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
Andreas Ericsson
sho
w
l
o
g
: Replace th
e
blue col
o
r for
downtime with brigh
t
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
Andrea
s
Ericsson
state: M
a
ke s
u
re we duplicate the keys used for hashing
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
A
n
dre
a
s
E
ric
s
son
s
howlog: Add su
p
po
r
t for --h
i
de-state-dupes
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
And
r
eas
Ericsson
showlog:
Op
t
i
mize aw
a
y one ca
l
l
to
p
arse_{hos
t
,service
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
Andr
e
as Eric
s
s
o
n
s
how
l
og: Don
'
t show INITIAL/CURREN
T
s
t
a
t
e
for uninteres
t
i
ng
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
Andreas Eric
s
son
st
a
te api:
M
ake *_ha
s
_new_state() usable
w
it
h
o
ut a
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
Andr
e
as
E
r
i
c
s
son
sta
t
e
.
c: Squelc
h
w
a
rning
about
l
a
cking prototype for
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
And
r
e
a
s Ericsson
Makef
i
le: Build test-lparse with sane l
i
n
k
ing
optio
n
s
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
Andreas Ericsso
n
Makefile: Make C
P
PFLA
G
S
and CFLAGS customi
z
able by
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
Andre
a
s Eric
s
son
M
a
kef
i
le: Add default
LDFLAGS
and make it overridable
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
Andre
a
s
E
r
icsso
n
B
r
eak out {host,service}_h
a
s
_new_sta
t
e() to their own
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
An
d
rea
s
Ericsson
Replace #inc
l
ud
e
<nagio
s
/foo
.
h>
w
i
th #includ
e
"n
a
g
i
os
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-25
A
n
d
reas Er
i
csson
cfgfile:
R
e
mov
e
trailing wh
i
tespace in variable
v
alues
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-25
Andre
a
s Ericsson
showlog: Fix DST
ha
n
d
l
ing
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-24
Andreas
Ericsson
showl
o
g
: Upda
t
e
icon
n
a
m
e
for downtime
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-24
Andreas Ericss
o
n
showlog: Fix logfile selectio
n
code for th
e
--rever
s
e
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-24
Andreas Ericsson
showl
o
g: Improve {first,
l
ast}_time handling
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-24
Andreas Ericsson
Mak
e
file
:
Add
l
o
gutils
.
h
t
o
l
ogutils
.
o and showlog
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-24
A
n
drea
s
Ericss
o
n
showlog: Print wh
y
we
'
r
e ignoring a
p
ar
t
icular file
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
A
n
dr
e
as Eric
s
so
n
showl
o
g: Add last t
o
uches t
o
user-based filtering
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
And
r
eas Ericsson
sho
w
lo
g
: Teach showlog ab
o
u
t objects
.
cache
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Ericsson
sho
w
log: Print ti
m
e ev
e
n if
we couldn't find a color
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
And
r
ea
s
Er
i
css
o
n
s
h
o
w
l
o
g
:
Print initi
a
l states with the
s
ame color
a
s
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
An
d
reas Ericsson
auth lib: Add mi
s
sing ex
c
lamati
o
n mark in auth_parse_permi
s
s
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Ericsson
s
h
o
wlog: T
e
ach showlog about --user and --cgi-cfg
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
And
r
eas Ericsson
showl
o
g: Don't
cra
s
h on illegal
a
rguments shor
t
er t
h
an
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
A
ndreas Ericsson
showlog: Men
t
ion th
a
t
l
ogfiles is not a man
d
ato
r
y op
t
ion
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
next