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
logutils: Make sure we look at the right string when checking for *.log
2009-12-11
Andreas Eric
s
s
o
n
logutils: Make su
r
e we look at the right string w
h
en
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-11
Andreas
Ericsson
import: Remo
v
e
ha
r
dcoded 'report_data' table name
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-11
A
n
dreas Ericss
o
n
Remove --i
g
nore
-
process-events
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-11
Andreas
Ericsson
test-lpar
s
e: make tests work on
6
4
-
bit archs
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-11
Andreas Ericsson
t
e
st-lpa
r
se: Add te
s
ts fo
r
t
h
e
path_cmp
_
number() function
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-11
Andreas
E
ricsson
logutils: Fix
s
p
ecial-casing
of "nagios
.
log"
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-11
Andreas
E
ricsson
l
ogutils: Rem
o
v
e
year validation fro
m
filename number
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-11
Andreas Ericsson
logu
t
ils:
Re
p
ort
filesort errors
m
ore accur
a
te
l
y
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-07
Andreas Ericsson
sho
w
log:
A
d
d sho
r
t
c
ut
f
or
'all sta
t
es'
a
s
optio
n
to
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-07
A
n
d
reas E
r
i
cs
s
on
s
howlog: Fix statet
y
pe filter sett
i
ngs
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-07
An
d
reas Eri
c
sson
showlog: Ma
k
e --hide-[
p
r
ocess,flapp
i
ng,dow
n
tim
e
] arguments
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-07
Andreas Er
i
csson
showlog: Support print
i
ng down
t
ime and flapping a
l
erts
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-07
A
ndreas
Ericsso
n
s
h
owlo
g
:
F
ix t
h
e even
t
_filt
e
r
logic
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-07
Andreas
Ericsso
n
showlog:
S
how all
host and
s
ervice states by d
e
fau
l
t
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-04
Andreas Ericsson
s
howlog: Start impl
e
menting filtering
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-04
A
n
dreas
E
ricsson
Sh
a
re state- an
d
soft/har
d
parsi
n
g r
o
utine
s
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-04
A
nd
r
eas Ericsson
Make
s
ingle-read
.
log have
a
r
e
al timestamp
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-04
Andreas
Erics
s
on
Makefile:
M
a
rk logu
t
ils
.
h as a compile-time dependenc
y
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-04
Andreas
E
ricsson
Silence
various
s
parse
warnings
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-04
And
r
ea
s
Ericsson
utils: Unify "interesting
objec
t
"
h
a
ndling
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-03
Andre
a
s
Er
i
csson
sho
w
log: Support parsing l
o
gfi
l
es in re
v
erse
orde
r
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-03
Andreas Ericsson
hash
ap
i
: Remov
e
HASH_MASK a
n
d
HASH_BUCK
E
TS macros
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-03
Andreas Eri
c
sson
sh
o
wlog: Start implement
i
n
g
s
t
a
te
-
based filtering
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-02
Andreas Ericss
o
n
utils: Restore com
m
ented-out crash and fix a comment
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-01
Andreas Eric
s
son
t
ests: Add tests for reverse-parsi
n
g files using
th
e
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-01
A
n
dre
a
s Er
i
csson
lparse
a
pi: A
d
d
a utility
t
o
parse files in reverse
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-11-30
Andreas Erics
s
on
import: Stop leaking memory when handling host and
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-11-26
Andr
e
as Ericsson
hash api: Re
m
ove last vest
i
ges of size_
t
variab
l
es
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-11-26
Andreas Erics
s
on
Remo
v
e
the las
t
v
e
s
tiges of si
z
e_t fr
o
m th
e
u
tilit
y
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-11-26
Andr
e
as Ericsson
R
e
place size_t vars with unsig
n
ed int
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-11-25
And
r
eas Ericsson
Br
e
ak out mor
e
s
i
m
ilar
i
t
ie
s
between showlog
.
c
and import
.
c
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-11-25
Andreas Ericsson
Share mo
r
e code between showlog and import
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-11-25
Andreas E
r
icsson
Start breakin
g
out comm
o
n functions
b
e
t
ween
import
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-11-25
Andreas Ericsson
showlog: Remove build-dep
e
n
d
ency on log
g
i
n
g
.
o
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-11-25
Andreas
E
r
icsson
showlog: Remove down
t
ime
entry struct definition
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-11-25
Andreas Eri
c
s
s
o
n
sh
o
wlog: Stop
t
racking imported
b
y
t
es
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-11-25
Andreas Ericsson
showlog: Stop track
i
ng daemon s
t
ate
a
nd start/stop
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-11-25
Andreas Ericsson
showlog:
G
et ri
d
o
f "incr
e
mental" mode
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-11-24
A
nd
r
eas Ericsson
s
h
owlog
:
Remove downti
m
e ha
n
dling code
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-11-20
Andreas Er
i
c
s
son
l
p
a
r
s
e
: Use
memchr() instea
d
of str
c
hrnul(
)
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-11-20
A
n
dr
e
as E
r
icsson
Use the broken
-
out lparse ro
u
tine for impor
t
and s
h
owlog
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-11-20
Andreas
Eric
s
son
Break out lpar
s
e_path() and lparse_fd
(
) to their
o
w
n
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-11-13
And
r
eas
E
r
i
css
o
n
import
.
c
:
Revamp the inner loop of lparse_f
i
l
e()
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-11-13
And
r
eas Ericsso
n
import
.
c: Neve
r
print more than 60
s
e
conds
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-11-10
Andre
a
s Ericsson
sql
.
c: Avoid returning a
v
alu
e
from a void function
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-11-10
Andreas
E
ricsson
sql
.
c
: Be conservati
v
e with what
we pass to the my
s
ql
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-10-14
Andreas Ericsson
sql
.
c: Use
dynamic buffer
s
t
o es
c
ape strings fo
r
s
q
l
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-10-06
Andreas Er
i
csson
Makefile: build import program wi
t
h debugging symbols
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-10-06
An
d
r
ea
s
Ericsson
i
mpor
t
:
Make
t
he
read
b
uffe
r
smalle
r
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-10-06
Andreas Ericsson
im
p
o
r
t: Close fil
e
s when we
'
re done par
s
ing them
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-10-06
Andreas Ericsson
import: Protect against nul bytes in
l
ine-parse
d
f
i
l
es
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-10-06
A
n
dreas Ericsson
impor
t
: Narrow the scope of s
o
m
e
v
ariab
l
es
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-10-06
Andreas Eri
c
ss
o
n
import
:
Use mall
o
c()
i
nstead of callo
c
(
)
w
hen allocati
n
g
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-10-06
A
nd
r
ea
s
Erics
s
on
M
a
kefile: Buil
d
module with debug s
y
mbols
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-10-05
Andr
e
as Ericsson
logging: Avoid writing to
N
ULL file poi
n
ter
s
i
n
case
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-09-30
Andre
a
s Ericsson
import: Handle progr
a
m
r
estart event
s
as program sto
p
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-09-30
Andreas Er
i
csson
Consid
e
r
p
roce
s
s r
e
start even
t
s
p
rocess stop events
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-09-25
Andreas Ericsson
sp
e
cfile: Define
%
n
a
me bef
o
re
we use it in
th
e
%summ
a
ry
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-09-24
An
d
reas Ericsson
showlog
:
Don't print "import
i
ng x
bytes from blah f
i
les"
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-09-22
Andr
e
as E
r
icsson
loggi
n
g
.
c:
D
on't try to writ
e
to a no
n
-open FI
L
E pointer
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-09-21
Andreas E
r
icsso
n
Add showlog
.
c: A
program for dis
p
l
a
ying logs in a certain
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-09-17
A
n
dreas
Ericsson
import
.
c:
Ignore the
"Local ti
m
e is "
lines i
n
nagi
o
s
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-09-17
A
n
d
r
eas
E
ricsson
imp
o
r
t
.
c: U
s
e
micro-second precision
in wallclock runtime
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-09-17
Andr
e
a
s
E
r
ics
s
o
n
i
m
port
.
c: Use a
f
ixed-size buffer of
5
M
B when
reading
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-09-15
Andreas E
r
icss
o
n
import
.
c: Add
p
r
eliminary support for
acknowl
e
dgements
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-09-15
Andreas
E
ricsson
s
ql
.
c: Try r
e
con
n
ecting
to
the database if a query
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-09-15
A
n
dreas Ericsson
sql
.
c:
Log sql err
o
rs as e
r
rors
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-09-15
Andreas
Ericsson
Fix
l
ogging of no
n
-
critica
l
e
v
ents
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-07-09
A
n
dreas Ericsson
Dein
i
tializ
e
l
o
gging pro
p
erly in ne
b
modu
l
e_dei
n
it
(
)
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-06-17
Andreas
E
r
i
csson
Fix fallou
t
of renam
i
ng monitor-webconfig to mon
i
tor
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-06-11
Andreas E
r
icsson
find_
c
onfigured
:
F
i
x script to a
c
t
u
a
lly work again
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-06-11
Andreas Er
i
csson
db schema: Drop the 'perf
d
a
t
a'
t
able
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-03-26
And
r
e
as
E
ricsson
dt_
v
erify: Let the user (optionally) specify the table
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-03-20
Andre
a
s Eric
s
s
o
n
Set p
r
oper perm
i
s
sions during 'make install'
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-03-20
Andreas
Ericsson
dt_verify: Add hash
-
bang
l
ine
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-02-19
Andreas Eric
s
son
import
.
c: Ignor
e
"
Loc
a
l
t
i
me is
.
.
.
" line
s
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-01-20
A
n
dreas
E
ricsson
Make reports-modul
e
build prop
e
rly on
64
-
b
it archs
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-10-01
Fredrik Fall
specfile:
Use
, ins
t
e
a
d of
#
in front of
R
PM ma
c
ros
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-10-01
Andreas Eric
s
son
specfi
l
e
:
Wip
e
the bu
i
ldroot
b
efore
i
nstall
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-09-26
Andreas
E
ricsson
Mak
e
installing o
v
e
r rep
o
r
t
s-module-1
.
0
.
0
wo
r
k n
i
cely
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-09-26
Andreas Erics
s
o
n
Rename ndbneb
.
spec
.
in reports-module
.
spec
.
in
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-09-19
Andreas
Ericss
o
n
Build position
-
i
ndependent code
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-08-27
Andr
e
as Ericsson
import
.
c
: Allocate hash tables for 'interesting'
objects
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-08-27
Andrea
s
Ericsson
hash lib: Correct
typo
i
n he
a
de
r
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-08-27
And
r
eas Ericsson
import
.
c:
Check if host
i
s interesting in case no
s
ervice
i
s
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-08-27
Andr
e
a
s
Eri
c
s
son
verify_import: posix_isatty(STD
O
UT) works better t
h
an
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-08-27
A
ndreas Ericsson
M
a
ke ve
r
ify_imp
o
rt
.
php
a
little mor
e
human-
f
riendl
y
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-08-27
Andreas
E
ricsson
Make
v
eri
f
y_import
r
un a lot q
u
i
cker
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-08-27
Andreas Eri
c
sson
import
.
c: Handle interesting objects pre
t
ty
much everywhere
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-08-27
Andre
a
s
E
ricsso
n
i
mp
o
r
t
.
c: Remove su
p
erf
l
uous macro
s
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-08-27
A
n
dreas
E
ricsson
find_configured:
T
ry
h
arder to produc
e
a
correct
s
ervice
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-08-27
A
ndreas Ericsson
fi
n
d_conf
i
gured: Use
p
roper indices
w
h
e
n h
a
ndling
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-08-27
Andreas Ericsso
n
hash lib: Update to latest ve
r
sion an
d
fix fallout
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-08-27
Andreas Ericsson
verify_import: Only print progress if
(isatty(
s
t
d
out))
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-08-26
Andreas
Ericsson
Fix 'sparse' w
a
rnings
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-08-26
Andreas
E
ricsson
Make sure downtime_depth is
a
l
ways at least
1 w
h
en
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-08-26
And
r
eas
E
ricsson
Play nicely wi
t
h
nagios
.
cf
g
fro
m
pre-1
.
0
.
1 backups
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-07-25
Andrea
s
E
ric
s
son
Nagios
3 u
p
date
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-07-25
A
n
d
r
eas E
r
ics
s
on
hash lib: A
d
d hash
_
count_entri
e
s
(
)
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-06-12
And
r
e
a
s E
r
icsson
import:
S
u
ppo
r
t
ignor
i
ng process events
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
next