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 enable indexes unless we've disabled them
2010-05-05
A
ndre
a
s Ericsson
import: Do
n
'
t
enab
l
e indexes unless we've dis
a
bled
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-05
An
d
reas
E
ricsson
impor
t
:
Don't bother enablin
g
indexes
i
f
we
'
re mo
r
e
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-05
Andreas Ericsson
import: Disable indexes on-demand
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-05
And
r
ea
s
Ericsson
impo
r
t
:
Create disable_i
n
dexe
s
(
) and enable_inde
x
es(
)
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-05
Andreas
E
r
icsson
Augm
e
nt end_pro
c
e
s
s
(
) with amount of bytes skipped
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-05
Andreas Eric
s
son
import: Fix
progr
e
s
s
output ETA when skipping
files
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-05
A
n
dreas Ericsson
showlog: Remove debugging output
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-05
Andreas Ericsson
spe
c
fi
l
e: Fix message
s
written befor
e
a
n
d after runnin
g
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-04
Andreas Ericsson
showl
o
g: F
i
lter in all events by defau
l
t
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-04
Andre
a
s Ericsson
s
h
o
wlog: Le
t
f
l
a
pping a
n
d downtime imply EVT_HO
S
T and
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-04
Andreas Ericsson
sh
o
wl
o
g:
A
d
d 'show'
v
e
r
sions of
all 'hide' options
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-04
Andrea
s
E
r
i
csson
a
pps: Add
gcc
attribut
e
s to usa
g
e() f
u
nctions
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-04
Andreas Erics
s
o
n
import: Make
t
obytes(
)
take a uin
t
64_t ar
g
um
e
nt
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-04
Andreas Er
i
css
o
n
impor
t
::tobytes():
Make sure we neve
r
shift
beyon
d
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-30
A
ndreas Erics
s
o
n
impor
t
:
Speed u
p
incremental imports
considerab
l
y
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-27
A
n
dreas
Ericsson
import
:
Use uint6
4
_t for co
u
n
t
i
ng
b
ytes a
n
d lines in
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-26
Andreas Eri
c
sson
Make
f
ile:
s/QUITE_LIN
K
/QUIE
T
_LINK/
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-23
A
n
dreas Er
i
c
s
son
s
pe
c
f
i
l
e: Use import's ab
i
li
t
y to find logfiles by
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-23
A
n
dreas Ericsson
i
mport: Add usage() fu
n
ction and grok --help argument
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
A
n
dreas Er
i
csson
te
s
t-has
h
: Rem
o
ve unused cod
e
and v
a
riables
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
test_u
t
ils
.
h:
a
dd prototype for t_s
t
art()
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
test-hash: U
s
e
t
_
s
t
a
rt() instead
o
f handcraf
t
ing a
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andre
a
s Ericsson
test-lparse: Use t_st
a
rt() and
t_end() prop
e
rly
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
A
n
dreas Ericsson
nebte
s
t
: Use t_start(
)
instead of set
t
ing our o
w
n
t
o
pics
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Eri
c
sson
t
e
st_utils: I
n
d
e
nt
and
prefi
x
test
topics
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
An
d
reas Ericsson
utils: Remove warn
i
ng a
b
out "no hostlist, so nothi
n
g
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
And
r
e
a
s
Eri
c
s
s
on
t
est_utils: Pr
i
nt newline aft
e
r starting test topic
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
.
gitignor
e
test-hash
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
nebtest: Re-enable chec
k
ing callb
a
cks
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
im
p
o
r
t:
Only print downtime debug dat
a
if dt_start
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
A
n
dreas Ericss
o
n
M
akefile: Ru
n
n
ebtes
t
without
echo
i
ng the command
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas
E
r
i
c
sson
import: Remove do
w
ntime as we walk
the has
h
e
s
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andre
a
s Ericsso
n
Add t
e
st-ha
s
h
.
c, to tes
t
hash_walk_da
t
a()'s new remova
l
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andrea
s
Ericsson
t
est_utils:
Make test he
a
der
s
appear in cyan
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
A
ndreas Ericsson
Makefile:
R
equire
'
t
est' when buil
d
ing al
l
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Erics
s
on
nebtest: Use
t
he
t
esting functio
n
s from test_utils
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andr
e
a
s Eri
c
sson
test-lparse: Use
test_uti
l
s in
test-lparse
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Eric
s
son
logg
i
n
g
:
Pr
i
nt final
n
ewline to same fi
l
e-p
o
inte
r
as
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
A
ndreas Erics
s
on
im
p
ort:
P
urge expired
d
owntime when we'
r
e do
n
e importing
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas
Ericsson
import
:
Print remai
n
ing downt
i
m
e
in hash tables
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andre
a
s
Er
i
csson
ha
s
h:
S
u
pport
f
orcing debug printing of hash ta
b
les
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
An
d
reas
E
ricsson
Add test_utils l
i
brary
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
h
a
sh: A
d
d suppor
t
for wal
k
er
to
r
emove entries
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
import: Move so
m
e
code around i
n
p
u
r
ge_ex
p
ired_dt()
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
A
ndreas Ericsson
import
:
U
s
e t
h
e new has
h
_debug_table() macro and its
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
An
d
reas Ericsson
hash:
Add hash_
d
ebug_pri
n
t
_
t
a
ble_data() function
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas E
r
icsson
hash: Count
r
emoved
an
d
add
e
d
entr
i
es
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andrea
s
Ericsson
i
mport: C
o
unt (and
p
rint) skipped
downtime entries
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
And
r
eas Ericss
o
n
hash: C
h
ange or
d
er of arguments when chec
k
ing ha
s
h
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-19
Andre
a
s Ericsson
hoo
k
s: Handle NEBTYPE_DOWNTIME_DELETE events properly
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-19
A
n
dreas Ericsson
verify
_
import: Update mys
q
l_result() usage
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-19
Andreas Erics
s
on
verify_i
m
port: Make database
t
able a command-line option
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-16
Andreas
E
ricsson
showlog: Add -
-
hide-all
c
ommand
l
i
ne option
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-16
Andreas
E
ricsso
n
showlog: Add support
f
or pri
n
tin
g
log timesta
m
p ske
w
s
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-09
Andreas Ericsson
impor
t
: Make sure desc is
a
lways i
n
itialized prop
e
rly
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-09
Andreas Er
i
cs
s
on
i
m
p
ort: Fix sql
error in se
r
vice notificati
o
n
i
nsertion
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
And
r
e
as
E
ricsso
n
i
mpo
r
t:
M
ake sure we handle broken notification reason
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
A
ndreas
E
ricsson
M
erge b
r
anch 'next'
commit
|
commitdiff
|
tree
2010-04-08
An
d
reas Eri
c
sson
import: Honor
-
-no-sql
w
hen importing not
i
fications
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
An
d
reas Ericss
o
n
im
p
ort
:
Ma
k
e incremental mode wor
k
for notific
a
tio
n
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
Andr
e
as
Ericsson
i
m
port: Import no
t
i
fications in a separat
e
ru
n
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
Andreas Ericsson
import:
Make sure we parse t
h
e right str
i
ng for
service
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
Andreas Er
i
csson
im
p
ort: Remove
d
ebu
g
ging
o
utput
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
Andreas Erics
s
on
sql
:
Introduce sql_db_name()
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
Andreas E
r
icsso
n
sql
:
Av
o
id
segfaulting on
m
issing database link in
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
Andreas Ericsson
import: Revamp parse_
i
mpor
t
_notification()
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
A
ndr
e
as Erics
s
on
lo
g
utils: Introduce
p
a
rse_{hos
t
,servic
e
}_state_
g
en
t
l
y()
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-07
Andrea
s
Eric
s
s
o
n
import: First
s
tab at impleme
n
ting
import for not
i
fications
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-07
A
n
d
r
eas Er
i
csson
logutils: Revamp how parse_{host,service}_state() wor
k
s
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-07
Andreas Ericsson
Define some macros only on
c
e
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-07
Andrea
s
Eri
c
ss
o
n
t
e
s
t-lpa
r
se: Ma
k
e
all tests pass fully
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-07
A
n
d
r
eas
Ericsso
n
M
e
rge branch 'mast
e
r'
i
n
to next
commit
|
commitdiff
|
tree
2010-04-07
Andreas Er
i
c
sson
show
l
o
g
:
A
d
d pr
e
tty-pri
n
t thi
n
g
s
for notification event
s
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-07
Andreas Eri
c
sson
showlog: Ad
d
support for -
-
time-format=d
u
r
atio
n
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
An
d
reas Ericsson
showlog:
R
eplace the blue color f
o
r downtime w
i
th br
i
ght
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
An
d
reas
E
r
i
css
o
n
st
a
t
e: Make sure we duplicate
t
h
e
keys
u
sed
for h
a
s
hing
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
Andr
e
as
E
ri
c
sson
s
h
owlog: Add sup
p
o
r
t for --hi
d
e-state
-
dupes
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
Andreas Eri
c
sson
showlog: Optimize awa
y
o
ne
call to parse_{host,service
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
And
r
ea
s
Ericss
o
n
showlo
g
: Don't
s
how INITIAL/CURRENT state for uninteresting
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
Andreas Ericss
o
n
s
tate api: Make *_has_
n
ew_state()
u
sable without
a
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
Andreas Ericsson
state
.
c: Sq
u
elc
h
w
a
rni
n
g
a
bo
u
t lackin
g
prototy
p
e for
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
A
n
dreas Ericsson
M
akefile: Build test-lparse wit
h
s
ane linking
options
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
And
r
eas Ericsson
Makefile
:
M
a
k
e CPPFLAGS and CFLAGS customizable by
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
Andre
a
s E
r
ics
s
on
Ma
k
efile: Add default
LDFLAGS and mak
e
it ov
e
rridable
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
Andreas Eric
s
so
n
Break out {host
,
servi
c
e}_has_ne
w
_
s
t
ate() to their o
w
n
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
Andreas Ericsson
R
e
p
lace #include <nagios/foo
.
h
>
with #include "nagios
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-25
A
n
dreas Eri
c
sson
cfg
f
ile: R
e
move trai
l
ing whitesp
a
c
e
in variable va
l
ues
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-25
A
n
dreas Ericsson
showlog: Fix D
S
T handling
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-24
An
d
reas Er
i
css
o
n
showlog:
U
p
dat
e
ico
n
name for
downtime
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-24
A
n
d
reas Ericsson
showlog: F
i
x logfile
s
election
c
ode
f
or the
--reverse
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-24
An
d
reas Ericsson
show
l
og: Impr
o
ve {first,last
}
_time handling
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-24
Andreas Ericsson
Ma
k
efile: Add log
u
tils
.
h to
l
o
g
ut
i
ls
.
o and sho
w
log
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-24
Andreas Eri
c
sson
s
howl
o
g: Print
why we're ignori
n
g a particula
r
fi
l
e
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
A
ndre
a
s Ericsson
s
h
owl
o
g:
Add
last touc
h
es
t
o user-bas
e
d fi
l
te
r
ing
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andrea
s
Ericsso
n
showlog
:
Te
a
ch sho
w
log ab
o
ut o
b
jects
.
cache
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Ericsson
showlog: Print time even if
w
e couldn't find a color
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
A
n
d
rea
s
Eri
c
sson
s
h
owlog: Print initial stat
e
s w
i
th the same color as
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Erics
s
on
auth lib: Add missing exc
l
am
a
tion mark in auth_pars
e
_
p
ermiss
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
And
r
e
as Ericsson
showlog: Teach showlog about --user and --cgi
-
cfg
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andr
e
as Erics
s
on
showlog: Don'
t
cras
h
o
n
illegal ar
g
um
e
nts sh
o
rter than
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
next