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: Don't bother enabling indexes if we're more than 95% done
2010-05-05
Andreas Erics
s
o
n
impor
t
:
D
on'
t
bo
t
her enabl
i
ng indexes if we're mor
e
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-05
An
d
reas Er
i
c
sson
impo
r
t: Disable indexes on-de
m
and
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-05
An
d
reas
Ericsso
n
import: Crea
t
e disable_indexes()
and enable_indexes(
)
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-05
Andrea
s
Ericsson
Augme
n
t e
n
d_pro
c
e
ss() with amount of bytes
ski
p
p
e
d
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-05
Andreas Ericsson
impor
t
: Fix progress output ETA wh
e
n skip
p
ing files
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-05
A
n
dreas
Ericsson
showlog:
Rem
o
ve deb
u
gging outpu
t
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-05
Andre
a
s
E
r
icsson
specfile: Fix
m
essa
g
es written befor
e
and aft
e
r r
u
nning
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-04
Andr
e
as Eric
s
son
sho
w
log: Fil
t
e
r in al
l
e
vents by defau
l
t
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-04
And
r
eas Ericsson
show
l
og: Let flapping and downtime 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
'
v
ersions
o
f all 'hide'
o
p
tions
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-04
Andreas Ericsson
ap
p
s: Add gcc attribut
e
s to usage() fun
c
tio
n
s
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-04
A
n
d
r
eas Ericsso
n
i
m
port: Mak
e
tobytes() take
a
uint64_t argument
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-04
Andr
e
as Ericsson
import::
t
o
b
ytes(): Make sur
e
w
e
n
ever shif
t
beyond
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-30
An
d
reas
E
r
ics
s
on
impo
r
t: Speed up incremental imports considerably
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-27
Andreas
Ericsso
n
imp
o
r
t: Use uint64_t
f
or cou
n
ting
bytes
and
lines in
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-26
An
d
reas Ericsson
Mak
e
fi
l
e:
s/QU
I
TE_LINK/QUI
E
T
_
LINK/
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-23
Andreas Er
i
csson
specfile: Use i
m
por
t
's ability
t
o
find logfiles by
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-23
A
ndreas Ericsso
n
i
mport: Ad
d
usage() functi
o
n
a
nd
g
rok --help
argument
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
A
ndre
a
s Eri
c
ss
o
n
t
est-hash: Rem
o
ve unused code a
n
d variables
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
A
ndreas Erics
s
on
test_utils
.
h
:
a
dd
prototype for t_start()
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
te
s
t-hash: Use t_s
t
ar
t
(
)
in
s
tead of handcraf
t
ing
a
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
A
n
dreas Ericss
o
n
test-lparse: Use t_start() and t_end(
)
p
roperly
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andre
a
s
E
r
icsson
ne
b
test: Use
t_st
a
rt() instea
d
of setting
our ow
n
topi
c
s
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericss
o
n
test_utils: Indent and
p
refix te
s
t topic
s
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
And
r
eas
E
r
i
csson
utils: Rem
o
v
e
w
ar
n
ing about "no host
l
i
s
t,
so no
t
hing
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsso
n
test_utils: Print newl
i
ne
after starting te
s
t
to
p
ic
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
.
gitignore test-hash
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Er
i
css
o
n
nebtest: Re
-
en
a
ble chec
k
ing callbacks
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
A
n
dreas
E
r
icsson
import
:
Only print downtime debug
data if dt
_
start
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
And
r
e
a
s Ericsson
Makefile: Run nebt
e
st without echo
i
n
g the command
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
An
d
reas
E
r
i
css
o
n
i
mport: Re
m
ove d
o
wntime
as
we wa
l
k the
hashes
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
Add
t
est-hash
.
c
,
to te
s
t hash_walk_
d
ata()'s new rem
o
val
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
And
r
e
a
s
Ericsso
n
test_uti
l
s: Ma
k
e
te
s
t headers appe
a
r i
n
cy
a
n
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
A
nd
r
e
as Eric
s
son
Makefile: Require 'test' when building
a
ll
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas E
r
icsson
nebtest
:
Us
e
the tes
t
ing functions
from
t
est_utils
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Er
i
cs
s
on
test-lparse:
U
s
e
test_util
s
in test-
l
parse
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
A
ndr
e
as Er
i
csson
logging: P
r
int final newl
i
ne to s
a
me
f
i
le-pointer a
s
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andr
e
as Ericsson
imp
o
r
t: Purge expired down
t
ime when w
e
're done importing
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
im
p
ort: Pri
n
t remaining
downt
i
me i
n
hash tables
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
hash: Support forcing deb
u
g printing of ha
s
h
tables
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andre
a
s Ericsson
Add test
_
u
t
ils
l
ib
r
a
ry
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
A
ndreas Ericsson
h
a
s
h
: Ad
d
support fo
r
walker to re
m
o
v
e
entries
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
A
ndreas E
r
i
c
s
s
on
import: Move som
e
code around in
pu
r
ge_e
x
pired_dt()
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
i
m
port: Use
the new hash_debug_table() macro and i
t
s
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Er
i
csson
hash: Add hash_debug_print_t
a
b
le_data
(
)
f
unc
t
ion
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Eri
c
s
s
on
h
ash: Count r
e
moved and added entries
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Eric
s
son
impor
t
: Count
(and
print) skipped do
w
ntime
entries
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
A
n
dreas Ericsson
hash: Change order of ar
g
uments when checking hash
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-19
A
n
dreas Eri
c
sson
hooks:
Handle NEBTYPE_DOWNTIME_D
E
LETE
e
vents p
r
operly
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-19
Andreas Ericsson
veri
f
y_import: Update mysql_result() usage
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-19
And
r
e
as Ericsson
verify_import
:
Ma
k
e d
a
taba
s
e table a command
-
l
in
e
o
p
t
i
on
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-16
Andreas Eric
s
s
o
n
showl
o
g: Add --hide-a
l
l
co
m
m
a
n
d line op
t
ion
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-16
Andreas Erics
s
on
showlog: A
d
d support
f
or print
i
ng log timest
a
m
p
skews
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-09
Andr
e
as Ericsson
im
p
ort: Make sure desc is always i
n
itialized
properly
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-09
Andreas Ericsson
impor
t
: Fi
x
sql
e
rro
r
in serv
i
ce notifi
c
a
tion i
n
s
e
rtion
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
An
d
reas E
r
icsson
im
p
ort: Make
s
ure we ha
n
dle broken
not
i
fica
t
ion rea
s
on
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
Andr
e
as
Er
i
csson
M
e
rge branch 'next'
commit
|
commitdiff
|
tree
2010-04-08
Andr
e
as Ericsson
import: Hon
o
r
--no-
s
ql when importing notific
a
tions
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
A
ndreas Ericsson
import: Make i
n
c
r
emental mod
e
work for notif
i
c
ation
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
Andr
e
as Ericsson
i
m
p
ort: I
m
port
n
otifications in a
s
eparate run
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
A
ndre
a
s Ericsson
import: M
a
ke sure w
e
parse the right st
r
in
g
for
s
ervice
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
Andreas Ericsson
i
mport: Remov
e
d
e
b
ugging o
u
tput
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
Andrea
s
Eric
s
son
sql: Introduce sql_db_name()
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
And
r
eas
E
ricsson
sql: Av
o
id
s
egfa
u
lting on missing database link
in
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
A
n
d
r
e
as Ericsson
i
m
por
t
: Revamp parse_import_notification()
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
Andreas Eric
s
son
log
u
tils: Int
r
oduce pa
r
se_{host,service}_st
a
t
e
_g
e
n
tly()
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-07
Andr
e
as
E
ricsson
import: First s
t
ab at implemen
t
ing
im
p
ort for notifications
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-07
A
n
dreas Ericsson
l
ogut
i
ls: Revamp how pars
e
_{h
o
st,
s
ervi
c
e}_
s
t
at
e
(
) works
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-07
And
r
eas Ericsson
Define some macros only o
n
ce
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-07
Andreas Er
i
c
sson
test-l
p
arse: Make all tests p
a
ss fully
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-07
Andre
a
s Ericsson
Mer
g
e br
a
nch 'master
'
into next
commit
|
commitdiff
|
tree
2010-04-07
A
nd
r
eas Er
i
cs
s
on
sh
o
wlog: A
d
d pretty-pri
n
t things for notific
a
tion eve
n
ts
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-07
And
r
ea
s
E
r
i
csson
s
h
owl
o
g: Add
support for --t
i
m
e
-f
o
r
m
a
t
=duration
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
Andreas E
r
icsson
showl
o
g:
R
eplace the blue color for downtim
e
with brigh
t
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
A
ndreas
E
rics
s
o
n
s
t
ate: Make sure
we
duplicate the keys used for h
a
shin
g
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
A
n
d
re
a
s Ericsson
s
h
owlog: Add suppor
t
fo
r
--hide-stat
e
-d
u
pes
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
Andreas Eri
c
sson
sh
o
wlog:
O
ptimize a
w
ay one call to pa
r
se_{host,service
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
Andreas Er
i
csson
showl
o
g:
Do
n
't show INIT
I
AL/CURRE
N
T state for
unint
e
rest
i
ng
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
An
d
reas Ericsson
state api: Mak
e
*_has_new_state() usable
without
a
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
Andrea
s
Ericsson
sta
t
e
.
c: Squelch warnin
g
a
bout lacking prot
o
ty
p
e for
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
Andreas Er
i
csson
Makefi
l
e
: Buil
d
tes
t
-lpars
e
with s
a
ne
l
i
n
ki
n
g options
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
A
ndrea
s
E
ricsson
Makefile:
Make CPPFLA
G
S an
d
C
FLAGS customizable by
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
Andreas Ericsson
Makefile: Add
d
efaul
t
L
DF
L
AGS and
m
ake i
t
o
verr
i
da
b
le
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
A
n
dreas
Er
i
csson
Brea
k
o
u
t
{host,s
e
r
v
ice}_has_n
e
w_
s
tate()
t
o their o
w
n
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
Andreas Ericsson
Repl
a
ce #incl
u
de <nag
i
o
s
/foo
.
h> with #include "nagios
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-25
Andreas Er
i
csson
cfgfil
e
:
Re
m
o
v
e trailin
g
whitespace in variabl
e
values
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-25
A
n
dre
a
s Er
i
csson
showlog: Fix DST handling
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-24
Andreas Ericss
o
n
showlog
:
Update icon name for downtime
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-24
A
ndreas Ericss
o
n
showlo
g
: Fix l
o
gfile sel
e
ction
c
ode f
o
r
th
e
-
-
rever
s
e
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-24
Andre
a
s
E
ricsson
showl
o
g: Im
p
rove {first,last}_time
h
andl
i
n
g
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-24
Andr
e
as
Ericsson
Makef
i
le: Add logutil
s
.
h to lo
g
ut
i
l
s
.
o and showlog
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-24
Andreas E
r
icsson
show
l
og: Pri
n
t w
h
y we're ignoring
a parti
c
ular fi
l
e
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-23
Andr
e
as Ericsson
showlog: Add last touches to
user-based filtering
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Ericsson
sh
o
w
log:
Teac
h
show
l
og about object
s
.
cache
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Eri
c
ss
o
n
showlog
:
Print time even if we
c
ouldn't find
a
color
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-23
Andre
a
s Ericsson
showlog:
P
ri
n
t initial states with the same c
o
lor as
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-23
And
r
e
as Erics
s
on
auth lib: Add
m
issing exclamati
o
n mark in auth_parse_pe
r
mi
s
s
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Ericsson
showlog: Teach
showl
o
g a
b
o
ut
-
-
u
ser and --cgi-
c
fg
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Eric
s
son
showlo
g
: Don't crash
on ill
e
gal argume
n
ts
s
ho
r
ter than
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-23
A
ndreas E
r
i
c
sson
sho
w
log: Mention that log
f
i
l
es
i
s not
a
m
a
n
datory
option
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
next