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
And
r
ea
s
Ericss
o
n
showlog
:
Mention t
h
at l
o
gfiles is
not
a mandatory option
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Ericsson
showlog: Stop marking
'
--nagi
o
s-
c
fg' as
require
d
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Ericsson
import: Don't
crash
o
n illegal argumen
t
s short
e
r th
a
n
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andreas
E
r
i
csson
M
a
kefile
:
Link auth
.
o in
t
o
t
h
e showlog application
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
A
ndrea
s
Ericsson
auth
.
h: Mark
a
ll prototyp
e
s
as 'extern'
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andreas
E
ricsson
a
u
th lib
:
F
i
x
auth
_
pa
r
s
e
_permissions()
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Eri
c
sson
auth lib: Mi
n
or fixe
s
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Ericss
o
n
sho
w
log: Fix
t
y
po
i
n
-
-help ou
t
put
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-22
Andreas Ericsson
Add 'auth' h
e
lper
l
ibra
r
y
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-22
Andreas Ericsson
l
o
gutils: Make sure we
nev
e
r add
the s
a
m
e
logfile more
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-22
An
d
r
e
a
s Ericsson
Mak
e
the a
p
ps na
g
ios
.
cfg awar
e
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-22
Andreas Ericsson
apps: Consoli
d
ate handling of logf
i
les and arch
i
ve
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-15
Andre
a
s Erics
s
on
test
-
lp
a
rse
:
T
est that
w
e
c
a
n
handle log
f
i
les with
o
u
t
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-15
And
r
eas
E
r
i
csson
Don
'
t b
a
r
f
o
n missing dash in filename
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-12
Andre
a
s
Eri
c
sson
showlog: I
m
plement
--skip and --limit
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-12
A
n
dr
e
as Er
i
cs
s
on
sh
o
wlog
:
Hide some cr
a
p
b
y d
e
fault when run
f
ro
m
comma
n
d
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-12
Andreas
E
ricsson
showlog: Add option to h
i
d
e
ini
t
ial and curren s
t
at
e
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-12
A
ndreas Ericsson
showlog: A
d
d opt
i
on to hide log rotation
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-12
Andreas Eri
c
s
s
on
showlog:
Add o
p
tion to hide notifications
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-12
Andreas Er
i
c
sso
n
show
l
og: Only pr
i
nt n
o
tifica
t
i
on
l
ines for
i
nteresting
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-12
Andreas Ericsson
sh
o
wlog: Change ho
w
filtering w
o
rks when
p
rintin
g
lines
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-10
Andre
a
s
Ericsson
sql
:
R
eplac
e
m
ysq
l
_error
(
db
.
lin
k
) with
sql_error()
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-10
Andreas Eric
s
s
on
sql: Don't uncondition
a
l
l
y try to rer
u
n fai
l
e
d
q
u
er
i
es
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-10
A
ndreas
E
r
i
c
s
so
n
s
p
ecfile: A
d
d %clean sec
t
ion
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-08
A
n
d
reas Ericsson
spec
f
ile: Don
'
t
install op5backup modul
e
-
f
iles
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-08
Andr
e
as Ericsson
showlog: Se
t
def
a
u
lt imag
e
_
u
r
l
to
w
hat
n
in
j
a
use
s
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-08
A
ndreas Ericsson
showlo
g
: Use nin
j
a-styl
e
i
m
age
n
a
m
es
ins
t
ead of old
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-02-24
Andrea
s
E
r
ics
s
on
Ad
d
op5-b
a
c
k
up
m
odule files
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-02-03
Andreas Ericsson
sh
o
w
log: Implement
--hi
d
e-command
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-02-03
A
n
dreas Ericsson
show
l
og: Clarify the
-
-
a
nsi option
helptex
t
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-25
Andreas
Ericss
o
n
showlog:
U
pd
a
te style as
p
er M
y
's instru
c
t
ions
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-25
Andrea
s
Eri
c
sso
n
Makefile: also inst
a
ll the showl
o
g
pr
o
g
r
a
m
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-25
A
n
dreas
E
ricsson
showl
o
g: Add eve
n
ts for
start a
n
d stop
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-24
Andreas Ericsso
n
sh
o
wlog: Add
print_line_a
n
si(), a
c
olorize
r
f
or th
e
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-24
Andrea
s
Ericsson
showlog: Ignore
nothing
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-24
Andreas Ericsson
showlog: Add help text for --image-url
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-24
A
ndreas E
r
icsso
n
s
howlog:
M
ake im
a
ge
_
url a command-line opt
i
on
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-24
Andreas Ericsson
showlog: Implemen
t
timebrea
k
s
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-24
An
d
reas Erics
s
on
showlog: Rev
a
mp the print_line machin
e
ry to mak
e
ht
m
l
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-24
A
n
d
reas Ericss
o
n
s
howlog: Make --hid
e
-d
o
wntime work properly
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-24
A
n
d
reas
E
ricss
o
n
showlog: M
a
ke 're
v
e
r
se' a global varia
b
l
e
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-19
Andreas E
r
icsson
sh
o
wlog
:
Add u
s
age(
)
function an
d
-
-
help opti
o
n
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-11
Andreas Ericsson
i
m
p
o
r
t
: Fix importing passive h
o
st
and serv
i
ce
ch
e
ck
s
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-11
Andre
a
s
E
r
icsson
import
:
Add sup
p
ort
for pas
s
ive host and
s
ervice checks
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-11
And
r
eas Eri
c
sso
n
showlog: Implement --time-fo
r
mat se
l
e
ction for ou
t
put
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-11
Andreas Ericss
o
n
log
u
tils: Ma
k
e sure we look at the
r
i
g
h
t
st
r
i
ng whe
n
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-11
A
n
dreas Ericsson
import: R
e
move hardcoded 'repor
t
_
da
t
a' table
n
a
m
e
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-11
Andreas
E
ric
s
son
Rem
o
ve --ign
o
re-
p
rocess-events
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-11
Andreas Ericsso
n
test
-
l
p
arse: make tests work on 64-b
i
t archs
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-11
Andreas
E
r
icsso
n
test-lparse: Add tests for the path_
c
mp_numb
e
r() f
u
nction
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-11
Andreas
Eri
c
sson
logutils: Fix
special-
c
asing of "nagi
o
s
.
log"
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-11
Andreas Ericsso
n
l
oguti
l
s: Remov
e
year vali
d
ation fr
o
m
f
ilename number
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-11
A
ndr
e
as Ericsson
loguti
l
s:
Report filesort err
o
rs
m
ore accu
r
ately
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-07
An
d
reas Er
i
c
s
s
o
n
sh
o
wl
o
g: Add
s
h
or
t
cut f
o
r 'all states' as o
p
tion to
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-07
Andre
a
s Ericsson
showlog:
Fix
s
tatetype filter settings
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-07
Andr
e
as Ericss
o
n
sh
o
wlog: Make
-
-hid
e
-
[
pro
c
e
s
s
,
flapping,downtime] argumen
t
s
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-07
And
r
e
a
s Eri
c
ss
o
n
showlog: Support
printin
g
downtime and flapping
alerts
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-07
A
n
dr
e
as Eri
c
sson
showlo
g
:
Fix the event_filter
l
o
g
ic
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-07
And
r
eas Ericsson
showlog: Sho
w
all
host and servic
e
st
a
tes by default
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-04
A
ndreas Ericsso
n
showlog:
S
t
art implementing fil
t
e
r
ing
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-04
Andr
e
as
Ericsson
Shar
e
stat
e
-
a
nd soft/ha
r
d
p
arsing routines
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-04
Andre
a
s Ericsson
Ma
k
e singl
e
-
read
.
l
o
g have a real tim
e
stamp
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-04
Andreas Erics
s
on
Mak
e
file: M
a
rk logutils
.
h
as a c
o
m
p
i
l
e-time depe
n
denc
y
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-04
And
r
e
a
s
E
r
icss
o
n
Silence various spar
s
e
warning
s
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-04
Andreas Ericsson
utils: Unify "inte
r
esting obje
c
t"
handli
n
g
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-03
A
n
dreas
Ericss
o
n
showlog:
Support parsing logfi
l
es in rev
e
rse order
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-03
And
r
ea
s
Er
i
csson
hash a
p
i
:
Remove HASH_MASK and HASH_BUCKETS m
a
c
r
o
s
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-03
A
ndreas Erics
s
on
show
l
og: Start implement
i
n
g state-based filtering
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-02
And
r
ea
s
Ericsson
uti
l
s: Restore commente
d
-out crash
and fix a comm
e
nt
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-01
Andreas Ericsson
tests: Add tests for reverse-parsing files using the
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-01
Andreas
Ericsson
lpar
s
e
api: Add a
utility to parse
f
iles i
n
rev
e
rse
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-30
Andreas Er
i
css
o
n
import: S
t
op leaking memor
y
whe
n
handling h
o
s
t
a
n
d
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-26
Andreas Ericsson
has
h
api: Remove last v
e
stiges of
s
i
ze_t
variables
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-26
A
ndre
a
s Ericss
o
n
Remove the last vestiges o
f
size_t from the utility
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-26
Andreas Eri
c
sso
n
Repl
a
ce s
i
z
e
_t vars
with un
s
igned int
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-25
Andreas Ericsson
Break
o
ut more similarities betwee
n
showlog
.
c and import
.
c
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-25
A
n
d
reas
E
r
icss
o
n
S
h
are mo
r
e code bet
w
een
showlog
a
nd i
m
port
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-25
Andreas Ericsson
S
t
art breaking ou
t
common functions betw
e
en import
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-25
Andreas Eri
c
sso
n
s
h
owlog: Remove build-d
e
penden
c
y
on
l
oggi
n
g
.
o
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-25
A
nd
r
e
a
s
Ericsson
sho
w
l
o
g: Rem
o
ve d
o
wn
t
i
m
e
e
ntry struct definiti
o
n
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-25
And
r
eas Ericsson
showlo
g
: S
t
o
p
tracking
i
mported
bytes
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-25
Andr
e
as Ericss
o
n
sh
o
wl
o
g
:
Stop tracking daemon state and start/stop
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-25
Andre
a
s Ericsson
showlog: Get rid of "in
c
r
emental" mode
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-24
Andreas
Er
i
csson
showlog:
R
emove downt
i
me handli
n
g code
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-20
Andrea
s
Ericsson
lparse: Use memchr() instead of strchrnu
l
()
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-20
A
n
dreas E
r
ic
s
son
Use the broken
-
o
u
t lparse
rou
t
ine
fo
r
import and showl
o
g
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-20
A
ndr
e
a
s Ericsson
Break
out lpars
e
_
path() an
d
lp
a
rse_fd()
t
o
their own
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-13
An
d
rea
s
Ericsson
import
.
c:
Revamp the i
n
n
e
r
loop
of lparse_file()
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-13
Andreas Ericsson
impo
r
t
.
c: Nev
e
r
p
rint mo
r
e than 60 s
e
conds
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-10
Andrea
s
Ericsson
s
q
l
.
c: Avoi
d
r
e
turning a value from a vo
i
d function
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-10
Andr
e
as E
r
ic
s
son
sql
.
c: Be con
s
ervative with what
w
e
pa
s
s to the mysql
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-10-14
Andreas Erics
s
on
sql
.
c: U
s
e
dy
n
a
m
i
c
buffers to escape strings for
sql
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-10-06
An
d
reas Ericsson
Makefile: build imp
o
rt
program
w
ith
debug
g
ing symbols
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-10-06
A
n
drea
s
Ericsson
import:
Make the r
e
ad bu
f
fe
r
s
m
aller
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-10-06
An
d
rea
s
Eri
c
sson
import:
Close
files when we're d
o
ne pars
i
n
g
t
hem
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-10-06
An
d
reas Eri
c
sson
import
:
Protect ag
a
inst nul byt
e
s
in
l
ine-
p
arsed files
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-10-06
Andreas Ericsson
i
mport: Narrow the scope of some variables
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-10-06
An
d
r
e
as
E
ricsson
i
m
p
ort:
Use ma
l
loc() instead of ca
l
loc
(
) when a
l
locating
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-10-06
Andreas
E
ricsson
M
a
k
e
f
ile: B
u
i
l
d module with debug symb
o
ls
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-10-05
An
d
r
ea
s
Eri
c
sson
logging
:
A
v
oid wri
t
i
n
g to N
U
LL file pointers in case
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
next