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
Makefile: Add target to run sql-dependant tests
2010-07-05
Andreas Ericsson
Makefile:
Add target to
run
sql-dependant tests
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-07-05
Andrea
s
Ericsson
nebtest: Make t
e
s
ting using an sql database op
t
ional
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-06-17
Andreas Ericsson
s
h
o
wlog: Use localti
m
e() i
n
stead of gmtim
e
(
)
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-24
A
ndreas Eric
s
son
showl
o
g: Don't
mangle the
l
time variable
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-17
A
n
d
r
ea
s
Erics
s
o
n
s
howlo
g
: Use uint64
_
t for ltim
e
_
s
kews,
s
k
ip and limit
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-17
And
r
eas Eric
s
son
showlog: Show ltime
s
kews as
percentage
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-05
Andreas Ericsson
import: Don't enable indexes u
n
le
s
s we've disabled
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-05
An
d
reas Ericsson
import
:
Don
'
t
b
othe
r
ena
b
ling index
e
s if
w
e're
m
ore
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-05
Andreas Ericsson
import: Disa
b
le ind
e
xes on-demand
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-05
An
d
reas Ericsson
import: Cr
e
ate di
s
able_i
n
dexes()
and ena
b
le_in
d
ex
e
s(
)
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-05
Andreas Eri
c
s
son
Augment end_p
r
ocess() wit
h
amount of
b
ytes s
k
ipped
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-05
Andreas
Er
i
c
s
s
on
import:
F
ix progres
s
o
utput ET
A
when skipping files
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-05
Andreas Erics
s
on
showlo
g
:
Remove d
e
b
u
gging output
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-05
Andr
e
as
Ericsson
s
pecfile: Fix m
e
ssages written before and
a
fter
r
un
n
ing
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-04
A
nd
r
eas Ericsson
showlog: Filter in
all events by default
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-04
And
r
ea
s
Ericsson
sho
w
l
o
g: Let f
l
a
p
ping and
dow
n
time imply EVT_HOST and
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-04
Andreas Ericsson
s
howlog: Add 's
h
ow' ve
r
sio
n
s
o
f all 'h
i
de' options
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-04
Andreas Erics
s
on
apps: Add gcc attributes to
u
sage() f
u
nc
t
ions
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-04
A
nd
r
e
as
E
ricsson
import
:
M
ake tob
y
tes() tak
e
a uint6
4
_t argument
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-04
Andreas Ericsson
import
:
:tobytes(): Ma
k
e
s
u
re w
e
neve
r
sh
i
ft beyond
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-30
And
r
eas Ericss
o
n
impor
t
: Speed up incremental imp
o
rts c
o
nsiderably
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-27
Andreas
E
ric
s
son
imp
o
r
t: Use uint64_t for count
i
ng
bytes and lines in
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-26
And
r
eas
Eric
s
son
Ma
k
efil
e
: 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
ab
i
lity
t
o
find logfiles by
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-23
Andr
e
as Ericsson
import
:
Add
u
sage() f
u
nction and grok --help argument
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andrea
s
Ericsson
test-hash: Rem
o
ve
unused code and variab
l
es
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andr
e
as Erics
s
on
t
e
st
_
utils
.
h: add p
r
ototype for t_sta
r
t()
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
A
ndreas Ericsson
test-ha
s
h: Use
t
_start() i
n
s
t
ead of handcraft
i
n
g
a
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericss
o
n
test
-
lpars
e
:
Us
e
t_s
t
art()
a
n
d
t_end(
)
properly
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Eric
s
son
nebtest:
Us
e
t_star
t
() instead of s
e
tting
our
o
wn topics
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
test_utils: Indent and pref
i
x
t
est topic
s
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andr
e
as Er
i
csson
util
s
: R
e
move warning ab
o
u
t "no hostlist, so n
o
th
i
ng
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
test_utils: Print n
e
w
l
ine
afte
r
s
t
arting te
s
t topic
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
A
ndreas Ericsson
.
gitignore test-hash
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
And
r
eas Ericsso
n
neb
t
est: Re-enable
c
h
ecking callbacks
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
import: On
l
y
print downtime de
b
ug
d
ata
if dt_st
a
rt
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
A
ndr
e
as
E
ricsson
Makefile:
R
un nebte
s
t without echoin
g
the comma
n
d
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
impo
r
t: Remove
d
owntime
as we
walk t
h
e
ha
s
h
e
s
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andrea
s
E
r
icsson
Add test-hash
.
c,
t
o
t
est has
h
_walk_data()'s n
e
w
r
emoval
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
A
n
dreas Ericsson
test_utils:
M
a
k
e test hea
d
ers a
p
pear in cyan
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
An
d
reas Erics
s
on
Makefile: R
e
quire '
t
est' w
h
en bui
l
d
ing al
l
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andre
a
s Ericsso
n
nebtest: Use
th
e
tes
t
i
ng functions from test_utils
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andr
e
as Erics
s
on
test-lparse: Use test_utils in
te
s
t-lparse
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andrea
s
Ericsso
n
l
o
gging: Pri
n
t f
i
nal new
l
ine to same f
i
le
-
po
i
nter as
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
A
n
drea
s
Ericsson
import
:
Purge expi
r
ed do
w
nti
m
e when we're don
e
importing
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
An
d
reas Ericss
o
n
import: Print remaining do
w
ntime i
n
ha
s
h ta
b
l
es
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas E
r
icss
o
n
hash:
Support forcing debug p
r
inting of hash tables
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
A
ndreas Ericss
o
n
Add test_u
t
ils library
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
A
nd
r
e
a
s Erics
s
on
hash: Add support for walker to remove entries
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
A
n
d
r
eas Ericss
o
n
import: Move some
c
ode a
r
ound in pu
r
g
e
_expired
_
dt()
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Erics
s
on
i
m
port: Use the
ne
w
hash_debug_table() macro an
d
its
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andre
a
s
Ericsson
hash: Add
h
ash_debug
_
print_table_data() fun
c
tion
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas E
r
icsson
h
as
h
: Count removed and added entr
i
es
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
A
n
dreas
E
ricsson
import: Co
u
nt (and p
r
int) skipped dow
n
time ent
r
ies
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
And
r
eas Ericsson
hash: Change order of arg
u
ment
s
when ch
e
c
k
ing
hash
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-19
Andreas E
r
icsso
n
hooks: Handl
e
N
E
B
T
YPE_DOWNT
I
ME_D
E
L
E
T
E
events properly
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-19
An
d
reas
E
ricsson
v
e
r
ify_i
m
por
t
:
Up
d
ate mysql_resu
l
t() usage
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-19
Andreas Ericsson
v
e
r
i
fy_import:
Make database ta
b
le a command-line option
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-16
Andreas Eri
c
sson
sh
o
wlog: A
d
d -
-
hide-a
l
l c
o
mmand line
o
ption
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-16
And
r
e
as Ericsso
n
showlog: Add suppo
r
t fo
r
p
rinting
log timestamp skews
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-09
An
d
re
a
s Ericsson
import: Make sure
desc
i
s
a
lways initialized pr
o
perly
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-09
Andreas Er
i
csson
import: Fix sql e
r
ro
r
in
ser
v
i
ce notifi
c
ation insertion
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
And
r
eas Eric
s
son
import: M
a
ke sure we
handle broken
n
otific
a
tion rea
s
on
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
Andreas Er
i
csson
Merge b
r
anch 'next'
commit
|
commitdiff
|
tree
2010-04-08
Andreas Ericsson
import: Honor --no-sql when
i
mporting notifi
c
at
i
ons
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
An
d
reas Ericsson
import: Make
i
ncremental m
o
de work fo
r
notification
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
And
r
ea
s
Ericsson
import: Impor
t
not
i
fications i
n
a separate run
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
Andr
e
as
E
ricss
o
n
imp
o
rt: Make sure w
e
parse the right string for service
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
An
d
reas Ericsson
import: Remove debu
g
gin
g
o
utput
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
Andr
e
as Erics
s
on
sql: Introduce sql_db_name()
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
An
d
reas
Ericsson
s
q
l: Avoid
s
e
gfaulting on missing datab
a
se
l
ink
i
n
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
Andr
e
a
s
E
ricsson
import: Revamp parse
_
i
m
port_notification()
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
Andreas Ericsson
lo
g
ut
i
ls:
I
ntroduce p
a
rse
_
{h
o
st,servic
e
}_sta
t
e_gently
(
)
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-07
Andreas Ericsson
import: First stab a
t
impleme
n
ting im
p
o
rt for no
t
i
f
ications
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-07
Andreas
Ericsson
l
o
gu
t
i
ls: Reva
m
p how parse_{
h
o
st,service}_state() wo
r
ks
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-07
Andreas E
r
icsson
De
f
ine
s
ome
macro
s
only once
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-07
Andreas E
r
icsson
test-lp
a
rse: Make all
t
ests pass fully
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-07
An
d
r
eas Ericss
o
n
Merge br
a
nch '
m
a
s
ter' into
nex
t
commit
|
commitdiff
|
tree
2010-04-07
A
n
dre
a
s Er
i
css
o
n
showlo
g
: A
d
d
pre
t
ty-p
r
int thing
s
for
notifi
c
ation ev
e
nts
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-07
An
d
r
e
a
s
Ericsson
showlog: A
d
d supp
o
rt
for --time-
f
o
rmat
=
duration
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
Andre
a
s E
r
i
cs
s
o
n
showlog: Replac
e
the blue color for downtime wi
t
h bri
g
ht
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
Andreas
Erics
s
on
state: Make sure we dupli
c
ate
t
he keys
used for
h
ashi
n
g
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
Andrea
s
Er
i
cs
s
on
showlo
g
: Add support for --hide-s
t
ate-dupes
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
Andreas
Ericsson
s
howlog:
Optimize away one call to
p
arse_{host,service
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
A
n
dreas Ericss
o
n
showlog: D
o
n't show INITIAL
/
C
URRENT state fo
r
unin
t
eresting
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
An
d
reas
E
ri
c
sson
state a
p
i
: Make *_
h
as_new_state() usable without a
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
A
n
dreas Ericss
o
n
state
.
c
:
Squelch warning a
b
o
ut
lacking pr
o
totype for
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
An
d
reas E
r
icsson
Makef
i
l
e
: Build test-lparse with sa
n
e link
i
ng options
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
A
n
d
r
e
a
s Ericsson
Makefile:
Make CPPFL
A
GS and
CFLA
G
S
c
ustom
i
za
b
l
e by
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
Andreas
E
ricsson
Makefile: Add default LDFLAGS and make it
o
ve
r
ridable
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
An
d
reas Ericsson
Break o
u
t
{host,
s
ervice}_has_new_state() to their
o
wn
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
Andrea
s
Ericsson
Replace
#
incl
u
de <nagi
o
s
/f
o
o
.
h
>
with #include
"
nagios
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-25
Andreas E
r
i
c
sson
cf
g
file: R
e
mo
v
e trail
i
ng whi
t
espace in variab
l
e
v
a
lues
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-25
An
d
reas Ericsson
show
l
og: Fix DST handling
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-24
Andr
e
as Ericsson
s
h
ow
l
og:
Updat
e
i
c
on name f
o
r downtim
e
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-24
Andreas Er
i
csso
n
showlog: Fix logfi
l
e
s
ele
c
tion code for th
e
--reverse
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-24
And
r
eas Eric
s
son
showlog
:
Improve {first,last}_time hand
l
in
g
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-24
Andreas
E
ricsson
Makefile: Add
l
ogutil
s
.
h to
l
ogutils
.
o an
d
showlog
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-24
Andreas Ericsson
show
l
og: Prin
t
w
hy
w
e're ignoring a particular file
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Ericsson
showlo
g
: Add last t
o
uches to
u
ser-based f
i
ltering
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
next