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
Andr
e
as
Ericsson
i
m
p
ort: Only
re
a
d
last time f
r
om sq
l
i
f
--increment
a
l
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-08-31
Andreas E
r
icsson
import: Add the
'
when
'
a
rgume
n
t f
o
r '
i
ncremental' to
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-08-31
Andreas Ericsson
import: Add --list-files option
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-08-25
Andreas E
r
i
c
sson
Remove barely u
s
ed, incomplete and u
n
nec
e
ssary memo
r
y
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-08-24
Andreas Ericsson
s
ho
w
lo
g
: Ne
v
er opt out EV
T
_HOST a
n
d
E
V
T_S
E
RVICE whe
n
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-08-24
And
r
e
a
s
Eric
s
son
s
h
owlog: G
e
t rid of E
V
T_INITIAL
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-07-06
Andrea
s
Eric
s
son
cfgfi
l
e: S
q
uelch the last compiler wa
r
nin
g
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-07-06
Andreas Eric
s
s
o
n
ap
p
s: Sil
e
nce some
c
ompiler warnin
g
s
o
n 64-bit archs
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-07-06
Andr
e
a
s
Eric
s
son
Makefile:
U
pdate build dependencies for test-lparse
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-07-06
A
n
dreas Ericsson
Mak
e
t
h
e lparse ap
i
la
r
ge-fil
e
aware
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-07-06
Andreas
Ericss
o
n
impo
r
t: Make
progress re
p
orting
a
bit less
c
r
a
zy
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-07-05
Andreas Ericsso
n
Support l
a
rg
e
files on 32bit systems
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-07-05
Andr
e
as Ericsson
A
l
low l
a
zily connecting to the database
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-07-05
Andr
e
a
s Er
i
csso
n
Makefile: Add target to run sql-dep
e
ndant tests
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-07-05
Andreas Ericsson
nebtest: Ma
k
e testi
n
g
using an sql datab
a
se
optional
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-06-17
Andreas Er
i
csson
sh
o
wlog: Use localtime()
i
ns
t
e
a
d of gmtime
(
)
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-24
Andreas Ericsson
show
l
og: Don't mangl
e
the
ltim
e
va
r
iabl
e
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-17
Andr
e
a
s
Ericsso
n
showlog: Use uint64_t
for
ltime_skews,
skip and li
m
it
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-17
A
n
dreas Ericsso
n
s
h
owlog: Sho
w
ltime
s
k
e
ws as percentage
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-05
And
r
eas Ericsson
i
mp
o
r
t: Don't
e
nable indexes un
l
ess we've di
s
abled
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-05
Andr
e
as Ericsson
i
mport: Do
n
't both
e
r
e
nabl
i
ng indexe
s
if we'
r
e
more
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-05
Andreas Ericsson
import: Disable
i
ndexes
o
n
-
demand
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-05
An
d
r
e
a
s
Ericsso
n
i
mpo
r
t: Create disable_indexes(
)
and enable_in
d
exes()
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-05
Andrea
s
Ericsson
A
ugmen
t
end_
p
roces
s
() w
i
th
a
mo
u
n
t of bytes sk
i
pped
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-05
Andre
a
s Ericsson
i
mport: F
i
x
p
r
ogress output
ETA whe
n
skipping
f
i
les
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-05
A
n
d
reas Er
i
csso
n
sho
w
log: Remove debugging output
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-05
Andreas Er
i
csson
specfile: Fix
messag
e
s written bef
o
re and after running
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-04
A
ndre
a
s Erics
s
on
sh
o
wlog: Filter i
n
all events
b
y default
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-04
Andreas Ericsson
showlog
:
Let flapping an
d
dow
n
time imply EVT_HOST and
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-04
A
ndr
e
as Ericsso
n
sho
w
log: Add 'sho
w
' ve
r
si
o
ns of all 'hide' option
s
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-04
Andreas
E
ricsson
apps: Add gcc attributes to
us
a
ge() functio
n
s
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-04
Andreas Ericsson
i
m
p
o
r
t
: Make tobytes
(
) t
a
ke a
uint64_t argume
n
t
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-04
Andreas Erics
s
o
n
i
mport::tobyte
s
():
M
ake sure we never
shift
beyond
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-30
An
d
rea
s
Ericsson
import: Speed up increm
e
ntal imports considerably
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-27
A
n
dreas Eri
c
sson
import: Us
e
uin
t
64_t for counting bytes and
lines in
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-26
Andreas
Ericsson
Makefile:
s
/QUITE_LINK/QUIET_LINK/
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-23
Andreas Erics
s
on
spec
f
i
l
e: Use
i
mport's a
b
ility to find lo
g
files by
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-23
Andreas Er
i
csson
i
m
port: Add usage()
fu
n
c
tion and
grok --help
argument
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
A
n
d
r
e
a
s
Ericsson
tes
t
-h
a
sh: Remove
unused code and varia
b
les
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
And
r
e
a
s Ericsson
test_ut
i
ls
.
h:
a
d
d
prototyp
e
for t_start()
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
tes
t
-
h
ash
:
Use t_start() in
s
tead of handcrafting a
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
An
d
reas Eri
c
sson
t
est-lparse: Use t_st
a
r
t() and t_end() properly
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
A
n
dreas E
r
icsson
ne
b
test: Us
e
t_sta
r
t() in
s
tead
o
f
setting ou
r
o
wn topics
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andrea
s
Ericsson
test_utils: Indent and
p
ref
i
x
test topics
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
A
ndre
a
s
Ericsson
u
t
i
ls: Remove warning ab
o
ut "no hostlist, s
o
noth
i
ng
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andrea
s
E
ricsson
test_utils: Prin
t
newline after star
t
ing t
e
st topic
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
A
ndreas Ericsson
.
gi
t
i
g
nore te
s
t-hash
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas
Ericsson
nebtest: Re-enable check
i
ng callb
a
cks
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
And
r
eas Ericsson
import:
Only p
r
int downt
i
me
de
b
ug data if dt_start
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Eric
s
son
Makefile:
Ru
n
nebtest wi
t
hout echoing the command
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andre
a
s Eri
c
sson
impor
t
:
Remove downtime as we
walk the hash
e
s
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Eric
s
so
n
Add test-hash
.
c, to test hash_walk_da
t
a()'
s
new removal
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
t
est_utils:
M
a
ke test headers ap
p
ear in cy
a
n
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
Makefile: Require 't
e
st' wh
e
n buildin
g
all
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
A
n
dreas Eri
c
sso
n
neb
t
es
t
: Use
the testi
n
g function
s
from test_util
s
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Eri
c
s
son
test-lparse: Use test_u
t
ils i
n
t
est-lparse
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andre
a
s Erics
s
on
l
o
g
ging:
P
rint
f
inal
new
l
ine to sam
e
f
i
le-poi
n
t
e
r as
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
An
d
reas Erics
s
on
import: P
u
rge expir
e
d down
t
ime when w
e
'
re done importing
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andre
a
s Ericss
o
n
import: Print remaining downtime in hash ta
b
le
s
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas E
r
ics
s
on
hash: Su
p
port forcing deb
u
g printin
g
of ha
s
h tables
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andrea
s
Eric
s
s
o
n
Add test_utils librar
y
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Eric
s
s
o
n
hash: Add suppo
r
t for wa
l
ker
to
r
emove
entries
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andr
e
as Er
i
c
s
son
import:
Move some
code a
r
ound in purge
_
expired_dt()
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
import: Use the new hash_d
e
bug_t
a
b
le() macro and its
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andr
e
as Ericsson
ha
s
h: Add hash_
d
ebug_print_table_data() function
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andrea
s
Ericsson
hash:
C
ount removed
a
nd add
e
d en
t
ries
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas
E
r
icsson
import:
C
ount
(
and pr
i
nt) skipped do
w
ntim
e
ent
r
ie
s
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
A
n
dre
a
s Ericsso
n
hash: Change orde
r
o
f argument
s
when che
c
kin
g
hash
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-19
Andreas Ericsson
hook
s
:
H
a
n
dle NEBTYPE_DOWNTIM
E
_DELETE even
t
s properly
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-19
Andre
a
s Ericss
o
n
verify_im
p
o
rt: Update my
s
ql_result() usage
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-19
A
n
dreas Eri
c
s
s
o
n
verify_i
m
port:
M
ake datab
a
se table
a command-line option
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-16
Andreas Eric
s
son
showlog:
A
dd --hide-al
l
c
o
mmand l
i
n
e
option
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-16
An
d
reas Ericsson
s
howlog:
A
dd s
u
p
p
ort for printi
n
g
l
o
g
t
i
mestamp
s
k
ews
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-09
Andrea
s
E
ricss
o
n
import: Make sure desc is alway
s
initialized pro
p
e
rly
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-09
Andreas Ericsson
impor
t
:
F
i
x sql error in servi
c
e notifi
c
ation insertion
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
Andreas Ericsson
impo
r
t: Make s
u
re we handle bro
k
e
n notification reas
o
n
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
Andr
e
a
s
E
ricsson
Merge br
a
n
ch 'n
e
x
t
'
commit
|
commitdiff
|
tree
2010-04-08
A
n
dreas
Eric
s
son
i
mport: Honor --no-sql when i
m
porting no
t
ifications
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
A
ndrea
s
Ericsson
import: Make
incremental mode work
for notification
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
An
d
reas Ericsson
i
mport:
I
m
p
ort
notifica
t
io
n
s
in a separate run
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
Andr
e
a
s
Er
i
csson
import: Make
s
ure we par
s
e the r
i
ght string for
se
r
vice
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
Andrea
s
Ericsson
impor
t
:
Remove debugging output
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
And
r
eas Erics
s
on
sql: Introduce sql_db_name()
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
Andreas Eric
s
s
on
sql: A
v
o
i
d se
g
fau
l
ting on m
i
ssi
n
g
database link in
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
Andreas Er
i
c
s
s
o
n
import: Rev
a
mp parse_import_notifica
t
ion()
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
A
n
dreas Ericsson
logu
t
ils
:
Introdu
c
e
parse_{host,service}_state_g
e
ntly
(
)
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-07
Andrea
s
Eri
c
s
son
import: First stab at implementing import for notific
a
tions
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-07
Andreas
Ericsson
logutils: Revamp how parse_{ho
s
t,service}_state() wo
r
ks
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-07
A
n
dreas Eri
c
sson
Define
s
ome macr
o
s only
once
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-07
Andreas Er
i
c
s
s
on
test-lpars
e
: Mak
e
all tests pass
fully
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-07
A
ndreas Ericsson
Merge
branch 'master' into next
commit
|
commitdiff
|
tree
2010-04-07
An
d
reas Ericsson
showlo
g
:
Add
p
retty-print things for notification
events
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-07
Andreas Ericsson
s
h
o
w
l
og: Add suppor
t
for --time-form
a
t=durat
i
o
n
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
Andreas Ericsson
showlog:
Replace the blue color for down
t
i
me wi
t
h bright
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
Andreas Ericss
o
n
stat
e
: Make sure
w
e dupli
c
ate
t
h
e ke
y
s u
s
ed for hashi
n
g
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
And
r
eas
E
ri
c
ss
o
n
sh
o
wlog:
Add suppor
t
for
--hide-
s
tate-dupe
s
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
A
n
drea
s
E
r
i
csson
showlog:
O
pti
m
ize a
w
ay one cal
l
to parse_{host,se
r
vice
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
Andre
a
s Ericsson
s
ho
w
log: Don
'
t show INITIAL/CURRENT state
for
u
nin
t
erest
i
ng
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
Andreas Ericsson
state api: Make *_
h
as_ne
w
_s
t
ate() usable without
a
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
Andrea
s
Erics
s
on
sta
t
e
.
c: Squelch warn
i
n
g a
b
out lacking prototype f
o
r
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
next