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.c: Revamp the inner loop of lparse_file()
2009-11-13
A
n
dreas
E
ri
c
sson
i
mport
.
c:
Revamp th
e
inner loop o
f
lparse_file()
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-11-13
A
n
d
reas Ericss
o
n
import
.
c: N
e
v
e
r
p
rint
m
o
re than
6
0 s
e
conds
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-11-10
A
ndreas Ericsson
sql
.
c: Avoid retu
r
ni
n
g a value from a v
o
id function
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-11-10
Andreas Ericsson
sq
l
.
c: Be conservati
v
e
with what we pass to the mys
q
l
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-10-14
Andreas
Ericsson
s
ql
.
c: Use
dynami
c
buffers to esca
p
e strings for sq
l
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-10-06
Andreas Ericsson
M
akefile: build import program with
d
ebug
g
ing symb
o
l
s
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-10-06
And
r
eas Er
i
csson
imp
o
rt: Make the re
a
d
buffer
s
mall
e
r
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-10-06
Andreas Ericsson
i
mport: Clo
s
e fi
l
es w
h
en w
e
'r
e
done parsing the
m
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-10-06
Andrea
s
Ericsson
import: Pr
o
tect again
s
t nul bytes in line-parsed files
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-10-06
Andrea
s
Eri
c
sson
impor
t
:
Narrow th
e
sc
o
pe of
so
m
e va
r
iables
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-10-06
A
ndreas Ericsson
import: Use malloc() ins
t
ead of calloc() when allocatin
g
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-10-06
Andreas Ericsso
n
Makefi
l
e
:
Build module wit
h
deb
u
g symbols
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-10-05
And
r
eas E
r
icsson
logging: Avoid writing to NULL fil
e
pointer
s
in case
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-09-30
Andrea
s
Er
i
csson
import: Hand
l
e program r
e
s
tart
e
vents as program stop
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-09-30
A
ndreas E
r
icsson
C
onsider pr
o
cess resta
r
t events pr
o
cess sto
p
eve
n
ts
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-09-25
Andreas Erics
s
on
s
pecfile: Defin
e
%
name befor
e
we use it in the
%summary
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-09-24
A
ndreas Eri
c
sson
showlog: Don't prin
t
"importing
x
bytes fro
m
blah files"
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-09-22
Andreas Ericsson
logging
.
c: Don't
try to write to a non-
o
pen FILE
pointer
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-09-21
Andreas Ericsson
Add showlog
.
c: A
program for displ
a
ying log
s
in
a certain
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-09-17
Andreas
Ericsson
i
m
port
.
c: I
g
n
or
e
the
"
Local time
i
s
" li
n
es in
n
agios
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-09-17
Andreas
E
rics
s
on
i
m
p
o
rt
.
c
: U
s
e micro-second precision in wallclock runt
i
me
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-09-17
An
d
reas Eric
s
son
i
m
port
.
c
:
Use a fixed-size
b
uffer
of 5MB when
r
ead
i
ng
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-09-15
A
ndreas Ericsson
i
mport
.
c
:
Add
p
rel
i
m
i
nary support for acknowledgements
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-09-15
A
n
d
reas
E
ricsson
sql
.
c: Tr
y
re
c
onnec
t
ing
to the database if
a
query
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-09-15
Andreas
E
r
icss
o
n
s
q
l
.
c: Log sql errors a
s
errors
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-09-15
Andrea
s
Ericss
o
n
Fix logging of n
o
n-critical events
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-07-09
Andreas Ericsson
Deiniti
a
lize l
o
gging prope
r
ly i
n
neb
m
odule_deinit()
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-06-17
An
d
reas Ericsso
n
Fix fallout of renam
i
ng m
o
nitor-webconfig to m
o
nitor
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-06-11
Andre
a
s
Ericsson
find_configured: Fi
x
s
cript to actuall
y
w
o
rk ag
a
in
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-06-11
Andreas Ericsson
db schem
a
: Drop the
'perfdat
a
' table
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-03-26
Andrea
s
Eri
c
sso
n
dt_verif
y
: Let the user (optionally) specify the t
a
ble
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-03-20
Andrea
s
Ericsson
Set pr
o
per perm
i
s
si
o
ns during 'make inst
a
ll'
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-03-20
Andreas
Erics
s
on
dt_verify:
A
d
d hash-bang lin
e
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-02-19
Andreas Erics
s
on
import
.
c: Ig
n
ore "Local time is
.
.
.
" l
i
n
e
s
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-01-20
Andreas Ericss
o
n
Make reports-
m
odule build p
r
op
e
rly on
6
4
-
bit
a
rchs
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-10-01
F
r
edrik Fall
specfil
e
:
Use , instead of # in front of RPM
m
acros
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-10-01
Andreas Er
i
csson
spec
f
ile: W
i
pe
t
he buildroot before install
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-09-26
Andreas Erics
s
o
n
Make
i
nstalli
n
g ove
r
repor
t
s-modu
l
e-1
.
0
.
0 wo
r
k nicely
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-09-26
Andr
e
a
s Ericss
o
n
Ren
a
me ndbneb
.
s
pe
c
.
i
n
reports-module
.
sp
e
c
.
in
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-09-19
Andreas Ericsson
Build p
o
sition-independent code
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-08-27
A
ndreas
E
ric
s
son
i
mp
o
rt
.
c: Allo
c
ate hash tables
for '
i
nteresting' objects
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-08-27
Andreas Ericsso
n
h
ash lib: Correct typo in header
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-08-27
An
d
reas Ericsson
import
.
c
:
Ch
e
ck if h
o
st is int
e
resting in cas
e
n
o s
e
rv
i
ce
i
s
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-08-27
Andr
e
a
s
Erics
s
o
n
verify_import
:
posix_isatt
y
(STDOUT) works better than
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-08-27
Andreas Ericsson
Make verify_im
p
ort
.
p
hp
a l
i
ttle mo
r
e h
u
man-friendly
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-08-27
And
r
eas E
r
icsson
Make verify
_
import run a lot
q
uicker
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-08-27
Andreas
E
rics
s
on
import
.
c: Handle
i
n
t
er
e
s
ting ob
j
ects p
r
e
t
ty mu
c
h e
v
ery
w
here
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-08-27
Andreas Erics
s
o
n
import
.
c: Remove superfl
u
ous
macros
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-08-27
A
ndreas
E
r
icsson
find
_
configured: Try harde
r
to produce a correct service
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-08-27
Andr
e
as Ericss
o
n
f
i
nd
_
c
o
nfigu
r
e
d
:
U
s
e pro
p
er indic
e
s
when han
d
ling
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-08-27
Andreas Er
i
csson
h
a
sh lib: Update to latest ver
s
ion and fix
fallout
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-08-27
Andreas Er
i
csson
ve
r
ify_import: On
l
y print pr
o
gress
i
f
(
i
satty(stdout))
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-08-26
Andreas Ericss
o
n
Fix 's
p
arse' w
a
rnings
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-08-26
A
ndreas Er
i
css
o
n
M
a
ke
sure down
t
ime_dept
h
i
s
a
l
w
ays at least 1 when
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-08-26
Andrea
s
E
r
ic
s
son
Play
n
icely with nagi
o
s
.
cfg from pre-1
.
0
.
1
b
ackup
s
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-07-25
Andreas
E
ric
s
son
Nagios 3 up
d
ate
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-07-25
Andreas Er
i
csson
h
a
sh
l
ib: Ad
d
hash
_
count_
e
ntries
(
)
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-06-12
An
d
r
eas Ericsson
import: Support
i
gnor
i
ng
p
rocess events
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-05-22
Andr
e
as Ericsson
hash lib: Restructure t
o
g
e
t
rid
o
f 2 internal f
u
nctions
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-05-22
Andreas E
r
icsson
hash
lib: Don't co
u
nt
o
n
walked tables never de
l
eting
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-05-07
Andr
e
as E
r
icsson
specfi
l
e: Poin
t
n
agi
o
s
.
cfg t
o
new module location o
n
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-05-07
A
n
d
r
e
a
s E
r
icss
o
n
specfil
e
: Relocate module to /opt/mon
i
t
or/o
p
5/repo
r
ts
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-05-07
A
n
dreas Ericsson
import
.
c: Handle broke
n
li
n
es gracefully
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-04-28
Andreas Ericsson
im
p
ort
.
c:
I
gnore L
O
G VERSION type
messag
e
s
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-04-03
An
d
reas E
r
icsson
import
.
c: Don't bomb out on
e
mpty
li
n
es at
t
op of l
o
gfiles
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-04-03
And
r
eas E
r
i
csson
s
p
ecfile: Pr
e
Req
:
monitor-webconfi
g
>= 3
.
3
.
0
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-04-03
An
d
r
eas Ericsson
import
.
c: In
c
lude skip
p
ed lines w
h
e
n
cou
n
tin
g
bytes
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-04-03
An
d
reas
Ericsson
i
mport
.
c: Ignore e
m
p
ty lines
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-04-02
Andreas Ericsson
spec
f
ile: Don't tr
y
to import logfiles if there aren
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-04-01
And
r
eas E
r
icsson
i
mp
o
rt
.
c: D
o
n't tru
s
t log_version wh
e
n par
s
ing do
w
ntim
e
s
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-04-01
An
d
reas Ericsso
n
impor
t
.
c: Improve handlin
g
of
unkn
o
wn events
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-04-01
A
ndreas
E
r
icsson
i
m
p
o
rt
.
c: Add more un-inter
e
s
t
ing signatures
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-04-01
A
n
d
r
eas Ericsson
import
.
c: Only print file and linenumber if we're in one
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-04-01
Andreas Er
i
csson
impo
r
t
.
c:
Don't pri
n
t
d
ebug mess
a
ges uncondit
i
o
n
ally
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-04-01
Andreas Eri
c
s
s
o
n
impo
r
t
.
c
: Print filename an
d
linenumber wh
e
n c
r
ash
i
ng
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-03-28
A
n
dre
a
s Ericsson
module
.
c: Always
create
a
PROCESS_START e
v
ent upon
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-03-17
Andreas
Eri
c
s
s
on
i
m
port
.
c: Bail out early if
w
e
aren't giv
e
n any log
f
iles
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-03-17
Andreas Ericsso
n
import
.
c: Be more
accu
r
ate when gue
s
sing
i
nd
e
xing time
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-03-17
A
n
d
reas
Eri
c
sson
import
.
c: Fix query use
d
when importing incrementally
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-03-17
Andreas
E
ric
s
son
s
p
ecfile: Use p
h
p
t
o
call find_confi
g
ured
.
php
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-03-17
Andreas E
r
icsson
specf
i
le: A stab at making the %post
sc
r
ipt
work
p
roperly
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-03-17
Andreas Er
i
csson
import
.
c: Support
-
-incremental mode
wit
h
e
m
p
ty datab
a
s
e
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-03-17
Andreas E
r
icsson
Make
f
i
l
e: Install php script
s
along wit
h
programs
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-03-17
Andreas Er
i
csson
import
.
c: l
p
arse_file() m
u
stn't re
a
d() i
n
to NULL
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-03-13
Andreas E
r
icsso
n
import
.
c:
Support
inc
r
e
mental imports
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-03-13
Andreas
E
ricsson
sql api: Extend
a
pi with db agn
o
stic query->resul
t
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-03-13
A
n
dre
a
s Ericsson
n
d
bneb
.
s
p
e
c
.
in: Fix some install issues on
c
ent
o
s
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-03-13
Andreas
Ericsson
verify_imp
o
rt
.
p
h
p
: Print
starttime for iffy do
w
ntimes
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-03-13
An
d
r
e
a
s Ericsson
import
.
c: Don't show "total
warnings"
u
nless warnings
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-03-10
Andre
a
s Ericsson
Teach import
.
c about event han
d
ler l
o
g entr
i
es
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-03-04
Andreas
Ericsson
specfile: Rename packag
e
monitor-repo
r
ts-modu
l
e
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-02-19
An
d
reas
Ericsso
n
dt_ver
i
fy
.
php:
Check down
t
ime for a particular
h
o
s
t
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-02-18
Andreas Eri
c
sson
import
.
c:
C
l
e
ar
up downt
i
me adding/remov
i
n
g
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-02-18
An
d
reas Ericsson
imp
o
rt
.
c
:
Skip one
s
eco
n
d
when calculating next_dt_purge
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-02-18
Andreas Ericss
o
n
import
.
c: Change insert_proc
e
s
s
_event()
t
o u
s
e global
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-02-18
Andreas Ericss
o
n
imp
o
rt
.
c
: P
a
rtially revert ad0
e
46e8
7
7d545f52
5
9
0
85cc6d2573e4f
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-02-18
A
n
dre
a
s Ericsson
import
.
c: Count and (optionall
y
) pri
n
t max
dow
n
t
ime
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-02-18
Andrea
s
Ericsson
import
.
c: Restr
u
cture
the file a
bit
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-02-18
Andreas Ericsson
impo
r
t
.
c: Rename to
t
al_downtime_depth to dt_depth
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2008-02-18
A
ndreas Erics
s
o
n
import
.
c: D
i
sable wa
r
ning
s
for
l
time < last_ltime
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
next