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
Makefile: Update build dependencies for test-lparse
2010-03-24
Andreas Ericsso
n
showlog: Fix logfile selection code for th
e
--
r
eve
r
se
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-24
An
d
r
e
as Eri
c
ss
o
n
sh
o
w
l
o
g: Improve {first,last}_time h
a
ndling
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-24
A
n
dreas Ericsson
Makefile: Add
l
ogutils
.
h t
o
logutils
.
o
a
n
d
sh
o
w
l
og
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-24
And
r
e
as
E
ricsson
s
h
owlog
:
Print why we're
i
gnoring a parti
c
u
l
ar fil
e
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Ericsson
showlo
g
: Add last
t
ouches to user-ba
s
ed fil
t
eri
n
g
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-23
Andre
a
s E
r
icsson
sh
o
wl
o
g: Teach
s
howlog about objects
.
cache
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Ericsson
sho
w
log:
Print time even
if we couldn't
f
ind a c
o
lor
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-23
Andreas E
r
i
csson
showlog: Print initi
a
l st
a
tes with the s
a
me color as
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Ericss
o
n
auth li
b
:
Ad
d
missing exclamation mark in auth_parse_p
e
rmiss
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-23
Andreas E
r
icsso
n
showlog:
Teach showlog a
b
out --user and --
c
gi-cfg
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-23
A
ndre
a
s Erics
s
on
showlo
g
: Don't cras
h
on illeg
a
l argu
m
e
nts sho
r
t
er th
a
n
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Ericsson
showlog:
M
ention
that logfil
e
s i
s
no
t
a mandator
y
option
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-23
Andr
e
as
E
rics
s
o
n
showlog:
S
top
m
arking '-
-
nagios-
c
fg' as req
u
ired
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Erics
s
on
import
:
Don't crash on il
l
egal arguments shorter t
h
an
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-23
A
nd
r
e
a
s E
r
icsson
Makef
i
le: Link auth
.
o into the
s
how
l
og application
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Ericsson
au
t
h
.
h: Mark all prototypes as 'ext
e
rn'
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-23
Andreas
E
r
i
csson
auth
lib:
Fix a
u
th_parse
_
permissions(
)
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Ericsson
a
u
th
l
ib: Mi
n
or fixes
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-23
Andreas
Eric
s
son
sho
w
log: Fi
x
ty
p
o
i
n --he
l
p
o
u
tput
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-22
Andreas E
r
icsson
Add
'
auth' helper
l
i
b
rar
y
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-22
Andrea
s
Ericsson
l
o
gutils: Mak
e
sure w
e
never add the sa
m
e logfile mo
r
e
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-22
Andre
a
s Er
i
csson
M
ake the apps
nagios
.
cfg aware
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-22
Andreas Ericsson
apps
:
Consolidate handl
i
ng of
l
ogfiles and archive
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-15
Andreas Ericsson
te
s
t
-
lp
a
rse:
Te
s
t
t
hat w
e
ca
n
handle logfiles
wi
t
ho
u
t
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-15
A
n
dreas Eri
c
ss
o
n
Don't
barf on missing da
s
h in filename
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-12
A
n
d
reas Ericsson
showlog: Imple
m
ent --
s
kip
a
nd --l
i
mit
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-12
A
ndreas Erics
s
on
s
howlog: H
i
d
e some c
r
ap
by
default
w
h
e
n
run
f
rom comma
n
d
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-12
Andreas Eric
s
son
showlog: Add option to hi
d
e i
n
it
i
al and
c
u
r
r
en st
a
t
e
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-12
Andreas Ericsson
showlog:
Ad
d
o
ption t
o
h
i
de
log rotati
o
n
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-12
Andrea
s
Ericsso
n
show
l
og: Add option to hide
n
o
t
ifications
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-12
Andreas Ericss
o
n
show
l
o
g
:
O
n
ly print
n
ot
i
fic
a
tion lines for inte
r
esting
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-12
Andreas Ericsso
n
showlog: Cha
n
ge how filte
r
i
ng
works w
h
en printin
g
lines
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-10
Andreas Erics
s
on
sql: Replace mys
q
l_e
r
ror(db
.
link) w
i
th
s
q
l
_er
r
or()
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-10
An
d
reas Erics
s
on
sq
l
:
Don't unco
n
diti
o
nally
t
ry to rerun
failed queries
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-10
A
ndreas Ericsson
specfile: Add %clean section
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-08
Andreas Eric
s
son
specfile: Don't install op5
b
acku
p
mo
d
ule-
f
iles
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-08
Andreas
Er
i
csson
s
howlo
g
:
Set d
e
f
a
ul
t
image_url
t
o what ninja uses
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-08
Andreas E
r
icsson
s
ho
w
l
o
g: Use ninja-
s
tyle i
m
age names instead of old
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-02-24
Andreas Ericss
o
n
Add op5
-
b
ack
u
p
mo
d
ule files
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-02-03
A
ndreas
E
ricsson
show
l
o
g
: Implem
e
nt --hi
d
e-
c
om
m
and
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-02-03
Andre
a
s Ericsson
showlo
g
:
C
la
r
i
fy the -
-
ansi option helptext
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-01-25
And
r
eas Eri
c
sson
showlog:
U
p
date style
as per My's instructions
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-01-25
A
n
drea
s
E
r
icsson
Makefile: a
l
so ins
t
all
t
he showl
o
g
p
rogr
a
m
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-01-25
And
r
eas Ericsson
showlo
g
: Add event
s
for sta
r
t and stop
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-01-24
Andreas Ericsson
s
h
owlog: Ad
d
pr
i
nt_line_ansi(), a colorizer for the
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-01-24
Andreas Ericss
o
n
sho
w
log: Ignore nothin
g
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-01-24
Andreas Ericss
o
n
showlog: Add
h
elp
t
ext for --i
m
age-url
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-01-24
Andreas Ericsson
showlo
g
:
M
ake
image_ur
l
a command-line option
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-01-24
Andreas
E
ricsson
showlog: Impleme
n
t tim
e
br
e
aks
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-01-24
An
d
reas Ericsson
s
howlog
:
R
evamp the print_line machinery to
ma
k
e
h
tml
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-01-24
Andre
a
s Eric
s
s
on
showl
o
g
:
Make
--hide
-
downtime wo
r
k
p
rop
e
r
l
y
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-01-24
Andre
a
s
E
ricsson
showlog: Make 're
v
e
rse'
a global v
a
riabl
e
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-01-19
A
n
drea
s
Ericsson
s
h
owlog
:
Add usage()
f
unc
t
io
n
an
d
--help option
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-11
A
ndreas Ericsson
import: Fix import
i
ng
p
assiv
e
hos
t
and service checks
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-11
Andreas Ericsson
im
p
o
rt:
Add suppo
r
t for passi
v
e host
a
nd
s
ervice check
s
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-11
And
r
e
as
E
ricsso
n
sh
o
wlog
:
I
m
p
l
ement --time-format
sel
e
ctio
n
for outp
u
t
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-11
A
n
drea
s
Eri
c
s
s
on
logutils: Make sure we look at
t
h
e right stri
n
g
when
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-11
A
n
dreas Ericsson
i
mport:
R
e
m
o
ve hardcoded 'report_data' table name
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-11
Andreas Eri
c
sson
R
emove -
-
ignore-process-eve
n
ts
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-11
And
r
eas Eri
c
sson
test-lpar
s
e: mak
e
tests
w
or
k
on 64-bit a
r
chs
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-11
Andreas Ericsson
test-lpar
s
e
:
Add tests for the pa
t
h_cmp_number() fu
n
ction
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-11
Andreas E
r
ics
s
on
l
o
guti
l
s:
Fix special-casing of "
n
agios
.
l
og"
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-11
An
d
r
eas Ericsson
l
ogutils: Remove year valida
t
io
n
from file
n
ame nu
m
ber
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-11
A
ndreas
E
ricsson
logut
i
ls: Repor
t
filesort
errors more
a
ccu
r
ately
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-07
A
ndreas
E
ricsson
showlog: Add short
c
ut for 'all sta
t
es' as option to
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-07
Andreas Erics
s
on
showlog: Fix s
t
ate
t
y
pe f
i
lter set
t
i
n
g
s
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-07
Andrea
s
Ericsson
sh
o
wlo
g
: Make --hide
-
[process,fl
a
pping
,
downtime]
a
rguments
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-07
A
ndre
a
s Ericsson
showlog:
S
u
p
p
o
rt printing downt
i
me and flapping alerts
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-07
A
n
dreas
E
ricsson
show
l
og: Fix th
e
event_
f
ilter lo
g
i
c
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-07
A
ndreas E
r
icsson
showlog: Show all host
a
nd service stat
e
s
by d
e
faul
t
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-04
Andrea
s
E
r
icsson
showl
o
g: St
a
rt im
p
le
m
e
n
tin
g
f
i
l
t
e
ring
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-04
Andreas Ericsson
Share state- and
soft/hard parsing
routin
e
s
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-04
A
n
d
reas E
r
ic
s
son
Make single-read
.
log
h
a
ve a
real timestamp
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-04
And
r
eas Ericsson
Makefile: Mark logutils
.
h as a compile-time
d
ependency
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-04
Andreas
E
ricsson
S
il
e
nce various sparse wa
r
nings
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-04
Andrea
s
Ericsson
utils: Un
i
fy "int
e
rest
i
ng ob
j
e
c
t
"
h
a
n
dli
n
g
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-03
Andr
e
as Er
i
c
sson
showlog: Support parsing logfiles in re
v
e
rse order
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-03
A
ndreas
E
ricsson
hash api: Remo
v
e HAS
H
_MASK and HASH_BUC
K
ETS macro
s
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-03
Andr
e
as
Ericsson
showlog:
S
tart
i
m
ple
m
en
t
i
n
g state-ba
s
ed filtering
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-02
Andr
e
as Ericsson
ut
i
ls: Rest
o
re
c
omme
n
ted-out crash and fix a c
o
mment
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-01
A
n
dreas
E
ricss
o
n
tests
:
Add tests for r
e
verse-parsing files u
s
ing
the
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-01
Andreas E
r
icsson
lparse
a
pi: Add a
u
tility to pa
r
se files in reverse
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-11-30
A
n
dreas Ericsson
im
p
ort: Stop l
e
aking memo
r
y when h
a
nd
l
in
g
host and
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-11-26
Andr
e
as Ericsson
hash api: Remove last vestiges of
s
ize_t variables
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-11-26
Andreas Ericsson
Remove
t
h
e l
a
st vestiges of size_t f
r
om the utility
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-11-26
Andreas Ericsson
Replac
e
size_
t
vars with unsigned int
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-11-25
Andre
a
s Ericsson
B
r
eak
o
ut more similarities be
t
ween sh
o
w
log
.
c and impor
t
.
c
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-11-25
Andrea
s
Eri
c
sson
Share more code between show
l
o
g
and import
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-11-25
Andr
e
as Ericsson
St
a
rt
br
e
aking
o
ut common func
t
ions b
e
t
w
e
e
n import
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-11-25
A
n
dreas Eric
s
son
showlog: Remove build
-
dependen
c
y on
l
ogging
.
o
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-11-25
Andreas Ericsson
showl
o
g: Remove dow
n
t
i
m
e
entry struct definit
i
on
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-11-25
A
ndreas Ericsson
showlog: St
o
p trac
k
ing i
m
p
orted
b
ytes
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-11-25
An
d
reas Erics
s
on
showlog: Stop tracking daemon sta
t
e and
s
tart/stop
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-11-25
A
n
d
reas
Ericsson
s
h
owlog: Get rid
of
"
incremental"
mode
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-11-24
Andreas Erics
s
on
showlog: Rem
o
v
e
d
owntime handling code
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-11-20
Andrea
s
Eric
s
s
o
n
lpar
s
e
: Us
e
m
emchr
(
) i
n
stead of strchrnul()
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-11-20
Andreas Er
i
css
o
n
Use the
b
roken-
o
ut lpa
r
se rout
i
ne for
i
m
p
o
rt a
n
d showlog
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-11-20
A
n
d
r
eas Eric
s
son
Break
out l
p
arse
_
path() and
lpars
e
_fd() to their own
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-11-13
Andr
e
as Ericss
o
n
import
.
c: Rev
a
mp t
h
e
inner loop of lp
a
r
se_file()
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-11-13
Andrea
s
Ericsson
import
.
c:
N
e
ver print m
o
re tha
n
60 second
s
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
next