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
An
d
reas Ericsson
import:
Only read last tim
e
from
sql if --incremental
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-08-31
And
r
eas
E
r
icsso
n
im
p
ort: Add
the 'when
'
argument
f
o
r
'increme
n
tal
'
t
o
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-08-31
An
d
reas Ericsson
import: Add --list-fi
l
es o
p
tion
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-08-25
An
d
r
eas Er
i
csson
Remove barely used, incompl
e
te and un
n
ec
e
s
s
a
r
y memo
r
y
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-08-24
Andreas
Ericsson
showlog: Never opt ou
t
EVT_H
O
ST and E
V
T_SERVICE when
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-08-24
Andreas
Ericsson
showlog: Get rid of
E
VT_I
N
ITIAL
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-07-06
Andreas Erics
s
on
cfg
f
i
l
e: Squelch the
l
ast compile
r
wa
r
n
ing
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-07-06
Andreas Ericsson
apps: Silen
c
e some com
p
iler wa
r
nings on 64-bit
a
rchs
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-07-06
Andrea
s
Er
i
c
s
son
Makefile: Updat
e
b
uild depen
d
encies
f
or test-lparse
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-07-06
An
d
re
a
s Eri
c
sson
Mak
e
the lparse
a
pi large-file aw
a
re
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-07-06
Andreas Erics
s
on
imp
o
r
t
: Make progr
e
ss reporting a bit
l
ess crazy
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-07-05
Andre
a
s E
r
i
c
sson
Supp
o
rt large files on 32bit systems
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-07-05
Andreas Eric
s
son
Allow lazily c
o
nnect
i
n
g
to the
data
b
ase
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-07-05
A
ndreas Ericsson
Makefile: Add target to run sql-d
e
pen
d
ant te
s
ts
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-07-05
Andreas E
r
icss
o
n
nebtes
t
: Make te
s
ting usi
n
g an sql
da
t
abas
e
opt
i
onal
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-06-17
A
ndreas
E
ricsson
sh
o
wl
o
g: Use
loca
l
time(
)
instead of gm
t
ime()
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-24
And
r
eas
Ericss
o
n
s
h
o
w
log:
D
on't mangle t
h
e ltime variable
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-17
Andreas Ericsson
showlog: Use
u
int64_t for ltime_skews, skip and limit
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-17
Andreas Er
i
csson
sh
o
wlog: Show ltime skews
a
s
percentage
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-05
Andreas Ericsson
im
p
ort: Don'
t
enable in
d
exes unless we've disable
d
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-05
Andre
a
s Ericsson
import: Don't b
o
t
he
r
en
a
b
ling indexes if
w
e
'
r
e more
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-05
An
d
reas Ericsson
impo
r
t
: D
i
s
abl
e
ind
e
xes on
-
demand
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-05
An
d
r
e
as Er
i
csson
import: Create disabl
e
_
inde
x
e
s() and
enable_inde
x
es()
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-05
Andreas Ericsson
Augmen
t
e
n
d_process() with amount of bytes s
k
ipped
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-05
A
ndreas Eric
s
so
n
import: Fix prog
r
ess output ETA wh
e
n skipp
i
ng fil
e
s
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-05
An
d
re
a
s Eri
c
sson
show
l
o
g
:
R
emove debugg
i
ng output
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-05
Andreas Ericsson
s
pecfile: Fix messa
g
es writt
e
n
b
efore and
a
f
t
e
r runn
i
ng
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-04
Andreas Ericsson
showlog: Filter in a
l
l ev
e
nts by d
e
fa
u
lt
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-04
A
ndr
e
as Ericsso
n
showl
o
g
: Le
t
flapping and down
t
i
me imply EVT_HOST
and
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-04
Andreas Ericsson
showl
o
g:
A
dd 'show' versions of
all '
h
ide' op
t
ions
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-04
Andreas
E
r
i
csson
apps:
A
dd gcc attributes to usage
(
) functions
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-04
Andr
e
as
E
ricss
o
n
import: M
a
k
e
tobytes()
t
ak
e
a uint64_t
argu
m
ent
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-04
Andreas
Ericsson
imp
o
rt:
:
tobytes(): Make sure we never shi
f
t beyon
d
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-30
A
n
dreas Erics
s
on
impo
r
t: Speed up incremental import
s
considerably
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-27
Andreas Ericsson
import: U
s
e uint64_t for c
o
untin
g
by
t
es and lines i
n
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-26
Andreas E
r
i
c
sson
Makefile: s/QUITE_LINK/QUIET_
L
INK/
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-23
Andreas Eri
c
sson
specfile: Us
e
import's ability to find log
f
ile
s
by
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-23
Andreas Eri
c
ss
o
n
import: Add usage() func
t
ion and grok --hel
p
arg
u
ment
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andre
a
s
Ericsso
n
test-
h
ash
:
Remove unused code
a
nd variables
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andr
e
as Ericsson
test_utils
.
h: add p
r
ototyp
e
for
t
_start()
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
And
r
eas Erics
s
on
test-
h
ash: Use
t
_start() i
n
stead of handcraft
i
ng
a
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Eric
s
son
t
e
st-lparse: Use t_start() and t_en
d
(
) properl
y
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
nebtest:
Use t_start()
i
n
s
t
ead o
f
s
e
t
t
ing our own topics
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas E
r
ic
s
son
test_utils: In
d
ent
and pre
f
i
x
tes
t
top
i
cs
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andr
e
a
s
Ericsson
utils: Remove warning
about "no ho
s
tlist, so
n
othing
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
test_utils: Print newline after st
a
rtin
g
t
e
st topic
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas E
r
icsson
.
g
itignore test-hash
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
nebtest: Re
-
enable checking callbacks
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Erics
s
on
impor
t
: Only
p
rint dow
n
tim
e
d
e
bug data if dt_start
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
And
r
ea
s
Ericsson
Makefil
e
: Run
n
e
b
test without echoing the command
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
A
n
dreas Ericsson
im
p
or
t
:
Remove downt
i
me a
s
we w
a
lk th
e
hashes
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
A
ndr
e
a
s E
r
icsson
Add test-h
a
sh
.
c, to test hash_wa
l
k_data()
'
s new removal
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andrea
s
Ericsson
tes
t
_utils: Make test header
s
appear in cyan
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas E
r
i
c
sson
M
a
k
efile: Require
'
test' when building
a
ll
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andrea
s
E
ricsson
nebtest: Use the testing function
s
from te
s
t_utils
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
A
n
dreas Er
i
css
o
n
test-lparse: Use test_utils in test-lparse
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Eric
s
so
n
logging: Print final newline to same
f
ile-pointer as
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
An
d
rea
s
Ericsson
i
m
port
:
Purge
e
xpired downtime when we're done i
m
porting
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andr
e
as Ericss
o
n
import: Print
r
e
maining downtime
i
n hash
ta
b
les
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
A
n
d
reas Erics
s
o
n
hash:
Support forcing de
b
ug
pr
i
n
ting of hash tables
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andre
a
s Ericsson
Add test_utils library
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
A
n
d
r
eas Eric
s
so
n
hash: Add support for wal
k
er to remov
e
en
t
ries
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Er
i
csson
import
:
Move s
o
m
e
c
o
de arou
n
d in p
u
rge_expi
r
ed_dt()
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
impo
r
t:
Use the new hash_debug_table()
m
acro and its
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
hash: Ad
d
h
a
sh_d
e
bug_
p
rint_tabl
e
_
data(
)
f
unction
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andre
a
s Eri
c
sso
n
hash: Count removed and added e
n
tries
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andre
a
s
E
rics
s
on
import:
Count (a
n
d
pri
n
t)
skipped downtime entries
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas
Ericsson
hash: Change order of argum
e
nts when checki
n
g
h
a
s
h
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-19
And
r
eas Eri
c
ss
o
n
hooks: Ha
n
dle NEBTYPE_DOWNTIME_DELETE events prop
e
rly
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-19
Andreas
Ericsson
v
e
rif
y
_i
m
port: Up
d
ate
m
y
sql_result() usag
e
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-19
A
ndreas Ericsson
verif
y
_
impor
t
: Make data
b
ase t
a
ble a command-line optio
n
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-16
Andreas Eric
s
son
showlog:
A
dd --hide-all
c
o
m
m
and line option
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-16
Andreas Ericsson
showl
o
g
: Add su
p
po
r
t f
o
r printing log times
t
amp skews
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-09
Andreas Er
i
css
o
n
import: Make sure de
s
c is always initialized
p
roperly
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-09
Andreas
E
ricsson
imp
o
rt: Fix s
q
l error in se
r
v
ice noti
f
icati
o
n insertion
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
A
n
drea
s
Ericsson
i
mpo
r
t: M
a
ke sure we han
d
le broken
notificatio
n
reason
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
And
r
e
a
s Eri
c
s
s
on
Mer
g
e
b
ranch 'next'
commit
|
commitdiff
|
tree
2010-04-08
Andr
e
as
Er
i
css
o
n
imp
o
r
t
: Hono
r
--no-s
q
l when importing notific
a
tions
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
Andreas
E
rics
s
on
i
m
p
o
rt: Make incremental mode wo
r
k for notificati
o
n
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
And
r
e
a
s
Ericsson
imp
o
rt: Impo
r
t notifications in a s
e
parate
run
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
Andr
e
as
Ericsson
impo
r
t: Make sure
w
e parse the right string f
o
r se
r
vice
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
A
nd
r
e
as Ericsson
import: Re
m
o
v
e
de
b
ugging ou
t
put
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
Andreas
E
ricsson
sql: Introduce
sql_db_name()
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
Andreas Ericsson
sql
:
Avoi
d
segfaulting on missing database lin
k
i
n
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
Andreas Eric
s
so
n
import: Revamp p
a
r
se_import_notific
a
t
i
o
n
(
)
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
A
n
dreas E
r
i
csson
logutils: Introduce parse_{ho
s
t,s
e
r
v
i
c
e}_state_gently()
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-07
A
ndr
e
as Er
i
csson
import: F
i
rst
stab a
t
impl
e
menting im
p
o
r
t for notifications
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-07
An
d
reas
E
ricsso
n
loguti
l
s:
R
e
vam
p
ho
w
p
a
rse_
{
hos
t
,service}_sta
t
e() works
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-07
A
n
d
r
e
as
E
rics
s
on
De
f
ine
s
ome m
a
cros only onc
e
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-07
Andreas
E
ricss
o
n
test-lparse: Make all tests pass fully
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-07
An
d
reas Ericss
o
n
Merge branch
'
m
a
st
e
r
'
i
n
t
o next
commit
|
commitdiff
|
tree
2010-04-07
Andreas Ericsson
show
l
o
g
: Add pretty-pri
n
t
things for notification
e
vents
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-07
And
r
eas
E
r
i
c
sson
sho
w
log:
Add s
u
p
p
ort for --time
-
for
m
at=durati
o
n
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
Andre
a
s
Ericsson
sh
o
wlog: Replace th
e
blue co
l
or for downtime wit
h
bri
g
ht
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
And
r
eas Ericsson
state: Make sure we
d
uplicate the k
e
ys used for has
h
ing
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
A
n
dreas Ericsson
s
h
o
w
l
og: Add support
for --hide-s
t
ate-dupes
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
Andreas Ericsson
showlog: Op
t
imi
z
e
a
way
o
n
e
call to parse_{host,ser
v
ic
e
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
Andreas Eric
s
s
o
n
s
how
l
o
g
: Don't show INITIAL/CURRENT state for
u
n
in
t
eresting
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
Andrea
s
E
r
icsson
state api: Make *_has_n
e
w
_state() u
s
able witho
u
t
a
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
Andreas Ericsson
state
.
c
:
S
quelch warning about lacking prototype for
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
next