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
Andreas Ericsson
s
h
o
wlo
g
:
Let
f
lap
p
i
n
g
a
nd downt
i
me i
m
p
l
y EVT_HOST and
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-04
Andre
a
s
Ericsson
s
h
owlo
g
:
A
dd 'show' vers
i
ons o
f
all
'hide' opt
i
o
ns
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-04
Andreas Ericsson
a
p
p
s
: Add gcc attributes
t
o usage() functi
o
n
s
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-04
A
ndr
e
as
Eric
s
son
import: M
a
ke t
o
by
t
e
s() take a uint64_t argument
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-05-04
Andrea
s
Er
i
c
s
s
on
import
:
:tobytes(): Mak
e
sure we neve
r
shift beyond
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-30
Andrea
s
Ericsson
i
m
port: Speed up incremen
t
a
l
i
mports consid
e
rably
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-27
Andreas Ericsson
import: Use u
i
nt6
4
_t
f
or counting bytes and lines in
.
.
.
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
sp
e
cfile:
U
se i
m
port's ability to find log
f
iles by
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-23
Andre
a
s Ericsson
i
mport:
A
d
d
u
s
age()
function and gr
o
k --help argument
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas
E
ricsson
test-hash:
Remo
v
e u
n
us
e
d
code and variables
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
A
ndre
a
s
E
r
icsson
test_
u
tils
.
h: add prototy
p
e
for t
_
sta
r
t()
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
A
ndreas Ericsson
test-
h
ash: Use t_start() instead of ha
n
dcrafting a
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
A
n
dreas Ericsson
test-lparse
:
Use t_star
t
()
a
nd t_end(
)
properly
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas E
r
ic
s
son
nebtest: Use t_start() instead
of s
e
tting o
u
r
own topics
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andre
a
s Ericsson
test_utils: Indent and prefix test topics
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
A
ndrea
s
Eri
c
s
son
utils:
R
emove
w
a
r
n
i
n
g
about "
n
o
hostlist, so nothing
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Eri
c
sson
test_u
t
ils: Print n
e
wline
a
f
ter starti
n
g test topic
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andre
a
s
Ericsson
.
gitignore 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
o
n
import: Only print downtime
debug data if dt_start
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andre
a
s Er
i
csson
M
a
kef
i
le: Run nebtest without echoing the comman
d
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
An
d
re
a
s Erics
s
on
impo
r
t
: Remove d
o
w
nti
m
e
a
s
we walk the hashes
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Eri
c
s
s
o
n
Add
t
est-hash
.
c, t
o
test hash_walk_data()'s
new remov
a
l
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andr
e
as Eri
c
s
son
test_
u
t
i
ls:
M
ake test headers a
p
pear in cyan
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
An
d
reas E
r
i
csson
M
akefile: R
e
quire 'tes
t
' whe
n
building all
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andre
a
s Eri
c
sso
n
nebt
e
s
t
:
Use th
e
testing
f
u
n
c
tions fr
o
m
t
es
t
_uti
l
s
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
A
n
dreas Ericsson
test-lparse: Use test_utils in
test-lparse
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
A
n
d
r
eas Eri
c
sson
l
ogging: Pr
i
nt final newlin
e
to same
f
i
l
e-pointer as
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
i
mport:
P
urge expired downtime
when we're done imp
o
rting
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
And
r
eas Ericsson
imp
o
rt: Print remai
n
ing
d
o
wntime in
ha
s
h ta
b
les
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas
Ericss
o
n
hash: Support for
c
ing debug printing of hash tables
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
Add test_utils li
b
rary
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
hash: Add s
u
p
port for
walker to
r
e
m
ove entries
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
A
nd
r
e
as Ericss
o
n
import: M
o
ve s
o
me code around
in
purge_e
x
pi
r
ed_dt()
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsso
n
i
mpo
r
t: Use
the new hash
_
deb
u
g
_
t
able()
m
a
cr
o
and its
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsso
n
hash: A
d
d
ha
s
h_debug_print_table_dat
a
(
)
function
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Eric
s
son
hash: Count removed and added
e
ntries
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andre
a
s Ericss
o
n
i
m
p
o
r
t
:
Co
u
nt
(and print) ski
p
ped down
t
ime ent
r
i
es
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
And
r
eas Ericsson
hash
:
C
hange order
o
f ar
g
u
m
e
nts whe
n
checking hash
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-19
And
r
eas
E
ricsson
hook
s
:
H
an
d
le
N
EBTYPE_
D
O
WNTIM
E
_DELETE events properly
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-19
An
d
reas E
r
i
c
s
s
on
v
e
ri
f
y_import: Upd
a
te
m
ysql_result() usage
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-19
And
r
eas Er
i
csson
verif
y
_import: Make
data
b
a
s
e t
a
ble a c
o
mmand-line
option
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-16
A
ndre
a
s
E
ricss
o
n
showlog: A
d
d --hid
e
-all com
m
and line
o
ption
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-16
Andreas Eri
c
sson
showlog
:
Add
support f
o
r printing lo
g
tim
e
stamp ske
w
s
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-09
A
ndreas Ericsson
import: Make sure desc is alwa
y
s
i
ni
t
ialized
p
roperly
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-09
Andre
a
s Ericsson
imp
o
rt:
Fix sql error in serv
i
c
e
notificatio
n
insertion
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
Andreas Erics
s
on
import: Mak
e
s
u
re we handle broken
n
o
tificati
o
n
r
eason
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
A
n
d
re
a
s Ericsso
n
Merge b
r
anch 'next'
commit
|
commitdiff
|
tree
2010-04-08
Andreas Eric
s
son
impo
r
t: Honor --n
o
-sql when
importing
n
o
tifications
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
Andreas Ericsson
import: Make increm
e
nt
a
l mode work for
notifi
c
at
i
on
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
And
r
eas Ericsson
im
p
ort: Import
n
otifications in
a separa
t
e run
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
An
d
rea
s
Ericsson
import: Make sure we parse the righ
t
str
i
ng for service
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
Andreas Ericsson
i
mport: R
e
move debuggin
g
output
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
Andreas Ericsson
sql:
I
nt
r
od
u
ce
sql_db_name()
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
Andrea
s
Eric
s
s
o
n
s
q
l: Avoid segfaulting on m
i
s
s
i
n
g da
t
abase li
n
k
in
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
Andreas Erics
s
on
import: R
e
vamp parse_impo
r
t_notificati
o
n()
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
Andreas Ericsson
l
o
gutils:
Introduc
e
p
a
r
s
e_{host,s
e
rvice}_state
_
gently()
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-07
Andreas E
r
i
csson
i
m
port: Firs
t
stab at implementing import for no
t
i
f
ications
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-07
A
n
dreas Eri
c
sson
loguti
l
s:
R
e
vamp ho
w
parse_{h
o
st,
s
ervi
c
e}_state()
w
orks
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-07
Andreas
E
r
ic
s
s
o
n
Define some m
a
cros only once
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-07
Andreas Eric
s
son
test-lparse: Make all
t
e
sts
p
a
ss fully
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-07
A
n
dreas
Erics
s
on
Merge branch 'master' into
n
ext
commit
|
commitdiff
|
tree
2010-04-07
Andr
e
as
E
r
icsson
showlog: Add
p
retty-print things for notification events
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-07
A
n
d
r
e
as Er
i
cs
s
on
s
h
owlo
g
: Add supp
o
r
t f
o
r --ti
m
e-f
o
rmat=durat
i
on
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
Andreas Eric
s
son
showlog
:
Rep
l
ace the blu
e
color for downt
i
m
e
with b
r
ight
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
A
ndr
e
as Ericsson
sta
t
e: Make sure
w
e duplicate the
keys used for hashing
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
Andreas
Ericss
o
n
s
h
owlog: Add
suppor
t
for --hide-sta
t
e-dupes
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
Andreas Ericsson
showlog:
O
p
t
im
i
ze awa
y
o
n
e call to parse_{h
o
st,service
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
And
r
e
a
s
E
r
icsson
s
h
owlog: Don't sh
o
w INITIAL/CURRENT stat
e
for
u
ninterestin
g
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
An
d
reas Ericsson
state api: Make *_has_new_state()
u
s
able withou
t
a
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
A
n
dreas Ericsson
state
.
c: Squelch wa
r
nin
g
abo
u
t
l
a
c
k
i
ng
p
rot
o
typ
e
for
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
Andreas Ericsson
Makefile:
B
uild t
e
st-lpar
s
e with sane linking options
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
A
n
dreas
Ericsson
Mak
e
file:
Ma
k
e CPPFLAGS and CFLAGS customizable by
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
Andreas
Ericsson
Makefile: Add
d
efault LDFL
A
GS and ma
k
e it overridable
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
Andreas
Ericsson
Brea
k
out
{
host,service}_has_
n
ew_s
t
ate() t
o
their own
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
Andre
a
s Eric
s
s
on
Replace #include <nagios/foo
.
h> with
#
i
nclude "nagios
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-25
Andreas
E
ri
c
sson
cfgfile: Remove trailing w
h
ites
p
ace in var
i
a
b
le
v
alues
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-25
A
ndreas E
r
icsson
showlog: F
i
x DST handl
i
n
g
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-24
Andreas
Eri
c
s
son
showlog: Update
i
con name for downtime
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-24
Andreas Ericsson
showlog: F
i
x l
o
gfi
l
e
select
i
on
code
f
or the --reverse
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-24
And
r
e
a
s Ericsson
showlog
:
Impro
v
e {
f
irst,last}_
t
ime ha
n
dling
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-24
Andre
a
s Ericsson
M
akefile: Add logutils
.
h to lo
g
u
t
ils
.
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 ignoring a particular file
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
And
r
eas Ericss
o
n
s
ho
w
log: Add las
t
touches to u
s
er-ba
s
ed filter
i
n
g
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Ericsson
showlog: Teach showlog about ob
j
e
cts
.
cache
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andrea
s
Ericsson
s
h
owlog: Pri
n
t
t
ime even if we cou
l
dn'
t
find a color
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Ericsson
showlog: Print initial s
t
ates with the same col
o
r as
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Eric
s
s
on
auth li
b
: Add missin
g
excla
m
ation
mar
k
in auth_par
s
e_permis
s
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andrea
s
Ericsson
showlo
g
:
Teach
s
how
l
og about -
-
user and --cgi
-
cfg
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
A
n
dreas Ericsson
sh
o
wlog: Do
n
't cra
s
h on illegal arguments shorter
than
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
A
nd
r
eas Ericsson
showlog:
M
ention tha
t
logfil
e
s is no
t
a ma
n
datory option
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andre
a
s Eric
s
son
show
l
og:
S
t
op mar
k
i
ng
'
--na
g
ios
-
c
f
g' as re
q
ui
r
ed
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andre
a
s Ericsson
import:
Don't cra
s
h on ille
g
al arguments shorter t
h
an
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andr
e
as Ericsson
M
a
kefile: Link auth
.
o into the
show
l
o
g
appl
i
c
at
i
o
n
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
A
n
dreas
Ericsson
a
u
t
h
.
h
: Mark all proto
t
yp
e
s as 'e
x
ter
n
'
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andreas
E
ricsson
auth lib:
F
ix auth_parse_permissions()
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
And
r
eas Ericsson
aut
h
lib: Mi
n
or fixe
s
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Er
i
csson
showlo
g
:
Fix typo
in
-
-
h
elp
o
u
t
put
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-22
Andrea
s
E
r
icsson
Add
'
auth' help
e
r li
b
rary
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
next