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
import: Don't crash on illegal arguments shorter than 11 chars
2010-03-23
Andreas Eric
s
son
imp
o
rt:
D
o
n
't
crash o
n
i
l
l
e
gal arguments shor
t
e
r
than
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Ericsson
Mak
e
file:
Li
n
k auth
.
o
i
nto the
s
h
o
wl
o
g
a
pplication
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
A
n
d
rea
s
Ericsson
au
t
h
.
h: Mark all prototypes as
'
e
xtern'
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
An
d
reas Eri
c
sson
auth lib: Fix
a
u
t
h_par
s
e_perm
i
ssi
o
ns()
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Eric
s
son
auth
lib: M
i
nor fi
x
es
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Ericsson
showlog:
Fix typo
i
n --
h
elp o
u
tput
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-22
A
n
dreas Er
i
csson
Add 'auth'
h
elpe
r
l
ibr
a
ry
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-22
Andrea
s
E
ric
s
son
logu
t
ils: Make sure we never add
the same logfile m
o
r
e
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-22
Andreas Ericsso
n
M
a
k
e
the apps nagios
.
cfg
a
w
are
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-22
Andreas Ericsson
a
pps: Con
s
oli
d
ate
handling of logf
i
l
e
s
and archive
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-15
A
n
dr
e
as
E
ricsson
test-l
p
arse: Test that
we can han
d
le logfile
s
without
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-15
Andreas E
r
icsson
D
o
n't barf on mi
s
sing
dash in filename
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-12
Andreas Eric
s
son
sh
o
wlog:
I
m
pl
e
ment --skip and
--limit
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-12
Andreas
Ericsson
showlog: Hide
som
e
crap by default when run from command
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-12
Andreas Ericsson
sh
o
wlog: Add option to hide
i
nitial a
n
d curren
stat
e
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-12
Andr
e
a
s Ericsson
sh
o
wlog: Add option to
h
ide log rotation
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-12
Andreas Ericsson
s
h
owlog:
A
d
d
option to hide notific
a
tions
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-12
Andre
a
s E
r
i
cs
s
on
showlog
:
Only p
r
int notifi
c
ation lines for interesting
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-12
Andreas Ericsson
sh
o
wlog: Cha
n
g
e
h
o
w filtering works
when printin
g
line
s
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-10
A
ndreas Er
i
csson
sql:
Repl
a
ce mysql_er
r
or(db
.
link) with sql_error()
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-10
Andre
a
s Ericsson
sql:
Don't
u
nconditionally try to rerun f
a
il
e
d querie
s
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-10
Andreas Eri
c
sson
specfile: A
d
d %clean se
c
ti
o
n
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-08
And
r
eas Ericsso
n
spe
c
f
i
l
e: Do
n
't
install
o
p5backup
m
odule-fi
l
es
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-08
Andre
a
s
Ericsson
showlog: Set default
i
mage_url to
wh
a
t ninj
a
uses
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-08
An
d
reas Ericsso
n
showlog: Us
e
ninja-st
y
le
i
mage names instead of
o
l
d
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-02-24
Andreas Eri
c
sso
n
Add op5-bac
k
up module files
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-02-03
A
n
d
r
eas E
r
ics
s
o
n
showl
o
g: Implement
--h
i
de-com
m
a
n
d
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-02-03
An
d
reas E
r
icsso
n
showlog: Clarify the --a
n
si option helptext
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-25
Andreas Ericsson
sho
w
log: Update style as
per
My's inst
r
uctio
n
s
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-25
An
d
r
eas E
r
ics
s
on
Mak
e
file: also install th
e
showlog progr
a
m
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-25
Andreas
E
ricsso
n
showlog: Add e
v
e
nts for start
a
n
d
stop
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-24
A
ndreas
E
ricsson
showlog: Add pri
n
t_lin
e
_ansi(), a coloriz
e
r
for the
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-24
Andreas Ericsson
s
h
owlog:
Ignore
nothing
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-24
A
n
d
r
eas Ericsson
sho
w
lo
g
:
A
dd he
l
p te
x
t
for --image-url
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-24
Andreas Erics
s
on
sho
w
log: M
a
ke
i
m
a
ge_url
a command-line opt
i
on
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-24
A
ndreas Ericsson
sho
w
log
:
Implement timebreaks
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-24
Andreas Er
i
csson
showlog
:
R
evam
p
the print_
l
ine machinery to mak
e
ht
m
l
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-24
Andreas Ericsso
n
showlog: Make -
-
hide-dow
n
t
i
me work properly
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-24
Andr
e
as
Ericsson
sho
w
l
o
g: Mak
e
'rev
e
rse' a glo
b
al variable
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-19
Andreas Eri
c
sson
sho
w
log
:
Add usag
e
() function and --help o
p
tion
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-11
An
d
reas Ericsson
import:
F
ix importin
g
pas
s
iv
e
host and se
r
vice che
c
ks
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-11
And
r
eas Ericss
o
n
imp
o
rt: Add su
p
p
o
rt for passive host a
n
d service che
c
k
s
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-11
Andreas Ericsso
n
showlog: I
m
plem
e
n
t
--time-format se
l
ection for
o
utput
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-11
Andreas Er
i
css
o
n
logutils:
M
a
ke sure we look at the right string when
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-11
Andreas Ericsson
i
m
port: Rem
o
v
e hardcod
e
d 'report_data' table na
m
e
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-11
Andreas Ericsson
Remove --ign
o
re-process-even
t
s
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-11
Andreas
Ericsson
test-lparse: make tests w
o
r
k on 64-bit archs
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-11
Andreas Ericsson
t
e
st-lp
a
rse:
Ad
d
te
s
t
s
for
the
p
ath_cmp
_
nu
m
ber() function
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-11
Andreas Ericsson
logutils: Fix special-
c
asing of "
n
a
g
ios
.
log"
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-11
Andrea
s
E
ricsson
logutils: Remove year val
i
d
atio
n
from f
i
lename number
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-11
Andreas
E
ricss
o
n
loguti
l
s:
Report filesort errors more accurately
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-07
A
ndreas
Ericsson
showlog:
A
d
d short
c
ut
f
or 'all states
'
as optio
n
to
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-07
An
d
re
a
s
Ericsso
n
showlog:
F
ix stat
e
type
f
ilter
settings
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-07
An
d
reas Ericsson
s
h
owlog
:
Make --hide-[pr
o
cess,flapping,d
o
w
n
time] arguments
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-07
Andreas Eri
c
sso
n
sh
o
wlog: Support printing downtime an
d
flapping al
e
rts
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-07
Andreas Ericsson
showlog: F
i
x
th
e
e
ven
t
_filter logic
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-07
Andreas Ericsson
sho
w
log:
S
how
a
ll ho
s
t a
n
d serv
i
ce states by default
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-04
Andr
e
as Ericsson
s
howlog: Start
imp
l
e
m
entin
g
fi
l
tering
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-04
A
n
dreas Ericsson
Share state- and soft/hard
p
arsing r
o
utines
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-04
A
ndreas Ericsson
Make sing
l
e
-
read
.
log have
a re
a
l
t
imest
a
mp
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-04
Andreas Ericsson
Makefile: Mark logutils
.
h a
s
a
compile-time dependency
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-04
An
d
reas Eri
c
sson
Silence various sp
a
rse warnings
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-04
Andreas
Eric
s
son
utils:
U
ni
f
y "
i
nteresting obj
e
ct
"
handli
n
g
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-03
An
d
r
e
as Ericsson
showlog:
S
uppo
r
t
p
arsing
logfil
e
s in reverse order
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-03
Andr
e
as Ericsson
hash
api: Remove
H
A
SH_MASK and HAS
H
_BUCKE
T
S macros
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-03
A
n
drea
s
Ericsson
showlog: Start
implem
e
nting
state-b
a
sed
f
iltering
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-02
A
n
dre
a
s Ericsson
utils: R
e
store commented-out cras
h
and fix a c
o
mm
e
nt
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-01
Andr
e
as Eri
c
sson
tests: Add
t
ests for reverse-pa
r
s
i
ng files usin
g
t
h
e
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-01
Andre
a
s
Ericsson
l
p
arse api: Add a utility to parse files in rev
e
rse
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-30
A
n
d
r
eas Ericsson
imp
o
rt:
S
top leaki
n
g
m
emory when ha
n
dling host a
n
d
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-26
Andreas Eri
c
sson
hash
api:
R
e
m
o
ve las
t
vest
i
g
e
s of size_t variables
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-26
A
n
dr
e
as Eric
s
son
Remove the last v
e
stiges
o
f size_t from the uti
l
ity
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-26
An
d
reas Ericss
o
n
Replace size_
t
vars wit
h
unsigned in
t
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-25
Andreas
Ericsson
Break out more similaritie
s
b
e
tween
sho
w
log
.
c
a
nd impor
t
.
c
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-25
Andreas Ericss
o
n
Shar
e
more code between showlog and import
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-25
Andreas Ericss
o
n
Sta
r
t
b
re
a
king out co
m
mon f
u
nctions between
i
mport
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-25
Andreas Er
i
csson
s
howlog: R
e
m
o
v
e build-dependency on
lo
g
ging
.
o
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-25
Andreas Ericsson
showlog: Remove downtime entry struct def
i
nition
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-25
Andreas
E
r
i
csson
showlog: Stop
t
racking imported bytes
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-25
Andreas Ericss
o
n
showlo
g
: Stop t
r
acking da
e
mo
n
s
t
ate and start/stop
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-25
A
n
dr
e
a
s
Ericss
o
n
showlog
:
G
et
rid of
"incremental" m
o
de
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-24
Andreas Eri
c
sson
s
h
owlog:
Remove dow
n
tim
e
h
a
ndlin
g
c
ode
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-20
A
n
d
r
e
as Erics
s
on
lparse: U
s
e
m
emchr() instead of strchrnul
(
)
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-20
Andreas Er
i
csson
Us
e
the broken-out lpars
e
routi
n
e for i
m
por
t
a
n
d showlo
g
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-20
Andr
e
as Eric
s
s
o
n
Break out lp
a
rse_path() and lparse_fd()
t
o
their own
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-13
Andreas Ericss
o
n
import
.
c: Rev
a
mp the
inner l
o
op o
f
lparse_file()
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-13
Andrea
s
Ericss
o
n
import
.
c: Neve
r
pri
n
t mor
e
than
60 seconds
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-10
Andreas Eric
s
son
sql
.
c: A
v
oid retu
r
ning
a
va
l
u
e from
a
v
o
i
d
f
unc
t
ion
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-10
And
r
e
as
Ericsson
s
ql
.
c:
B
e
conserva
t
ive with what w
e
pass
t
o
the my
s
q
l
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-10-14
Andr
e
as Eri
c
s
s
on
s
q
l
.
c
:
Use dy
n
amic buffers to es
c
ape str
i
ngs for
sql
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-10-06
Andreas
E
ricsson
Makefile: buil
d
import p
r
ogram with debugging sy
m
bo
l
s
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-10-06
Andrea
s
E
r
icsson
i
mport: Make
the r
e
ad buffer smaller
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-10-06
A
n
dreas Ericsson
import: Clo
s
e files when we're done parsing them
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-10-06
A
n
d
r
eas
Ericsson
impo
r
t: Pr
o
tect
a
ga
i
ns
t
n
u
l
bytes in
lin
e
-par
s
ed files
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-10-06
Andre
a
s Er
i
csson
impo
r
t: Narrow the s
c
ope of
some variabl
e
s
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-10-06
Andreas Er
i
c
sson
import: Use mallo
c
() instead of c
a
l
loc() when allocating
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-10-06
Andreas Ericsson
Makefile:
B
u
i
ld module with debug symbols
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-10-05
Andr
e
as
E
ricsson
logging: A
v
oid writing to NULL file pointe
r
s in case
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-09-30
Andreas Ericsson
impo
r
t: Handle pr
o
gram restart
e
v
e
nts a
s
p
r
o
g
r
am stop
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-09-30
An
d
reas Ericsson
Consider
p
roces
s
r
e
start eve
n
ts process stop events
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
next