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
showlog: Let flapping and downtime imply EVT_HOST and EVT_SERVICE
2010-05-04
And
r
eas Er
i
c
s
son
showlog: Le
t
flappi
n
g and do
w
ntime imp
l
y EVT_HOST and
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-04
Andr
e
as Ericsson
sh
o
w
l
og: Add 'show
'
ve
r
s
ions of all 'h
i
de' options
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-04
Andreas Ericsson
ap
p
s
:
Add gcc attributes
t
o usage() functi
o
ns
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-04
And
r
eas
E
ricsson
i
m
port:
M
ake tobytes() ta
k
e a uint64_
t
argument
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-04
A
ndre
a
s Ericsson
import::toby
t
es():
M
ake sure we
n
ever shi
f
t
beyond
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-30
Andr
e
as Ericsson
i
m
p
o
rt: Speed up incremental im
p
ort
s
con
s
i
d
e
rably
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-27
Andre
a
s Eric
s
s
on
import:
Use uint64_t for co
u
n
ting bytes and lines in
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-26
Andrea
s
Er
i
c
s
son
Makef
i
l
e: s/QUITE_LINK/QUIET_LINK/
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-23
Andre
a
s E
r
icsso
n
specfile: Use import's ability to
fin
d
log
f
ile
s
by
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-23
A
ndr
e
a
s
Ericsson
imp
o
r
t: Add usage() function and gr
o
k
-
-h
e
l
p argument
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
A
ndreas Ericsson
tes
t
-hash: Remove unused code an
d
variables
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
A
n
dr
e
as
E
r
i
c
s
son
test_
u
tils
.
h: add pr
o
t
o
type for t_st
a
r
t
()
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
A
ndreas Eri
c
s
son
t
e
st-ha
s
h: Use t_start()
instea
d
of ha
n
dcrafting
a
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
te
s
t
-l
p
arse: Use t_start() and t_end() properly
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andr
e
as Ericsson
nebt
e
s
t
:
U
s
e t
_
start
(
) instead of setting our own
topics
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andr
e
a
s E
r
icsson
tes
t
_uti
l
s: In
d
ent and p
r
e
f
ix tes
t
topics
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
A
n
dreas Ericsson
utils: R
e
move warning about "no hostli
s
t,
s
o nothing
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsso
n
t
e
st_utils: Print n
e
wline afte
r
starting test topic
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
An
d
reas E
r
icsson
.
gitignore
t
e
s
t
-hash
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Eric
s
son
nebtest
:
Re-
e
nable checking callback
s
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
An
d
reas
E
r
icss
o
n
import: Only print d
o
wntim
e
debug da
t
a if dt_start
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericss
o
n
Make
f
i
l
e
: R
u
n nebt
e
s
t
w
ithout echoing the
c
omm
a
nd
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
And
r
eas Er
i
css
o
n
im
p
o
r
t
: Remove
d
o
w
nt
i
me as
we wa
l
k the
h
ashe
s
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andrea
s
E
ricsson
Ad
d
t
e
st-hash
.
c, t
o
te
s
t h
a
sh_w
a
lk_data()'s new removal
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
test_utils: Make test headers appear in cyan
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
And
r
eas Eric
s
so
n
Makefile:
R
equire
'test' when
building all
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
An
d
reas Ericsson
nebtest: Use the tes
t
ing functions fr
o
m test_utils
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andre
a
s
Ericsson
te
s
t-
l
pars
e
: Use test_utils
in test-lpar
s
e
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas E
r
icsson
logg
i
ng:
P
rin
t
final newline t
o
s
a
m
e fi
l
e-po
i
nter as
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
A
n
drea
s
Ericsson
impor
t
: Purg
e
expired dow
n
time when we're done
importin
g
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
And
r
eas Ericss
o
n
import: Print r
e
maining downti
m
e in
hash tab
l
e
s
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
An
d
re
a
s Ericsson
h
a
sh: Supp
o
rt forcing debug printing of
h
a
s
h tables
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
Add te
s
t_utils library
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andre
a
s Erics
s
o
n
has
h
: Add
sup
p
or
t
for walker
t
o remove
e
n
t
ries
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andr
e
a
s
Ericsson
import:
M
ove some code arou
n
d in purg
e
_ex
p
ired_dt()
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
A
n
dreas Ericsson
import: Use t
h
e new ha
s
h_debug_tabl
e
()
macro and its
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andre
a
s Eric
s
son
hash
:
Add has
h
_debug_p
r
i
n
t_table_
d
ata() fun
c
tion
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
And
r
eas Ericsson
hash: Count remo
v
ed and
a
dded entries
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
An
d
reas
E
ri
c
sson
im
p
ort: Count (and prin
t
)
skipped down
t
ime
e
n
tries
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
hash: Chan
g
e order of ar
g
u
m
ents
when ch
e
cking h
a
sh
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-19
Andreas Ericsso
n
ho
o
ks: Handl
e
NEBTYPE
_
DOWNTIME_DELETE
e
vents prop
e
rly
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-19
A
ndreas
Eri
c
sson
verify
_
import: U
p
date mysq
l
_result() usage
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-19
Andreas Ericsson
verify_
i
mport: Make database table
a
command-line opt
i
on
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-16
Andreas Ericsso
n
showlog: Add --hide-all com
m
and
line option
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-16
Andreas Ericsson
s
h
owlo
g
: Add suppor
t
for printing l
o
g timestam
p
skews
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-09
Andreas Ericss
o
n
impo
r
t: Make sure d
e
sc i
s
a
l
way
s
initialized prope
r
ly
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-09
Andreas Ericsson
impo
r
t: Fix sql error in ser
v
ice notification insertion
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
Andrea
s
Ericsson
import
:
Make sure
we ha
n
d
l
e broken notific
a
t
ion reason
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
Andreas E
r
icsson
Merge
branch 'next'
commit
|
commitdiff
|
tree
2010-04-08
Andreas Ericsson
imp
o
rt:
H
ono
r
--no-sql
w
hen importing
notifications
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
An
d
rea
s
Ericsson
i
mpor
t
: Mak
e
i
n
cremen
t
al mode work
f
or no
t
ification
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
Andrea
s
Ericsso
n
i
m
port:
I
mport
n
otif
i
catio
n
s i
n
a sepa
r
ate
r
u
n
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
A
ndreas Er
i
csson
imp
o
rt: Make sure we p
a
r
se th
e
right st
r
i
n
g for serv
i
ce
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
Andreas
Ericsson
import: Remove debu
g
ging output
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
Andreas Ericsson
sql: Introduce s
q
l_db_name(
)
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
And
r
e
as Ericsson
sql: A
v
oid segf
a
ulting on missing
d
ataba
s
e
link
i
n
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
Andreas Erics
s
on
i
mport:
Revamp parse_import_notification
(
)
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
Andreas Ericsson
l
o
g
u
tils:
I
ntroduce p
a
rse_{
h
ost,servi
c
e}_state_gen
t
ly
(
)
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-07
A
n
drea
s
Er
i
c
sson
import
:
First stab at
i
m
p
l
ementing imp
o
rt for
n
otifications
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-07
A
n
d
r
eas Ericsson
logutils: Revam
p
how parse_{host,se
r
vice}_
s
ta
t
e
() works
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-07
Andreas Erics
s
on
D
efine som
e
mac
r
os only once
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-07
A
ndreas Er
i
csson
test-lparse: Make
al
l
tests pass fully
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-07
Andreas Ericsson
Merge
b
r
a
nch 'master'
into nex
t
commit
|
commitdiff
|
tree
2010-04-07
Andreas Ericsson
show
l
og: Add prett
y
-print thin
g
s
for no
t
ification events
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-07
Andre
a
s Ericsson
showlo
g
: Ad
d
s
u
pport for -
-
time
-
format=duration
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
Andreas
Eric
s
s
o
n
s
h
o
wlog: R
e
plac
e
t
h
e blue color for downtime with bright
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
Andreas
Eri
c
sson
s
tate: Make sure we duplicate the key
s
used for hashing
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
Andreas Ericsson
sho
w
log: A
d
d support for --hide-sta
t
e
-
dupes
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
Andr
e
a
s
Ericsson
showlog: Optimize away one
c
all to parse_{host,service
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
A
n
drea
s
Ericsson
showlog: Don't s
h
ow
INI
T
I
A
L/CURRENT st
a
te fo
r
un
i
nteresting
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
Andreas Ericsson
st
a
t
e
api: Make *_has_new_
s
tate()
usabl
e
without a
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
Andreas Eri
c
s
s
on
state
.
c: Squelch w
a
rning abo
u
t lac
k
ing prototype for
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
An
d
r
eas Ericsson
Makefile
:
B
uild
t
e
s
t-lpars
e
with
s
ane linking
o
pt
i
ons
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
A
n
d
reas Erics
s
on
Makefile:
M
ake C
P
PF
L
AGS and C
F
LAGS customizable by
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
Andrea
s
Ericsson
Makefile: Add
d
e
f
au
l
t LDFLAGS and make it overridab
l
e
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
A
n
dreas Eri
c
sson
Break out {
h
ost,serv
i
c
e}_ha
s
_new_state() to
the
i
r
o
wn
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
A
ndreas Ericsson
Replace #inc
l
ude <
n
agios/
f
oo
.
h> with #
i
nclude "n
a
g
i
os
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-25
An
d
reas
Eri
c
sson
cfgfile: Remove trailing whitesp
a
c
e in variable valu
e
s
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-25
An
d
r
e
as Ericsson
showlog: Fix DST ha
n
d
l
i
n
g
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-24
Andreas Erics
s
on
showlog: Update icon name for
downtime
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-24
Andreas
Ericsson
showlog: Fix logfi
l
e
sel
e
ction code for the
-
-reve
r
se
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-24
Andrea
s
Eri
c
ss
o
n
showlo
g
: Improve
{
fir
s
t,
l
a
st}_time han
d
l
i
ng
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-24
Andreas Erics
s
on
M
a
kefile: Add logutils
.
h to logutils
.
o and showlog
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-24
Andreas
Ericsson
showlo
g
: Print why we're igno
r
ing a
par
t
icular file
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Er
i
csson
s
howlog: Add
l
a
s
t
to
u
ches
to us
e
r-ba
s
ed
fil
t
ering
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Ericsson
showlog: Teach sho
w
lo
g
a
b
o
u
t
objects
.
cache
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
An
d
reas Eri
c
sson
showlog: Prin
t
ti
m
e
even if we couldn't fin
d
a color
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andreas E
r
ics
s
o
n
showlog: Print i
n
itial
s
tates wi
t
h the
s
a
me col
o
r as
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
A
n
dreas Ericsson
auth lib: Add missing
e
xclamation mark i
n
auth_parse_permiss
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Ericsso
n
showlog: Tea
c
h showlog
about --user
a
nd -
-
c
g
i-cfg
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Ericsson
showlog:
D
on't
c
rash on il
l
e
g
al argum
e
nts
s
h
o
rter than
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Eri
c
sson
showlog: Mentio
n
that
l
o
gfiles is
n
ot a
m
andato
r
y op
t
ion
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andreas E
r
icss
o
n
s
howlog:
Stop marking '--nagios-c
f
g' as required
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
A
ndreas
E
ricsson
im
p
or
t
: Don't
c
rash on illegal
a
rguments s
h
orte
r
tha
n
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Ericsso
n
Makefile: Link auth
.
o into the sho
w
log application
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andre
a
s Eri
c
sson
auth
.
h:
M
a
rk all
p
rototypes as 'extern'
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Ericsson
auth lib: Fix auth_parse_
p
e
r
m
i
ssions()
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Er
i
csson
auth
l
ib: Mi
n
or fixes
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Eric
s
son
showl
o
g
: Fix
typo in --he
l
p o
u
tput
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-22
Andreas Ericsson
Add '
a
uth
'
helpe
r
li
b
rary
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
next