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
A
n
d
reas Eric
s
son
impo
r
t:
O
n
ly
r
ead l
a
st time from sql i
f
--in
c
rement
a
l
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-08-31
Andreas Ericss
o
n
impor
t
: Add the 'when' argument for 'increme
n
tal' to
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-08-31
A
ndreas E
r
i
csson
im
p
ort: Add -
-
li
s
t-files
o
ption
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-08-25
Andreas Eric
s
s
on
Remo
v
e barely used, inc
o
mpl
e
te and
u
nnecessary
m
emo
r
y
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-08-24
A
n
dreas Eri
c
sson
s
h
o
wlog: N
e
v
e
r opt o
u
t EVT_HO
S
T
and
E
V
T_SE
R
VICE w
h
e
n
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-08-24
A
ndrea
s
E
r
icsso
n
showlog: Get rid of EVT_INITIA
L
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-07-06
Andreas Ericss
o
n
cfgfile:
S
quelch t
h
e l
a
st compiler w
a
r
ning
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-07-06
A
n
dreas Ericsson
apps: Silence some
c
ompiler wa
r
nings on 64
-
bit a
r
chs
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-07-06
Andreas Ericsson
Makefi
l
e: Update build dependencies for t
e
st-lparse
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-07-06
A
n
dre
a
s
Er
i
c
s
son
M
ake th
e
lpar
s
e
api larg
e
-fi
l
e aware
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-07-06
Andreas
E
ricsson
import: Make pr
o
g
ress reporting a bit
l
ess crazy
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-07-05
Andreas Ericsson
Support
l
arge files on 32bit syst
e
m
s
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-07-05
Andre
a
s Ericsson
Allow l
a
zily connect
i
ng to the d
a
tabase
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-07-05
Andreas
E
r
i
csson
Ma
k
efile:
A
dd target to run
s
ql-dependa
n
t t
e
sts
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-07-05
An
d
reas
E
ri
c
sson
nebtest: Make te
s
t
i
ng using an sql database optio
n
al
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-06-17
Andrea
s
Eric
s
son
s
h
o
wlog: U
s
e localtime() in
s
tead of gmtime(
)
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-24
Andrea
s
Ericsson
showlog: Don'
t
mangle
t
h
e l
t
im
e
variable
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-17
Andreas Ericsson
showlog:
Use uin
t
64_t f
o
r lt
i
me_sk
e
ws, s
k
i
p
and
l
imit
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-17
A
n
d
reas Ericsson
s
h
owlog
:
S
h
o
w ltim
e
skew
s
a
s percentage
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-05
Andreas
E
ricsson
import: Don't e
n
able indexes unless we've disabled
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-05
Andreas Ericsson
import: Don't b
o
t
h
er ena
b
lin
g
ind
e
x
es if
w
e're m
o
r
e
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-05
Andreas Ericsson
imp
o
rt:
D
isable
indexe
s
on-demand
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-05
Andrea
s
E
ricss
o
n
import: Create disab
l
e_ind
e
x
e
s
() and enable_indexes()
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-05
Andreas Ericss
o
n
Augm
e
nt end_pro
c
e
s
s() with amount of by
t
es skip
p
ed
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-05
Andre
a
s Ericsson
i
m
p
ort: Fix progress output ETA whe
n
skipping files
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-05
Andr
e
as Ericsson
sh
o
wlog: Remov
e
de
b
u
g
ging out
p
ut
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 before and after ru
n
n
i
n
g
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-04
Andre
a
s
E
rics
s
on
s
h
owlog: Filter
i
n all events
b
y
default
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-04
A
n
dreas Erics
s
on
showlog: Let
flapping and
downtime
imply EVT_HOST
a
nd
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-04
Andreas Ericsson
showlog: Add 's
h
ow' versions of all 'hide' options
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-04
Andreas
E
r
ics
s
on
apps: A
d
d gcc attributes to usage
(
) fu
n
ctions
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-04
Andreas Er
i
csson
import:
Make t
o
b
ytes() take a
uint64
_
t argum
e
nt
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-04
Andreas Ericsson
import
:
:tobytes()
:
Make sure we neve
r
shif
t
beyond
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-30
Andreas
Erics
s
o
n
impo
r
t: Spe
e
d
up
i
ncremental imp
o
rt
s
consider
a
bly
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-27
Andre
a
s Ericsson
import
:
Use uint6
4
_t fo
r
c
ounting by
t
es and lines
i
n
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-26
Andreas Ericsson
Makefile:
s/
Q
UITE_LINK/QU
I
E
T
_LINK/
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-23
Andreas Ericsson
specfile: Use imp
o
rt's ability to find l
o
gfiles b
y
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-23
And
r
e
a
s Er
i
csson
import:
A
dd usa
g
e(
)
funct
i
on and gro
k
-
-
h
e
l
p
argume
n
t
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
A
ndreas Ericsson
tes
t
-hash:
R
emove un
u
se
d
c
o
de a
n
d variables
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
And
r
eas Ericsson
test
_
utils
.
h: add prot
o
type fo
r
t_start()
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andre
a
s Eri
c
sson
test-hash: Use t_start
(
) inst
e
ad of hand
c
ra
f
ting
a
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
An
d
reas E
r
icss
o
n
te
s
t-lpar
s
e: Use t_start()
a
nd t_en
d
()
p
roperly
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
And
r
eas Eri
c
sson
nebtest: U
s
e t_start() instead of setting o
u
r own top
i
c
s
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andr
e
as Eri
c
sson
t
est_utils: Indent and prefix test topics
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Erics
s
on
utils: Remove warning abo
u
t "no hostlist, so nothing
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andre
a
s Ericsson
test_
u
tils: Print n
e
wl
i
ne after startin
g
test topic
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
.
gitig
n
ore test-hash
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
nebtest:
Re-enable che
c
ki
n
g
callback
s
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
i
m
p
ort: Onl
y
print downtime debug d
a
ta if dt_s
t
art
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
A
n
dre
a
s Eri
c
sson
Make
f
ile:
Run nebtest witho
u
t
e
cho
i
ng t
h
e command
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
A
ndreas Er
i
csson
import:
Remove downti
m
e
as we
walk the
h
ashes
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
Add test
-
hash
.
c
,
to test
h
as
h
_wal
k
_data(
)
'
s
n
ew remova
l
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
A
n
dreas Ericsson
test_utils: Ma
k
e tes
t
headers
a
ppear
in cyan
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andrea
s
Ericsson
Makefile: Re
q
u
i
r
e
'tes
t
' w
h
en
b
uilding
all
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andr
e
as Eric
s
son
n
e
b
test: Use
the testing functions f
r
om t
e
st_utils
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
And
r
eas Ericsson
test-lpar
s
e
: Use te
s
t
_utils in test-lparse
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andrea
s
Ericss
o
n
logging: Prin
t
final newli
n
e to s
a
me file-pointer as
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andrea
s
E
r
icss
o
n
import: Purge e
x
pir
e
d d
o
wntime when we're do
n
e importing
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
A
n
dreas Eric
s
son
import: Pri
n
t
remai
n
ing downtime
in
hash
tables
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
hash: Support f
o
rcing debug printing
o
f
hash ta
b
les
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
An
d
re
a
s E
r
icsson
Ad
d
test_ut
i
ls library
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
h
a
sh: Add
support
f
o
r
walker to r
e
m
ove entries
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
A
nd
r
ea
s
Ericsson
impor
t
: Mo
v
e some code around in pur
g
e_expired_dt()
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Erics
s
on
import: Use
t
he new hash_
d
ebug_t
a
bl
e
() macro
a
nd its
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
And
r
eas Ericsson
hash: Add hash_de
b
ug_print_table_data(
)
f
unction
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Eri
c
ss
o
n
h
ash:
Coun
t
re
m
ov
e
d
and added e
n
t
ri
e
s
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
import: Count
(
a
nd pri
n
t) skippe
d
downtime entries
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andre
a
s Ericsson
h
ash:
Chang
e
order of arguments when
c
hecking hash
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-19
And
r
ea
s
Eric
s
son
hooks: Handle
NEBTY
P
E_DOWNTIME_DELETE
e
ve
n
ts properly
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-19
An
d
r
e
as Ericsson
verify_impor
t
: U
p
date mysql_result() usa
g
e
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-19
A
n
dre
a
s Eric
s
son
v
e
rify_import: M
a
ke
data
b
ase
table a co
m
mand
-
line option
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-16
Andreas Eric
s
son
showlo
g
: Add --
h
ide-
a
ll command line option
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-16
Andreas Ericsso
n
showlog:
A
dd supp
o
rt fo
r
printin
g
l
o
g t
i
mestam
p
sk
e
ws
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-09
Andreas
E
ricsso
n
import: Make su
r
e
desc is always
initiali
z
ed
properl
y
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-09
A
n
dreas E
r
i
c
sson
im
p
ort: Fix sql error in service notifica
t
i
on insertion
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
A
ndreas Ericss
o
n
import:
Make sure we handl
e
br
o
k
e
n not
i
fic
a
tion rea
s
on
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
Andreas E
r
icsson
Mer
g
e branch 'next'
commit
|
commitdiff
|
tree
2010-04-08
Andreas Eric
s
s
o
n
imp
o
rt: Hon
o
r --
n
o-sq
l
w
h
en importing notificatio
n
s
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
A
n
dreas Er
i
csson
impor
t
: M
a
k
e incremental
m
ode
work fo
r
notification
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
Andreas E
r
ics
s
on
import: I
m
port notifications in
a
separa
t
e
r
un
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
Andreas
E
rics
s
on
import: M
a
ke sure we
p
a
rse
t
he righ
t
string
f
or service
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
Andre
a
s Eric
s
s
on
import: Remove debu
g
gi
n
g output
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
Andreas
E
r
icsson
sql:
I
ntroduce sql_db_name()
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
Andr
e
as Er
i
csson
sql: Avoid segfaulting on missin
g
databa
s
e li
n
k
i
n
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
Andreas
E
ri
c
s
son
i
m
port: Revamp p
a
rse_import_no
t
ifica
t
ion()
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
Andreas Eri
c
sson
l
o
g
utils:
I
n
trod
u
ce
parse_{host,servi
c
e
}
_state_gent
l
y()
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-07
Andr
e
a
s
Ericsson
i
m
po
r
t: Firs
t
stab a
t
i
mpleme
n
ting impo
r
t
for no
t
ifications
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-07
Andreas Ericsson
l
ogutils:
R
evamp how
p
arse_{h
o
st,service}_state
(
) works
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-07
Andreas Ericsso
n
Defin
e
some macr
o
s onl
y
once
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-07
Andreas Ericsson
test
-
lparse: Mak
e
all test
s
pass fu
l
l
y
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-07
Andre
a
s Ericsson
Merge branch
'
master' into next
commit
|
commitdiff
|
tree
2010-04-07
A
n
dreas Erics
s
on
showlog: Add pretty-print things for
notification
even
t
s
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-07
Andreas Ericsson
showlog: Add
support for --ti
m
e-fo
r
m
at=duration
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
Andreas E
r
icsson
showlog: Repl
a
ce
t
he b
l
u
e
color
for dow
n
time
w
ith bri
g
ht
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
Andreas Ericsso
n
state
:
Make
s
ure we duplica
t
e t
h
e
k
e
ys u
s
e
d for has
h
ing
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
Andreas Ericsson
showlog:
A
d
d
s
u
pport for --hide-stat
e
-dupe
s
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
Andreas
Ericsson
showlog: Optimize away one call to pa
r
s
e
_
{host,s
e
rvic
e
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
Andrea
s
Erics
s
o
n
s
h
owlo
g
: Don't show IN
I
TIAL/CUR
R
ENT state
f
o
r uninteresting
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
Andreas Er
i
c
ss
o
n
st
a
t
e ap
i
: Make
*_has_new_state
(
) usable
withou
t
a
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
A
ndreas Ericsson
stat
e
.
c
: Squelch warning abo
u
t lacking prototy
p
e for
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
next