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
sql: Introduce sql_db_name()
2010-04-08
Andreas Er
i
csson
sql: Int
r
odu
c
e sql_db_name
(
)
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
Andreas Ericsson
sql: A
v
oid segfaul
t
ing on missing datab
a
se
l
ink
in
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
Andreas Ericsson
i
m
por
t
:
R
evamp pa
r
s
e
_i
m
p
o
r
t_noti
f
icat
i
on()
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-08
Andreas
Ericsson
logutil
s
: Introduce p
a
rse_{host
,
service
}
_state_gently()
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-07
And
r
ea
s
Er
i
csso
n
i
m
port: Fi
r
st
sta
b
at implement
i
ng import fo
r
notifications
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-07
Andreas Ericsson
logutils: Revamp h
o
w parse_
{
hos
t
,ser
v
i
ce
}
_sta
t
e() works
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-07
Andrea
s
Ericsso
n
De
f
ine
s
ome
m
acros only once
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-07
Andrea
s
Ericsson
test-lparse: Make
all tests pass fully
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-07
Andreas Erics
s
o
n
showlog: Add pret
t
y-
p
rint t
h
in
g
s
for n
o
tification events
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-25
Andrea
s
Ericsson
cf
g
file: R
e
move trail
i
ng whi
t
espace in
v
a
ria
b
le values
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-25
Andreas Ericsson
showlog: Fi
x
DST handling
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-24
Andreas Ericsson
showl
o
g: Update icon nam
e
for downtime
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-24
Andreas Er
i
csson
s
h
owlog: Fix log
f
ile selection code
f
or the --reverse
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-24
Andreas Er
i
csso
n
showlog: Improve {first,las
t
}_time h
a
ndl
i
ng
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-24
And
r
e
a
s Ericsson
Mak
e
file: 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 w
e
'r
e
ignoring
a
particular f
i
l
e
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
A
ndreas
Er
i
css
o
n
showlog:
Ad
d
last touches t
o
user-ba
s
ed f
i
ltering
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
An
d
r
e
a
s
Erics
s
on
show
l
og: Tea
c
h showlog
a
bout objects
.
cache
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Eri
c
sson
sh
o
wl
o
g: P
r
i
n
t time even if we couldn't f
i
nd a
color
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Ericsson
showlog: Print initia
l
states with the same color as
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Ericsson
auth lib: Add
missin
g
ex
c
l
a
mation mark i
n
auth_parse_permiss
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andreas
E
ricsson
showlog: Teach showl
o
g ab
o
ut --user and
-
-cgi-cfg
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andre
a
s Ericsson
showlo
g
: Don't cras
h
on illegal arguments shorter than
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andrea
s
Ericsson
showlog: M
e
ntion tha
t
logf
i
les is not
a mandatory option
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Erics
s
on
s
h
o
wlog: Stop mark
i
ng '--nagios
-
c
fg' as req
u
i
r
e
d
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Ericsso
n
import: Don't cra
s
h on illegal arguments shorter than
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andreas
E
ricss
o
n
Makefi
l
e: Link auth
.
o
i
nto the sh
o
wlo
g
application
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andreas E
r
icsson
aut
h
.
h
:
Mark all p
r
oto
t
y
p
es a
s
'
exte
r
n
'
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Ericsson
auth lib: Fix auth
_
p
a
rse_permissi
o
ns()
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andre
a
s
E
ricsson
au
t
h lib: Minor fixe
s
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andreas
E
ri
c
sson
showlog: Fi
x
typo in --help ou
t
put
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-22
Andreas Ericsson
A
d
d
'auth' helper library
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-22
Andreas E
r
icss
o
n
logut
i
ls:
Make sure we ne
v
er add th
e
same logfile more
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-22
Andreas Erics
s
o
n
Ma
k
e the
apps nagios
.
cfg aware
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-22
A
n
dr
e
as Ericsson
app
s
:
Consol
i
da
t
e ha
n
dling of logfiles and arc
h
ive
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-15
Andreas
E
ricsso
n
test-lp
a
rse: Test
that we can
handle lo
g
files without
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-15
Andreas Ericsson
D
o
n't barf on
missing dash in filename
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-12
Andreas Ericsso
n
s
h
o
wlo
g
: Impleme
n
t
--s
k
ip and --limit
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-12
Andre
a
s
E
rics
s
o
n
s
h
owlog: Hide
s
o
me crap by defaul
t
when run from command
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-12
And
r
e
as Ericss
o
n
sh
o
wlog: Add option t
o
hide initial and c
u
rre
n
s
tat
e
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-12
Andreas Eric
s
son
showlog: A
d
d optio
n
to hide log rot
a
t
i
o
n
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-12
An
d
reas Ericsson
showlog
:
Add o
p
tion
to hi
d
e
n
o
tifications
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-12
Andrea
s
E
rics
s
on
showlog: Only print n
o
tif
i
cation
l
ines for in
t
eresting
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-12
Andreas Ericsso
n
showlog
:
Ch
a
n
g
e
how filt
e
ring works wh
e
n printing lines
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-10
Andreas Ericsson
sq
l
:
R
eplace mysql_erro
r
(db
.
link) with sql_erro
r
()
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-10
An
d
reas
E
r
icss
o
n
sq
l
:
Don'
t
un
c
onditio
n
ally try to reru
n
failed queries
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-10
A
n
dreas Ericsson
specfile: Add
%clean section
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-08
A
ndreas Ericsso
n
spec
f
ile: Don'
t
install op5backu
p
m
odule-file
s
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-08
A
n
dreas E
r
ics
s
on
showlog: Set defau
l
t im
a
ge_ur
l
to what ninja uses
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-08
An
d
reas Er
i
csson
sho
w
log: Use ninja-
s
tyle im
a
ge names in
s
t
ea
d
of old
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-02-24
Andreas Ericsson
Add op5-backu
p
m
odu
l
e file
s
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-02-03
Andreas Ericsson
showlog:
Implement
--h
i
de-comman
d
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-02-03
Andreas Ericsson
showlog: Clarify the --ansi option h
e
lptext
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-25
A
n
dre
a
s
E
ricss
o
n
s
h
ow
l
og: U
p
d
a
t
e style as per My's instructions
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-25
Andreas
E
ricsson
Makefile: als
o
install the
showlog
p
rogram
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-25
A
n
d
rea
s
Eric
s
son
showlog: Add
event
s
for star
t
and stop
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-24
Andreas Erics
s
o
n
showl
o
g:
A
dd
p
ri
n
t_line_ansi
(
)
,
a coloriz
e
r
fo
r
the
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-24
A
ndreas Ericsson
showlog: Ignore not
h
i
n
g
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-24
Andreas
E
ric
s
son
showlog: Add
help text for --image-url
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-24
An
d
reas
E
ricsso
n
showlog: Make image_url a c
o
mman
d
-line
option
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-24
An
d
reas Ericsson
showlog: Imp
l
e
m
e
n
t t
i
m
ebreaks
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-24
An
d
rea
s
E
r
icsson
showlog: Revamp
t
he pr
i
n
t
_line ma
c
hinery to make html
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-24
Andr
e
as
E
ricsson
showlog: Mak
e
--hid
e
-downtime
work properly
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-24
A
n
dreas Ericsso
n
sho
w
log:
M
a
ke 'r
e
verse' a globa
l
variable
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-19
An
d
r
e
as Ericsson
showlo
g
:
Add usage() function a
n
d --
h
e
l
p option
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-11
Andreas
Ericss
o
n
i
m
p
ort:
F
ix i
m
port
i
ng passive host
and service checks
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-11
Andreas Ericsson
import:
A
dd support for passive host
an
d
service checks
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-11
Andre
a
s Erics
s
o
n
s
howlog: Im
p
lement
--time-format se
l
ection for outp
u
t
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-11
Andreas Ericsson
l
o
gutils: Make sure we
look at the right st
r
ing when
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-11
Andreas E
r
ics
s
on
import: Remove hardcoded 'rep
o
rt_dat
a
' table nam
e
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-11
And
r
ea
s
Ericsson
Remove --ignore-process-events
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-11
And
r
e
as
E
ricsson
t
e
st-lparse:
m
ake
t
ests
work o
n
64-bi
t
archs
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-11
Andrea
s
E
r
i
c
sson
test-
l
parse:
A
d
d tests for the path_cmp_number() f
u
nction
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-11
Andrea
s
Eri
c
sson
log
u
tils: Fix special-casing of "nagios
.
log"
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-11
Andreas E
r
i
csso
n
logutils: Re
m
ove year
va
l
idation fr
o
m fil
e
name number
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-11
Andreas
E
ricsson
logutils:
Repor
t
fil
e
s
ort errors more accu
r
ately
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-07
Andrea
s
E
ricsso
n
showlog: Add shortcut f
o
r 'all states' as o
p
tion
t
o
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-07
Andreas Er
i
csson
showl
o
g
: Fix statetype filter settings
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-07
Andr
e
as Ericsson
showlog: Make -
-
hide-[process,fla
p
ping,downti
m
e] argument
s
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-07
Andreas Ericsson
showlog: Sup
p
ort
printing dow
n
time and flapping alerts
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-07
Andr
e
a
s Ericss
o
n
showlog: Fix
t
he even
t
_f
i
l
ter logic
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-07
A
ndreas Eric
s
son
showlog:
S
how
all host and
service
s
tates by default
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-04
A
ndreas
E
ricsson
showlog:
Start imp
l
e
m
enting filtering
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-04
Andreas Erics
s
on
Shar
e
s
tate- and s
o
ft
/
hard parsing routines
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-04
Andr
e
as Ericsson
Make sin
g
le-rea
d
.
log
h
ave a real
t
imestamp
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-04
Andre
a
s
Ericsson
Makefile: Mark logutil
s
.
h as
a
c
ompil
e
-time
d
ependency
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-04
Andrea
s
Ericss
o
n
S
i
l
e
n
ce var
i
ous sparse warnings
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-04
An
d
reas
E
ricsson
utils: Unify "inte
r
e
s
t
ing object" handling
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-03
Andreas Ericsson
showlog: Support par
s
ing logf
i
les in re
v
erse order
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-03
Andr
e
as Erics
s
on
hash api: Remove
HASH_MASK and HASH_
B
UCKET
S
macros
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-03
Andrea
s
Ericsson
showlog
:
S
tart i
m
plementing st
a
t
e-based fil
t
eri
n
g
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-02
A
ndreas Ericsso
n
utils
:
Restore commented-ou
t
c
r
a
s
h
a
nd fi
x
a c
o
mment
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-01
And
r
eas Ericsson
tests:
Add tests f
o
r rev
e
rse-parsing files
u
sing the
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-01
A
ndrea
s
Ericsson
lparse api: Add a
u
tility to
p
arse f
i
les in reverse
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-30
A
n
d
re
a
s Ericsson
i
mport:
Stop le
a
king memo
r
y whe
n
han
d
l
ing host and
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-26
Andreas
Ericsson
ha
s
h api: Remove last vestiges of size_
t
variable
s
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-26
Andreas Ericsson
R
emove the last v
e
stiges of
s
ize_t
f
rom
t
he utility
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-26
Andreas Ericsson
Re
p
lace size_t
v
a
rs with unsigned int
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-25
Andreas E
r
ic
s
so
n
B
r
e
ak out mo
r
e s
i
milarities
b
e
tw
e
en showlog
.
c and imp
o
rt
.
c
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-25
A
n
dreas Eric
s
son
Share
m
ore code betw
e
en sh
o
w
log a
n
d impor
t
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
next