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: Only read last time from sql if --incremental lacks timestamp
2010-09-01
Andreas
E
ri
c
sson
import: Only read last time from sql
if --
i
nc
r
e
mental
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-08-31
An
d
reas Eric
s
son
import: Add the 'when' argu
m
ent
for 'increme
n
ta
l
'
t
o
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-08-31
Andreas Erics
s
on
i
m
port:
A
dd --li
s
t
-
f
iles opti
o
n
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-08-25
Andreas Ericsson
Remove ba
r
ely
use
d
, incomplete and
u
n
n
ecessary memor
y
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-08-24
Andreas Ericsson
s
howl
o
g
:
Never
opt
o
ut EVT
_
HOS
T
and EVT
_
SER
V
ICE when
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-08-24
A
n
drea
s
Ericsson
showlog: G
e
t rid of EVT_I
N
ITIAL
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-07-06
An
d
reas Ericsson
c
fgfile:
S
quelch the last
c
ompiler warning
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-07-06
Andreas Eri
c
sson
a
pps: Silence som
e
compi
l
er warning
s
o
n 64-bit archs
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-07-06
Andreas Ericsson
M
a
ke
f
ile: U
p
date build dependencies for tes
t
-lpars
e
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-07-06
A
n
dreas Eri
c
s
s
o
n
Make the
lpa
r
s
e
a
pi l
a
rge-file aware
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-07-06
An
d
rea
s
E
ricsson
import
:
Ma
k
e progress
repor
t
in
g
a
bit
l
ess crazy
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-07-05
Andreas
E
r
i
csson
Support large
files
o
n 32b
i
t
systems
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-07-05
Andreas Ericsson
A
llo
w
lazily con
n
e
cting to the databa
s
e
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-07-05
Andr
e
as Ericsso
n
Makefile: Add target
to ru
n
sql-dependant tests
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-07-05
Andreas Ericsso
n
n
ebtest: M
a
ke testing using an sql
database optional
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-06-17
A
ndreas Ericsson
showlog: Use l
o
caltim
e
()
i
n
s
te
a
d of gmtim
e
()
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-24
Andreas
E
ricsso
n
showlog: Don't ma
n
g
l
e the ltime va
r
iable
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-17
A
n
dreas Erics
s
o
n
showlog: Use uin
t
64_t for ltime_skews, skip and limit
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-17
A
ndreas Ericsson
showlo
g
: Show ltime skews as percentage
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-05
Andreas Eri
c
sson
i
mp
o
r
t
: Don't enab
l
e
indexes u
n
less we've di
s
ab
l
ed
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-05
A
ndre
a
s Eri
c
sson
import
:
Don't both
e
r en
a
bl
i
ng in
d
exes if we're more
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-05
Andr
e
as Ericsson
i
mport: Disabl
e
i
ndexes
o
n-demand
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-05
And
r
eas Eri
c
sson
import: Create disable_i
n
dexes() and enable_indexes()
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-05
Andreas Erics
s
on
Au
g
ment
e
nd_process() with amount of bytes skipp
e
d
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-05
Andreas Eri
c
sson
import: Fix progres
s
out
p
ut ETA when
s
kipping
f
iles
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-05
Andreas Ericsson
showl
o
g: Remo
v
e debugging output
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-05
Andreas Ericsson
s
pecfil
e
: Fix messag
e
s
w
r
itten bef
o
re and after ru
n
ning
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-04
Andreas
Ericsson
showl
o
g: Filter in
a
l
l
events by d
e
faul
t
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-04
A
n
dre
a
s Erics
s
on
sho
w
log:
Le
t
flap
p
ing
a
n
d
down
t
ime
imply EVT_HOST and
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-04
An
d
reas Ericss
o
n
showlog
:
A
d
d
'show' versions of
a
l
l
'hide' option
s
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-04
Andreas Ericsson
apps: Add gc
c
at
t
ributes to usage(
)
functions
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-04
Andreas Erics
s
o
n
import: Make tobytes() take a uint64_t argument
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-04
And
r
ea
s
Ericsson
import:
:
tobytes(): Make sure
we ne
v
er shift beyond
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-30
Andreas E
r
ic
s
so
n
import: S
p
e
ed up incremental
impor
t
s consi
d
era
b
ly
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-27
Andre
a
s Ericsson
im
p
ort: Use uint64_t
f
or cou
n
ti
n
g by
t
es and lines
in
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-26
A
n
dr
e
as
E
ricsson
M
ak
e
file: s/QUITE_LINK/QUIET_
L
INK/
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-23
A
nd
r
eas Eri
c
s
s
o
n
spe
c
file: Use imp
o
rt's ability to find logfi
l
es by
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-23
Andreas Ericsson
import: A
d
d usage() f
u
nctio
n
a
n
d gr
o
k --help argu
m
ent
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Eri
c
sson
t
est-hash: Remove unus
e
d
code
a
nd variab
l
es
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Eri
c
sson
tes
t
_uti
l
s
.
h:
a
dd prot
o
t
y
pe for t_start()
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
A
n
dreas Ericsson
test-ha
s
h: Use t_start() i
n
stead of handcraft
i
n
g a
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas
E
ricsson
test-lpar
s
e: Use t_st
a
rt()
a
n
d
t_end() pro
p
erly
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
n
ebtes
t
: Use t_start() instead of setting o
u
r own topics
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
A
ndreas
Ericsson
test_
u
tils: Inde
n
t
and pref
i
x
t
est topic
s
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas
E
r
icss
o
n
utils:
R
emove
warning about
"no
h
ostlist, so nothing
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Eri
c
s
son
tes
t
_util
s
:
P
rint newline after
s
t
a
r
t
i
ng
t
e
s
t
t
o
pic
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
And
r
eas Ericss
o
n
.
g
i
tig
n
or
e
test-hash
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andrea
s
Er
i
csson
nebtes
t
:
R
e-enable
c
hecking
callbacks
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
import: Only
print dow
n
time
d
ebug
d
at
a
if dt_st
a
rt
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
Makefile:
Run n
e
btest without echoi
n
g the
c
ommand
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericss
o
n
import: Remove downtime
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-
h
ash
.
c, to te
s
t hash_walk_data()'
s
new removal
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas E
r
i
c
sson
test_utils:
M
ake te
s
t
h
ead
e
rs appea
r
in
c
yan
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
Makefi
l
e: Require 'test' when building all
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
And
r
ea
s
E
ric
s
son
nebtest: Use the testing functions
f
rom t
e
st_ut
i
ls
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Er
i
c
s
so
n
test-lparse: Us
e
test_utils in test-lpa
r
se
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
An
d
r
e
as Ericsson
loggi
n
g: Print
f
i
n
al new
l
i
n
e to same
f
ile-poi
n
ter as
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
A
n
dre
a
s Ericsson
import: Purge
e
xp
i
red d
o
w
ntim
e
wh
e
n we're done importing
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
A
ndre
a
s
E
r
i
csso
n
import: Prin
t
r
e
maining downtime in hash tables
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
h
ash: Support forcin
g
debu
g
printing
of hash tables
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Eri
c
sson
Add test_utils library
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
And
r
eas Ericss
o
n
hash: Add su
p
p
o
rt
for walker to remove entries
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
A
ndreas
E
ric
s
son
import: Move some code
a
round in purge
_
expired_dt()
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericss
o
n
i
mport: Use the new hash_debug_table
(
) mac
r
o and its
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsso
n
hash:
Add has
h
_debug_print_table_data()
f
u
n
c
tion
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andre
a
s Ericsson
hash: Count removed and added entri
e
s
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
A
n
dr
e
a
s Er
i
c
s
son
import: Count (and prin
t
) s
k
ipped dow
n
time entr
i
es
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsso
n
hash
:
Chang
e
order o
f
arguments when checking has
h
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-19
Andreas Eric
s
son
hooks: Hand
l
e NEBT
Y
PE_DOWNTI
M
E_DELETE
e
vents
pr
o
perly
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-19
And
r
ea
s
E
r
icsson
v
e
rify_impor
t
: Update mysq
l
_result() usage
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-19
An
d
r
e
a
s
Ericsso
n
v
er
i
fy_
i
mport
:
M
ake dat
a
base table a command-
l
i
ne
option
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-16
A
ndreas Ericsson
showlo
g
:
A
d
d
--hide-a
l
l c
o
mman
d
l
i
n
e opti
o
n
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-16
An
d
r
eas E
r
icss
o
n
sho
w
log: Add support f
o
r pr
i
nting log times
t
a
m
p ske
w
s
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-09
A
n
dreas
Erics
s
o
n
import:
M
ake sure desc is always initializ
e
d
proper
l
y
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-09
A
ndreas
Ericsso
n
import:
F
i
x
sql error in se
r
vice notifi
c
ati
o
n inser
t
ion
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
Andreas
E
ricsson
impo
r
t: Make sure we handle bro
k
en notification reason
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
A
n
dr
e
as Ericss
o
n
Merge branc
h
'next'
commit
|
commitdiff
|
tree
2010-04-08
A
ndr
e
as Ericsson
import:
Hono
r
--no-
s
ql when
i
mpo
r
ting
notific
a
tions
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
Andreas
E
ricsso
n
im
p
o
r
t: Make increm
e
ntal mode work
for notific
a
tion
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
Andreas Ericsson
import: Import notifications in a separate run
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
Andre
a
s Ericsson
import
:
Mak
e
s
ure we parse
t
h
e r
i
ght st
r
ing for service
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
Andreas Ericsson
import
:
Remov
e
debugging outpu
t
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
Andreas Ericsson
sql: Int
r
oduce
sql_db_name
(
)
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
Andreas Ericsson
sql: Avoid segfaul
t
in
g
on missin
g
database
link in
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
Andreas Ericsson
import: Revamp
parse_import_notif
i
cation()
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
Andreas E
r
icsson
logutils: Introduce pa
r
s
e
_{
h
os
t
,se
r
v
i
ce}_state_gently()
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-07
A
ndreas
E
r
i
css
o
n
import: First stab at implementing import
for notifications
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-07
Andr
e
as Ericss
o
n
logutils: Revamp how parse
_
{host,servic
e
}_state() works
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-07
Andreas
Ericss
o
n
D
e
fine some mac
r
os only once
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-07
Andreas Ericsson
test-lpa
r
se: Make all
tests pass ful
l
y
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-07
Andre
a
s
E
ricsson
M
e
r
ge branch
'm
a
ster' into
n
ext
commit
|
commitdiff
|
tree
2010-04-07
Andreas Ericsson
showlog:
Add prett
y
-print th
i
ngs for
notification event
s
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-07
Andreas Ericsson
showlog: Ad
d
s
uppo
r
t
f
or --t
i
me
-
format=duration
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
And
r
eas
E
ricsson
showl
o
g: Replace t
h
e blue
c
olor for downtime with brigh
t
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
An
d
reas Ericsson
state:
Make
s
ure we duplicat
e
the keys used
f
or hashing
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
Andreas
Ericsson
showlog:
Ad
d
su
p
p
o
r
t fo
r
--hide-st
a
t
e-dupes
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
An
d
reas Ericss
o
n
s
howlog:
Optimize a
w
a
y
one call to parse_{host,service
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
Andreas Eri
c
sson
showlo
g
: Don't show INITIAL/C
U
RRENT state for unint
e
rest
i
ng
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
Andrea
s
Ericss
o
n
state api: Make *_has
_
new_
s
tate() u
s
able
wi
t
hout a
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
Andre
a
s Eric
s
s
o
n
sta
t
e
.
c
:
Sq
u
elch
wa
r
ning about l
a
c
k
ing protot
y
pe f
o
r
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
next