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 enable indexes unless we've disabled them
2010-03-23
Andreas
E
r
i
css
o
n
sho
w
log
:
Mention that logfiles i
s
not a mandatory option
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Er
i
csson
sh
o
wlog: Stop marking
'--nagios-cfg' as requi
r
e
d
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Ericsson
imp
o
r
t
: Don't cra
s
h on illegal argu
m
e
n
ts shorter tha
n
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-23
And
r
eas Ericsson
Makefile: Link auth
.
o
into the
showlog appl
i
cat
i
on
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-23
An
d
reas
E
ricsson
auth
.
h: M
a
r
k
a
ll prototypes as 'e
x
ter
n
'
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-23
Andreas
E
ricsson
auth lib: Fix auth_parse_per
m
issi
o
ns()
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Ericsson
auth lib:
M
i
nor fixe
s
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-23
Andreas
E
ricsson
showlog: Fi
x
typo
i
n --help ou
t
put
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-22
A
ndrea
s
Ericsson
Ad
d
'auth' helper library
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-22
An
d
reas Eri
c
sson
logutils: Ma
k
e
s
ure we ne
v
er a
d
d the sam
e
l
ogf
i
le more
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-22
Andr
e
as
E
ricsson
Make th
e
apps nagios
.
cfg aware
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-22
Andreas Ericsso
n
a
p
ps: Consolidate handlin
g
of logf
i
les and archiv
e
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-15
Andre
a
s Eri
c
sson
test-lparse: Test that
w
e c
a
n
h
andle
logfiles without
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-15
Andreas Ericsson
D
o
n't
barf on mis
s
ing dash in filena
m
e
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-12
Andre
a
s E
r
icsso
n
sh
o
wlog: Implem
e
nt --skip
and
--lim
i
t
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-12
Andre
a
s Ericsson
showlog
:
Hide
s
ome cr
a
p by default when run from command
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-12
Andreas Ericsson
showlog: Add o
p
tio
n
to
hide i
n
itia
l
and cu
r
ren sta
t
e
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-12
Andreas Ericsson
showlog: Add option
to hide
l
og rotatio
n
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-12
Andr
e
a
s
E
ric
s
s
on
showlog: Add op
t
ion to
hide no
t
ifications
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-12
Andreas Eric
s
so
n
showlog: Only pri
n
t
notification lines for interes
t
ing
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-12
A
n
dr
e
a
s Ericsson
showlog: Change how filtering works when printing line
s
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-10
An
d
reas Ericss
o
n
sql: Replace mysq
l
_error(db
.
link) wi
t
h
s
ql_error()
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-10
Andreas Eric
s
so
n
s
q
l: Don'
t
unconditi
o
nally try
t
o rerun failed queries
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-10
An
d
reas Ericsson
specfile: Add %clea
n
section
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-08
A
ndre
a
s Ericsson
s
p
e
cfi
l
e: Don't
install op5
b
acku
p
modul
e
-
f
ile
s
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-08
Andreas
E
ric
s
son
sh
o
wlog: Set defa
u
lt image
_
u
rl
t
o
what ni
n
ja use
s
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-08
Andreas Ericsson
s
h
o
w
log
:
Use
n
inja-styl
e
i
mage names instead o
f
old
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-02-24
Andreas Ericsson
Add op5-backup module files
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-02-03
An
d
reas Ericsson
showlog: Impl
e
m
e
n
t --hide-command
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-02-03
A
ndre
a
s Ericsson
showl
o
g: Cla
r
ify t
h
e --ansi option helptext
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-01-25
A
ndreas Ericsso
n
s
h
owl
o
g: Update
s
tyl
e
as per My's
i
nstructi
o
ns
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-01-25
Andreas
E
ricsson
Makef
i
le:
a
lso install
t
he showlog program
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-01-25
A
n
dreas Ericsson
sh
o
w
log: Add events
f
or
sta
r
t a
n
d st
o
p
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-01-24
An
d
reas Ericsson
showlog: Add print_line_an
s
i(),
a
colorizer for the
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-01-24
Andr
e
as Ericsso
n
sh
o
wl
o
g: Ignore nothing
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-01-24
And
r
eas
Eric
s
son
showlog
:
A
dd
h
e
l
p
text
f
or -
-
i
mage-url
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-01-24
Andreas Ericsson
showlog: Make imag
e
_url a com
m
an
d
-
l
i
ne option
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-01-24
And
r
eas Ericsson
showlog: Implement timebr
e
a
k
s
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-01-24
And
r
eas Ericsson
showlog: Revamp the prin
t
_line
mach
i
nery to
make htm
l
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-01-24
Andr
e
as Ericsson
showl
o
g: Make --hi
d
e
-
do
w
nt
i
me wo
r
k prop
e
rly
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-01-24
Andreas E
r
icsson
showlo
g
: M
a
k
e 'reverse' a global variable
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-01-19
Andrea
s
Eri
c
sson
showlog: Ad
d
usage()
f
un
c
tion
and --help op
t
io
n
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-11
And
r
eas Ericsson
im
p
ort: Fix impor
t
ing
p
as
s
ive host and servic
e
checks
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-11
Andreas E
r
icsson
import: Ad
d
s
upport for passive host a
n
d service checks
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-11
Andreas Ericsson
sho
w
log: Implement --time-format s
e
lection for outpu
t
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-11
Andreas Ericsson
l
o
g
utils: M
a
ke sure
w
e
loo
k
at t
h
e r
i
ght string when
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-11
Andreas Ericss
o
n
im
p
or
t
: Remo
v
e
hardcoded 'report_
d
at
a
' table name
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-11
And
r
e
as
Ericss
o
n
Re
m
ove --ig
n
ore-process
-
ev
e
nts
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-11
Andreas E
r
ics
s
o
n
test-lparse
:
make tests work on 64-bit arc
h
s
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-11
Andreas Ericsson
t
est-l
p
ar
s
e: A
d
d test
s
fo
r
the p
a
th_cmp_number() function
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-11
An
d
r
eas Ericsson
logutils:
Fix special-casing of "
n
a
g
ios
.
lo
g
"
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-11
Andreas
E
ric
s
son
logutils: Re
m
ove year v
a
lidation f
r
om filename
number
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-11
An
d
reas
Ericsson
l
o
gu
t
ils:
R
eport
f
iles
o
rt
e
r
r
o
r
s more accurately
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-07
A
ndreas Ericss
o
n
showlog:
Add
shortcu
t
for 'all states' as option to
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-07
Andreas E
r
ics
s
on
showlog: Fix state
t
ype filter settings
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-07
Andreas
Ericss
o
n
showlog: Make -
-
hide-[proce
s
s,fla
p
ping
,
do
w
ntime] argu
m
ents
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-07
Andreas Eric
s
s
o
n
sho
w
l
og: Support printing downti
m
e and
f
lappi
n
g a
l
erts
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-07
A
n
d
r
e
a
s Ericsson
s
howl
o
g
: Fix the event_filte
r
logic
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-07
An
d
reas Ericsso
n
showlog:
S
h
o
w all ho
s
t
a
nd service states by default
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-04
Andreas Eric
s
son
sh
o
wlo
g
:
S
tart
implementin
g
f
iltering
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-04
Andrea
s
Eric
s
son
Sh
a
re s
t
ate- and soft/
h
a
r
d
pa
r
si
n
g routines
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-04
Andreas Ericsson
M
a
ke single-
r
ead
.
log have
a real timestam
p
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-04
Andreas Ericsson
M
akefi
l
e: Mark loguti
l
s
.
h
as a compile-time dependency
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-04
A
ndreas Er
i
csson
Sile
n
ce variou
s
spar
s
e war
n
ings
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-04
Andre
a
s E
r
icss
o
n
utils: Unify "i
n
teresting object" han
d
ling
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-03
And
r
eas Ericsson
sh
o
w
log: Support
p
a
r
si
n
g l
o
gfiles
i
n reverse
order
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-03
Andreas Ericsson
h
a
sh api: Rem
o
ve HAS
H
_
M
A
S
K
a
nd HASH_B
U
C
KETS macros
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-03
A
n
d
reas Ericsson
s
h
owlog: Start
implement
i
ng state-ba
s
ed filtering
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-02
A
n
d
r
ea
s
E
r
icsson
utils: Resto
r
e c
o
m
mented
-
out crash and fi
x
a comment
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-01
An
d
reas Ericsson
t
ests: A
d
d
t
ests for revers
e
-parsing fi
l
es usin
g
the
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-01
And
r
eas E
r
i
c
sson
lpars
e
api: Add a utility t
o
parse files i
n
rever
s
e
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-11-30
An
d
reas Er
i
csson
im
p
ort: Stop
l
e
aking m
e
mory w
h
e
n
handling host and
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-11-26
An
d
reas
E
ricsson
hash api: Remove
la
s
t vestiges of size_t
v
ariables
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-11-26
Andreas
Erics
s
o
n
Remove the last
vest
i
ges
o
f s
i
z
e
_t from the utili
t
y
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-11-26
A
n
d
re
a
s
Eri
c
sson
Replace size_t v
a
rs
with unsign
e
d int
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-11-25
Andreas Er
i
c
sso
n
Br
e
a
k out more simil
a
r
ities betwee
n
sh
o
wlog
.
c and import
.
c
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-11-25
Andreas E
r
icsson
S
h
are more code between
showlog and
i
m
p
ort
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-11-25
Andr
e
as Ericsson
Start breaki
n
g out
c
ommon functions between imp
o
rt
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-11-25
Andreas Ericsson
show
l
og: Remo
v
e
bu
i
ld-d
e
pendenc
y
on logging
.
o
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-11-25
Andreas Ericsson
sho
w
log: Remove downtime
entry stru
c
t
definition
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-11-25
Andreas Ericsso
n
showlog: Stop
t
r
acking impo
r
ted bytes
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-11-25
Andreas Eri
c
sson
show
l
og: Stop tracking da
e
mon state and start/stop
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-11-25
Andreas E
r
icsson
s
h
owlog: Get rid of "i
n
cremental" mode
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-11-24
A
ndreas E
r
icsson
show
l
og: Remo
v
e
do
w
n
time ha
n
dling code
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-11-20
Andreas Ericsson
l
pa
r
se: Use memchr() i
n
s
tead of strchrnul(
)
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-11-20
Andr
e
a
s
Er
i
csso
n
Use
th
e
b
r
oken-out lparse
r
outine for import and
showlog
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-11-20
Andreas
Eri
c
ss
o
n
B
r
eak out lparse_path() and
lparse_fd() to t
h
eir own
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-11-13
Andreas
E
ricsson
imp
o
rt
.
c: Re
v
amp
t
he inner
loop of lparse_file()
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-11-13
Andreas Eri
c
ss
o
n
import
.
c: Nev
e
r print more than 6
0
secon
d
s
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-11-10
Andreas Ericsso
n
sql
.
c: Avoid returni
n
g
a va
l
ue from
a
vo
i
d
functi
o
n
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-11-10
A
n
d
reas Ericsso
n
sql
.
c
:
B
e
con
s
ervative
w
ith
w
hat we pa
s
s to the mysql
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-10-14
A
ndreas Ericsson
s
ql
.
c: Use dynam
i
c buffe
r
s
to esc
a
pe strin
g
s f
o
r
sql
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-10-06
A
ndreas Eric
s
s
o
n
Makefil
e
: build impo
r
t progra
m
w
ith debugging symbols
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-10-06
An
d
reas Ericsson
i
mp
o
rt: Make the r
e
ad buffer smaller
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-10-06
A
ndreas Eri
c
sson
imp
o
rt:
C
lose files
when we
'
r
e
done parsing the
m
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-10-06
Andre
a
s Ericsson
import: Protect ag
a
inst nul bytes i
n
line-parsed files
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-10-06
Andreas Er
i
c
ss
o
n
i
mp
o
rt: Narrow
the scope of some variables
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-10-06
Andreas Er
i
csson
imp
o
rt: Use malloc() instead of
c
alloc() when allocating
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-10-06
A
ndreas Ericsson
Makef
i
le: Build module with deb
u
g
symbols
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-10-05
An
d
re
a
s Ericsson
logging: Avoi
d
writing to NULL file pointers in case
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
next