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
Make single-read.log have a real timestamp
2009-12-04
Andr
e
as Ericsson
Make singl
e
-read
.
l
og
h
ave a real timestamp
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-04
Andreas Ericsson
Makefile: Mark logutil
s
.
h as a compile-ti
m
e dependen
c
y
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-04
Andreas Ericsson
Silence various sparse wa
r
nings
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-04
An
d
reas Erics
s
on
u
tils: Unify "interesting objec
t
" handling
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-03
Andre
a
s Ericsson
showlog: Support parsi
n
g logfiles in
r
e
v
erse order
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-03
Andreas Ericsson
ha
s
h
api: R
e
move HASH_MA
S
K
and H
A
SH_B
U
CKETS macros
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-03
Andre
a
s
Erics
s
on
s
h
owlog: Start implementing state-based fi
l
tering
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-02
Andr
e
as Ericsson
utils: Resto
r
e commented-out crash and fix a c
o
m
m
e
nt
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-01
Andreas E
r
icsson
tests: Add tests for rev
e
rs
e
-
pars
i
n
g files using the
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-01
Andreas Ericss
o
n
lpar
s
e api: Add a
uti
l
i
ty to parse files in
r
e
verse
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-30
An
d
reas E
r
icsson
i
m
port:
Sto
p
leaking
m
em
o
ry w
h
en hand
l
i
n
g
host and
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-26
Andr
e
as Eric
s
son
has
h
api: Remove las
t
vestiges o
f
size_t variables
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-26
Andreas Ericsson
Remove the last vestiges of size_t from the u
t
ility
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-26
Andreas Ericss
o
n
R
e
place size_t va
r
s with unsign
e
d int
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-25
Andreas Eric
s
so
n
Break out more simi
l
ar
i
ti
e
s between showlog
.
c a
n
d
import
.
c
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-25
And
r
eas E
r
i
csson
S
hare
more code between showlog and import
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-25
Andreas Eric
s
son
Start br
e
aking out co
m
mon fun
c
t
i
ons
b
etwe
e
n import
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-25
Andreas Ericsson
showlog:
R
emove bu
i
ld-dependenc
y
on logging
.
o
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-25
Andre
a
s Ericss
o
n
showlog: Remove downtime entry struct defi
n
ition
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-25
Andreas E
r
icsson
s
h
o
w
log
:
Stop track
i
n
g
imported by
t
e
s
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-25
Andreas Ericss
o
n
showlog: Stop tracking daemon st
a
t
e
a
nd start/
s
top
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-25
Andrea
s
Ericsson
show
l
og
:
G
e
t
r
id of "incremen
t
a
l
" mode
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-24
A
n
dr
e
as Eri
c
sson
showlog
:
Remov
e
downtime handling code
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-20
A
n
dreas Ericsson
lparse: Use m
e
mchr()
instead of
strchrnu
l
()
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-20
Andreas Eri
c
s
s
on
Use the b
r
oken-out lparse routine f
o
r im
p
ort
a
nd showlo
g
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-20
Andreas Ericsson
Break
o
ut lparse
_
path
(
) and lparse_
f
d() to t
h
eir own
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-13
Andreas E
r
icss
o
n
impo
r
t
.
c: Revamp the inner
l
o
op of l
p
ars
e
_fil
e
()
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-13
Andreas Eri
c
ss
o
n
import
.
c: Never print mor
e
t
h
an 60 seconds
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-10
Andreas Ericsson
sql
.
c: Avoid retu
r
ning a val
u
e
from a void function
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-10
A
ndreas
E
ricsson
sql
.
c: Be conservative wi
t
h what we
pass to
the my
s
ql
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-10-14
An
d
r
e
as Ericsson
sql
.
c
:
Use dynamic
b
uffers to escape str
i
ngs
f
or sql
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-10-06
A
n
dre
a
s Ericsson
Makefi
l
e: build i
m
p
o
r
t program wit
h
debugging symb
o
l
s
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-10-06
Andreas Er
i
c
s
s
on
import
:
Make the read buffer smaller
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-10-06
A
ndreas Ericss
o
n
import: C
l
ose
f
i
les when we
'
re do
n
e parsing them
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-10-06
An
d
reas
E
ricsson
imp
o
rt: Protec
t
against
n
ul
bytes in line-p
a
r
s
e
d files
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-10-06
A
n
dreas Ericsson
import: Narrow
t
h
e
s
cope of some vari
a
bles
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-10-06
Andreas Ericsson
imp
o
rt
:
Use
m
a
l
l
oc() instead of calloc(
)
when all
o
cating
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-10-06
A
ndre
a
s Eri
c
sson
Makefile:
B
uild modu
l
e
with debug s
y
mbols
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-10-05
Andreas Ericsson
loggi
n
g: Avoid writing to NULL file pointers in
c
ase
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-09-30
A
n
dre
a
s Ericss
o
n
import: Handle program restart events
a
s
program s
t
op
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-09-30
Andreas
Eri
c
sson
Co
n
sider proces
s
rest
a
rt ev
e
nts process stop even
t
s
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-09-25
Andreas
E
ricsson
specfi
l
e: Define %name before we
u
se it in th
e
%summary
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-09-24
An
d
re
a
s Erics
s
on
s
howlo
g
: Don'
t
print "im
p
orting x byt
e
s from bla
h
files"
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-09-22
Andreas Ericsson
loggin
g
.
c: Don't try to writ
e
to a non-
o
pen FILE pointer
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-09-21
A
ndreas
E
ricsson
Add sh
o
wlog
.
c
:
A
program
for displayi
n
g log
s
in a
c
e
rtain
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-09-17
Andreas Eri
c
sson
import
.
c: I
g
no
r
e the "Local
time is " lines in nagios
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-09-17
Andre
a
s Ericsson
impo
r
t
.
c: Use micro-second precision in
w
a
llclock runti
m
e
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-09-17
Andreas Eri
c
sson
import
.
c: Use a fixed-size buffer of 5MB wh
e
n
r
ead
i
ng
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-09-15
Andrea
s
E
r
ics
s
on
i
mport
.
c
: Add prelimina
r
y s
u
pport
for acknowledgem
e
nts
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-09-15
Andreas Ericsson
sql
.
c: Tr
y
rec
o
n
n
ecting to the d
a
t
a
base 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 er
r
ors as er
r
ors
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-09-15
Andre
a
s E
r
icsso
n
Fix lo
g
ging
o
f non-cri
t
i
cal events
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-07-09
And
r
eas Ericsson
D
einiti
a
lize lo
g
ging properly in nebmodule_deinit()
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-06-17
Andreas
Ericsson
Fix fallout of
renaming monitor-we
b
confi
g
to mo
n
itor
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-06-11
A
ndre
a
s Eric
s
son
f
i
nd_config
u
red: Fix script to actua
l
l
y work ag
a
in
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-06-11
Andreas
E
r
ics
s
o
n
db
schema: Drop the 'perfdata' table
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-03-26
Andreas E
r
ics
s
on
dt_
v
erify: Let
t
he
user
(
optionall
y
) specify
t
he tabl
e
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-03-20
A
nd
r
eas
Ericss
o
n
S
et proper
per
m
iss
i
o
n
s d
u
r
ing 'ma
k
e install'
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-03-20
A
ndreas Ericss
o
n
dt_ve
r
i
f
y: Add hash-bang
l
i
ne
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-02-19
Andreas
E
ricsson
import
.
c: Ignore "Local time is
.
.
.
" lines
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-01-20
A
n
dreas Ericss
o
n
Make re
p
orts-module build properly on 64-bit archs
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2008-10-01
Andreas Ericsson
specfile: Wipe th
e
buildro
o
t before install
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2008-09-26
Andreas Er
i
csson
Make
i
nstalling over reports-module-1
.
0
.
0
w
ork nicely
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2008-09-26
Andreas Ericsson
Rename ndbneb
.
spec
.
in reports-module
.
spec
.
in
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2008-09-19
A
ndreas Ericsson
Bu
i
ld
p
os
i
tion-indepen
d
ent
code
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2008-08-27
Andrea
s
Ericsson
imp
o
rt
.
c:
Allocate hash table
s
for 'int
e
resting'
o
bjects
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2008-08-27
Andreas Ericsson
hash lib:
Correct typo in he
a
d
er
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2008-08-27
A
ndrea
s
Ericsson
import
.
c: Check if host is intere
s
ting in case no s
e
rvice is
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2008-08-27
Andreas Ericsson
verify_import: posix_isatt
y
(ST
D
O
UT) works better t
h
an
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2008-08-27
And
r
e
a
s
Eric
s
s
o
n
M
a
k
e verify_im
p
ort
.
php a li
t
tle m
o
re human-frien
d
l
y
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2008-08-27
A
n
dreas Ericsson
M
a
k
e verify_im
p
ort
run a lot quicker
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2008-08-27
Andreas Er
i
csson
import
.
c
: Handle interest
i
ng ob
j
ect
s
pr
e
tty much everywhe
r
e
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2008-08-27
An
d
r
e
as Ericsson
impo
r
t
.
c: Remove superfluous
macros
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2008-08-27
Andr
e
as E
r
ic
s
son
f
ind_
c
onfig
u
red: Try hard
e
r to produce a corre
c
t servic
e
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2008-08-27
Andr
e
as
Ericsson
find
_
confi
g
ured:
Use
p
roper ind
i
c
e
s wh
e
n handling
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2008-08-27
And
r
e
as Ericsso
n
hash lib
:
Updat
e
to latest version and fix fallou
t
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2008-08-27
And
r
eas Er
i
csson
verify_im
p
o
r
t: Only pr
i
nt pro
g
ress if (isatty(stdout))
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2008-08-26
Andreas Eri
c
s
s
on
Fix
'spa
r
se' warn
i
ngs
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2008-08-26
A
n
dreas E
r
icsson
Make
sure downtim
e
_depth is always a
t
least 1 when
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2008-08-26
A
n
dr
e
as E
r
icsson
Play nicely with nagios
.
cfg
from
pre-1
.
0
.
1 backu
p
s
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2008-07-25
And
r
eas Ericsson
Nagios 3 upd
a
te
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2008-07-25
A
n
dreas
Ericsson
hash li
b
: A
d
d hash_count_en
t
ries(
)
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2008-06-12
A
ndr
e
as Er
i
csson
i
m
port:
S
upport igno
r
ing
process events
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2008-05-22
A
n
dreas E
r
ic
s
son
has
h
lib: Restr
u
cture to get rid of 2 inter
n
al
functions
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2008-05-22
A
n
dreas Ericsson
hash l
i
b: Don't c
o
unt on
w
alked
tables nev
e
r
deleting
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2008-05-07
Andreas Eri
c
ss
o
n
specfil
e
: Point nagios
.
cfg to new module
locatio
n
on
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2008-05-07
Andrea
s
Erics
s
on
specfile: Relocate module
to /
o
pt/
m
onitor/op5/re
p
orts
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2008-05-07
Andr
e
as Er
i
csson
import
.
c
:
Handl
e
broken lines gracefully
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2008-04-28
A
ndre
a
s E
r
icsson
impo
r
t
.
c: Ign
o
re LOG VERS
I
ON type messages
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2008-04-03
Andreas
Ericsso
n
import
.
c:
D
on't
bom
b
out
on empty lines at top of
logfiles
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2008-04-03
Andreas Ericsson
specfile
:
PreReq: monitor-webconfig >= 3
.
3
.
0
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2008-04-03
Andreas
Ericsso
n
import
.
c: In
c
lude skipped
l
ines wh
e
n c
o
unting by
t
e
s
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2008-04-03
A
n
dreas Ericss
o
n
import
.
c
: Ignore
e
m
pty lines
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2008-04-02
A
ndreas
E
rics
s
on
specf
i
le: Don't
try
to
i
mport logfil
e
s
i
f t
h
ere aren
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2008-04-01
Andreas Erics
s
on
import
.
c
:
D
on
'
t trust log_versi
o
n when
p
a
r
sin
g
down
t
i
mes
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2008-04-01
Andreas Er
i
csson
i
m
port
.
c: Improve handling of unknown events
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2008-04-01
A
ndreas Er
i
css
o
n
import
.
c: Add mo
r
e un-
i
nteresti
n
g signatures
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2008-04-01
A
n
dreas Ericsson
import
.
c: On
l
y
pri
n
t
file and linen
u
mber if
w
e're in one
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2008-04-01
An
d
re
a
s Ericsson
import
.
c: Don't print debug m
e
ssages uncondition
a
l
ly
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2008-04-01
A
n
d
reas
Ericsson
im
p
o
r
t
.
c: Print
f
i
lena
m
e and linenum
b
er whe
n
c
rashi
n
g
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
next