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
logging: Print final newline to same file-pointer as the rest
2010-04-20
A
ndreas Ericsson
log
g
ing: Print final ne
w
lin
e
t
o same fil
e
-pointer as
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
impor
t
:
Purge expired
d
owntime wh
e
n we're do
n
e impo
r
ting
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
import: Print
rema
i
n
i
ng dow
n
time in hash tab
l
es
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andr
e
a
s Ericsso
n
hash
:
Support for
c
ing de
b
ug printing of hash t
a
ble
s
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andr
e
as Ericsso
n
Add te
s
t_utils library
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Eric
s
s
on
hash: Add sup
p
ort for walker
to remove ent
r
ie
s
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
A
ndr
e
a
s
Ericsson
i
mport:
Move some code aroun
d
in purge_exp
i
red_dt()
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
import: Use the
new
h
a
s
h
_debug_tab
l
e()
macro
a
nd its
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
hash: Add hash_debug_prin
t
_table_dat
a
(
)
func
t
i
o
n
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
h
ash: Count remove
d
and adde
d
e
n
t
r
i
e
s
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
And
r
eas Ericss
o
n
i
mp
o
r
t: Count (and
p
rint) skipped downtime entries
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-20
Andreas
E
ricsson
hash: Change or
d
e
r of arguments when
checking hash
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-19
And
r
eas Er
i
csson
h
ooks
:
Handl
e
NEBTYPE_DOWNTIME_DELET
E
events
p
roperly
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-19
Andre
a
s Ericsson
verify
_
import: Update
m
ysql_result() usage
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-19
Andrea
s
Ericsson
ve
r
i
fy_i
m
port:
Make
datab
a
se table a c
o
mmand-line opti
o
n
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-16
Andr
e
as E
r
icsson
s
h
owlog: Add
-
-hide-all command line option
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-16
A
ndreas Er
i
css
o
n
s
h
owlog: Add suppor
t
f
o
r printing log timest
a
mp skews
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-09
Andreas Ericss
o
n
i
m
p
o
rt: Ma
k
e sure desc is always i
n
i
ti
a
lized
p
rope
r
ly
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-09
A
n
d
reas
Ericsson
imp
o
rt: F
i
x sq
l
error
i
n service notificatio
n
insertio
n
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
Andreas E
r
icsson
im
p
o
r
t
: Mak
e
sure we
handle broken notificati
o
n rea
s
on
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
Andreas
E
ricsson
M
e
rge
branch 'n
e
xt'
commit
|
commitdiff
|
tree
2010-04-08
A
n
dr
e
a
s
Er
i
css
o
n
import: Honor --no
-
s
q
l
when
i
m
porting no
t
i
f
icati
o
ns
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
A
n
dreas Ericsson
import: Make i
n
cremental mode w
o
rk for notifi
c
ation
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
Andreas Eri
c
sson
import: Im
p
o
r
t notific
a
tions in a se
p
arate run
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
Andreas Ericsson
import:
M
ake sure
w
e pa
r
se the right
string for
s
ervice
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
Andre
a
s
Ericsson
import: Remove d
e
b
ugging outp
u
t
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
Andreas Er
i
csson
sql: Intro
d
uce sql_db_n
a
me()
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
Andreas Eric
s
son
s
q
l: Avo
i
d
seg
f
aulting on missing databas
e
l
ink in
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
A
n
d
r
e
a
s
E
ricsson
import: Rev
a
mp
parse_im
p
ort_notification()
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
Andr
e
a
s Ericsson
logutils: Intr
o
duce parse_{ho
s
t,service}_state_gently()
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-07
Andreas Erics
s
on
impo
r
t: First
s
ta
b
a
t
implementin
g
import
f
or notificatio
n
s
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-07
Andreas Eric
s
son
l
oguti
l
s:
R
eva
m
p how p
a
r
s
e_{host,service}_state()
w
o
rks
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-07
An
d
r
e
as Ericsson
Def
i
n
e some macro
s
only o
n
c
e
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-07
And
r
eas Ericsson
test
-
lpar
s
e: Mak
e
all
t
ests pass
fully
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-07
Andreas Ericss
o
n
M
e
rge branch 'm
a
ster' into next
commit
|
commitdiff
|
tree
2010-04-07
Andreas
E
ricsson
s
howlog: Add pret
t
y-pr
i
n
t
things fo
r
n
otif
i
cation ev
e
nt
s
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-07
A
n
dreas
E
ri
c
sson
sh
o
w
l
og: Add support
for --time-f
o
rmat=duration
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
Andrea
s
Ericsson
showlog:
Rep
l
ace t
h
e blue
c
o
l
or
for d
o
wntime with b
r
ight
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
Andre
a
s Erics
s
on
state
:
Make sure we duplicate
the keys used for
h
a
shi
n
g
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
Andreas Ericsson
showlog:
A
dd support for --hide-state-dupes
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
Andreas Eric
s
son
sh
o
w
log: Optimize a
w
a
y on
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
as
E
ricsso
n
sho
w
lo
g
: Do
n
't
s
h
o
w INITIAL/CURR
E
NT s
t
ate for
uninteresting
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
Andreas Ericsson
s
t
ate
a
pi: Ma
k
e *_has_n
e
w
_st
a
te() us
a
ble wi
t
hout a
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
Andr
e
as Ericsson
state
.
c: Squelch warning
ab
o
ut l
a
cking
p
rototype for
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
A
ndreas Eric
s
son
Makefile: Build test-lpa
r
se
w
i
th sane linking option
s
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
Andreas Ericsson
Makefile
:
M
a
k
e
CPPFLAGS and C
F
LAGS cus
t
o
miz
a
ble by
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
Andre
a
s Ericsso
n
Ma
k
e
f
ile:
A
dd de
f
ault LDFLAGS
a
n
d
make it overridable
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
Andreas Eri
c
s
son
Break
o
u
t {host,service
}
_ha
s
_new_state() to their own
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
Andre
a
s Ericsson
Replac
e
#inclu
d
e <nagios/foo
.
h>
with #inc
l
ude "nagios
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-25
Andre
a
s Ericsson
cfgfile: Remove tr
a
iling whitespace in variable values
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-25
An
d
reas Erics
s
o
n
showlog:
F
i
x
D
S
T
h
andl
i
ng
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-24
Andrea
s
Eri
c
sson
s
h
owlo
g
: Update icon name for
d
ow
n
time
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-24
Andre
a
s Ericsson
showl
o
g: Fix logfile
selectio
n
code for the --reve
r
se
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-24
Andreas Ericsson
showlog: Improve {first,last}_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
ake
f
i
l
e
:
Add logutils
.
h t
o
logutils
.
o
and sho
w
lo
g
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-24
Andreas Ericss
o
n
sho
w
log: P
r
i
nt why we're i
g
noring a particular fi
l
e
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
A
ndreas Ericsso
n
s
howlog: Add l
a
st touches to user-based f
i
ltering
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andr
e
as Er
i
csson
show
l
og
:
Teach showl
o
g about
o
b
jects
.
ca
c
h
e
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
An
d
reas
E
ricsson
showl
o
g: Print time
e
v
en if we couldn't find
a
c
olor
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andreas E
r
ics
s
on
s
h
owlog:
P
rint initia
l
st
a
tes
w
i
th th
e
same color
a
s
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Ericsson
a
u
t
h
l
ib: Add
missing exclamation mark in auth_parse_permiss
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Eri
c
sson
showlog: Teach showlo
g
about --us
e
r
a
nd --cgi-cfg
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
An
d
reas
E
r
ics
s
o
n
s
howlog: D
o
n't
c
rash on illegal
a
r
g
uments shor
t
er
than
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Eric
s
s
on
showlog: M
e
nt
i
on that logfiles is not a
m
a
ndatory option
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andrea
s
Ericsson
showlog
:
St
o
p mark
i
ng '--n
a
gios-cfg' as required
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andre
a
s Ericsson
imp
o
rt: D
o
n't crash on ille
g
al arguments
s
horter than
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
And
r
eas Ericsson
Makefile: Lin
k
auth
.
o into t
h
e
s
how
l
og app
l
ication
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Ericss
o
n
auth
.
h: Mar
k
all
protot
y
pes as 'ex
t
ern'
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
A
n
d
reas Eri
c
sson
auth lib: Fix
auth_
p
arse_perm
i
ssions(
)
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
And
r
eas E
r
ics
s
on
a
u
th
lib: Mi
n
or fixe
s
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
A
n
dr
e
as
E
r
i
csson
showlog: Fix ty
p
o
i
n --
h
elp
o
utput
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-22
Andreas Ericsson
Ad
d
'auth' helpe
r
library
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-22
Andreas Ericsson
l
o
gu
t
ils: Make sure we ne
v
e
r add the same
logfile mo
r
e
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-22
Andreas Ericsson
M
a
k
e the apps nagios
.
cfg aware
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-22
A
n
d
re
a
s Ericsson
a
p
ps:
C
onsol
i
da
t
e
h
and
l
ing of
l
ogfile
s
and archiv
e
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-15
Andreas Ericsson
test-lparse:
T
est t
h
at we ca
n
handle logfiles wi
t
hout
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-15
Andreas Erics
s
on
Don't
b
arf
on missing dash
i
n
fil
e
n
ame
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-12
A
n
dreas Ericsson
s
h
owlog: Implement --skip
and -
-
lim
i
t
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-12
Andreas Ericsson
showl
o
g
:
Hi
d
e some
c
rap by
d
efaul
t
wh
e
n r
u
n from
c
ommand
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-12
A
n
dreas Ericsson
showlog: Add optio
n
to hide i
n
itial and curren state
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-12
Andreas Ericsson
sh
o
wl
o
g: Add opt
i
on t
o
h
i
de
log rotat
i
on
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-12
Andr
e
as Eric
s
s
o
n
showlog: Add option to hide notification
s
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-12
Andre
a
s Ericsson
s
h
owlog: Only
p
r
i
nt notificati
o
n li
n
es for
int
e
r
est
i
ng
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-12
Andreas Ericsson
showlo
g
: Change how filt
e
r
ing
w
o
r
ks when printing li
n
es
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-10
Andreas
E
r
icsso
n
s
q
l:
R
epla
c
e
mysql_err
o
r(db
.
lin
k
) with
s
ql_error()
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-10
An
d
reas E
r
icss
o
n
sql: Don
'
t
unconditional
l
y tr
y
to rerun f
a
i
led quer
i
es
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-10
Andreas Ericsson
spec
f
il
e
:
A
dd %
c
lean section
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-08
Andreas
E
r
icsson
s
p
ecfile: Don't instal
l
o
p
5backu
p
module-fil
e
s
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-08
And
r
eas Ericsson
s
h
o
w
log: Set d
e
f
a
ult image_u
r
l to w
h
at ninja u
s
es
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-08
Andre
a
s
Ericsso
n
showl
o
g: Use ni
n
ja-style
image names instead of old
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-02-24
Andreas E
r
i
c
ss
o
n
A
dd op5-backup module file
s
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-02-03
And
r
eas Ericsson
showlo
g
: Implement --hide-comman
d
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-02-03
A
n
dreas E
r
i
c
s
s
on
show
l
og: Clarif
y
t
h
e
-
-ans
i
opti
o
n
h
e
lptext
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-25
A
n
dreas Eric
s
son
showlog: Update st
y
le as per
M
y's instr
u
ctio
n
s
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-25
Andreas Er
i
csson
Makefile: al
s
o in
s
tall
t
he showlog progra
m
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-25
A
ndreas Ericsson
showlog: Ad
d
e
vents
for start
and st
o
p
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-24
An
d
reas Ericsson
sh
o
wlog: A
d
d pri
n
t_line_ansi(
)
, a
c
o
l
orizer for
t
he
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-24
Andr
e
as Eri
c
sson
s
howlog: Ignore
n
othi
n
g
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-24
A
ndreas Erics
s
on
sho
w
log: Add help tex
t
for --image-ur
l
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-24
Andreas Eri
c
sson
showlog: Make image_u
r
l
a
command
-
line opti
o
n
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
next