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
Makefile: Update build dependencies for test-lparse
2010-07-06
A
nd
r
eas Ericsson
Ma
k
efile:
Update
b
u
ild dep
e
ndenci
e
s
f
or
t
est-lparse
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-07-06
Andreas Ericsson
Make the lpars
e
api
l
arge-fi
l
e aware
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-07-06
Andreas Erics
s
on
import: Ma
k
e progres
s
reporting a
b
it
l
ess crazy
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-07-05
Andreas Ericsson
S
u
pport large files
on
3
2
b
it s
y
stems
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-07-05
Andreas Ericsson
Allow
l
a
z
ily co
n
necti
n
g t
o
the database
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-07-05
A
n
dreas Ericss
o
n
Make
f
ile: A
d
d targe
t
t
o
run sql-dependant tests
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-07-05
Andreas E
r
icsson
nebte
s
t:
Make
tes
t
ing usin
g
an sql database optional
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-06-17
Andreas Ericsson
showlog: Us
e
loc
a
l
t
ime() instead of gmtime()
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-24
Andreas Ericsson
showlog:
D
o
n't ma
n
gle the ltime varia
b
le
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-17
And
r
eas Ericsso
n
s
h
owlog:
Use u
i
nt64_
t
for ltime_s
k
ews, skip and limit
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-17
Andreas Ericss
o
n
showlog
:
S
how ltime sk
e
ws as per
c
en
t
age
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-05
Andr
e
as E
r
icss
o
n
import: Don't enable ind
e
xes unless we've disabled
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-05
Andreas
E
r
icsson
import: Don
'
t bother enabling indexes
i
f we'r
e
more
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-05
Andreas Eric
s
son
import: Disable
indexes on-demand
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-05
Andr
e
as
E
ricsson
imp
o
rt:
C
reate disable_indexes() and enable_indexes()
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-05
Andrea
s
E
r
icsson
Augm
e
nt end_pro
c
ess()
w
i
th
a
m
ount of bytes skipped
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-05
Andrea
s
Ericsson
import: Fix p
r
ogress
o
ut
p
ut ETA when ski
p
p
i
n
g files
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-05
An
d
reas Ericsson
showlog: Remove debugging output
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-05
An
d
reas Er
i
csson
spe
c
file
:
Fix mes
s
ag
e
s written befor
e
and af
t
er running
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-04
Andreas
E
ricsson
sho
w
log:
F
il
t
er in all ev
e
nts by default
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-04
Andreas Ericsson
showlog: Let f
l
ap
p
ing and d
o
wntime imply EV
T
_HOST an
d
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-04
Andreas Eric
s
son
sh
o
wlog: Add 'sh
o
w'
v
ersions of all 'hid
e
' options
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-04
A
ndreas Ericsson
apps: Add gcc at
t
ri
b
u
t
es to usage() functions
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-04
A
n
dreas Ericsson
import:
M
ake tobytes()
take a
u
int6
4
_
t
a
r
gument
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-04
Andreas
Ericsson
impor
t
::to
b
ytes(
)
: Ma
k
e sure
we ne
v
er shift beyond
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-30
Andreas Erics
s
on
im
p
ort:
Speed up
incremental imports conside
r
a
b
ly
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-27
An
d
reas Ericsson
import: Use uint64_t for count
i
n
g bytes and
l
in
e
s in
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-26
Andr
e
as Er
i
csson
Makefile: s/QUITE
_
LINK/QUIET_L
I
NK
/
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-23
Andreas Eri
c
sson
specfil
e
: Use impo
r
t's a
b
ility t
o
fi
n
d log
f
i
le
s
b
y
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-23
Andr
e
a
s E
r
icsson
i
m
port:
A
dd usag
e
() function and grok
-
-help a
r
g
ument
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
test
-
h
ash: R
e
move unused code
a
n
d variable
s
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
And
r
eas Ericsson
test_u
t
ils
.
h: add pro
t
otype for t_start()
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Erics
s
o
n
test-hash
:
Use t_start()
i
n
s
t
ead of
h
a
n
dcra
f
tin
g
a
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas E
r
icsson
t
e
st-lpar
s
e: Use t_s
t
art() and t_end() p
r
operl
y
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas E
r
i
c
sson
nebtest: Use t_start() instead o
f
s
etting our own
t
o
p
ics
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
An
d
r
eas Ericsso
n
test_u
t
i
ls: Indent
a
nd prefix test t
o
pics
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericss
o
n
utils: R
e
move warning about "no
hos
t
list, s
o
nothin
g
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas E
r
icsson
test_utils: Prin
t
newlin
e
a
fte
r
start
i
ng test topic
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
A
n
dre
a
s Ericsso
n
.
gitignore tes
t
-has
h
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas E
r
ics
s
on
nebtest: Re-enable checkin
g
c
a
l
l
bac
k
s
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Eri
c
ss
o
n
i
mport
:
O
n
l
y
pri
n
t
down
t
ime debug data if dt_start
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas E
r
icsso
n
M
akefi
l
e: Run n
e
bte
s
t
w
ithout
ec
h
oing
t
he
c
om
m
and
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
A
n
drea
s
Ericsson
import: Re
m
ove do
w
n
t
im
e
as we walk the h
a
shes
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Eri
c
sso
n
Add test-hash
.
c, to test ha
s
h
_
w
alk_data()'s new removal
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
A
n
dreas E
r
icsson
test_
u
t
ils:
M
a
ke
t
est he
a
d
e
r
s appe
a
r in cyan
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
An
d
reas
Ericsso
n
Makefile: Re
q
u
ire 'te
s
t' w
h
en
b
uilding all
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
And
r
eas Er
i
csson
nebte
s
t
: Use th
e
testing func
t
i
o
ns
f
rom test_utils
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andre
a
s
E
ricss
o
n
test-lp
a
rs
e
: Use test_
u
tils in test-lparse
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
And
r
eas
Ericsson
l
o
gging: Pr
i
nt fi
n
al n
e
wline to same file-pointer as
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andrea
s
Ericsson
import
:
Purge expired dow
n
t
ime whe
n
we're done importing
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
im
p
o
r
t:
P
rint r
e
maining downtime in
hash tables
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
hash: Sup
p
or
t
forcing debug p
r
in
t
i
ng of ha
s
h tables
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
And
r
eas Ericsson
Add test_util
s
lib
r
a
r
y
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas E
r
icss
o
n
hash:
A
dd supp
o
r
t
for walker to remove
entries
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
impor
t
: Move som
e
code
a
r
oun
d
in purge_expire
d
_dt()
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsso
n
imp
o
rt: Us
e
the new h
a
sh_d
e
bug_table(
)
macro an
d
it
s
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Eri
c
sson
hash: A
d
d ha
s
h_
d
ebug_print_ta
b
le_data() fu
n
ction
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
A
ndrea
s
Ericsson
has
h
: Coun
t
r
emov
e
d and added
e
ntries
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
import: C
o
unt
(
and
p
rint)
s
k
i
pp
e
d downtime entries
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
A
nd
r
eas Eric
s
son
h
a
sh:
Change
or
d
er of arg
u
ment
s
whe
n
checking hash
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-19
Andreas Ericsson
hooks: H
a
ndle NEBT
Y
PE_D
O
WNTIME_DELETE
event
s
properly
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-19
And
r
eas Ericsson
verify
_
impo
r
t: Update mysql_result() usage
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-19
Andreas
Eri
c
s
son
v
e
rify_im
p
ort
:
Make
database table a co
m
man
d
-
line option
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-16
Andreas Ericsson
showlog: Add --hide-all command
line
op
t
io
n
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-16
Andrea
s
Ericsson
showlog: Add
support for prin
t
ing log timesta
m
p
sk
e
w
s
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-09
Andreas Erics
s
on
import: Make su
r
e desc is always initial
i
zed p
r
operly
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-09
Andreas Ericsson
impo
r
t: Fix
sql error
in servic
e
notification
i
nser
t
ion
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
Andreas
E
r
i
c
sson
impor
t
: Make sur
e
w
e
h
andle br
o
k
en noti
f
ication rea
s
o
n
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
And
r
eas Ericsson
Merge branch 'next'
commit
|
commitdiff
|
tree
2010-04-08
And
r
eas Eric
s
son
im
p
o
rt
:
Honor --no-s
q
l w
h
en
i
mportin
g
n
otificatio
n
s
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
Andr
e
as
E
rics
s
on
imp
o
rt: Make increment
a
l
m
ode work
f
or no
t
i
f
ication
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
Andreas
E
r
icsson
imp
o
rt: Import notifications in a separate run
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
Andreas Ericsson
i
m
po
r
t: Make
s
ure we
par
s
e
t
h
e right stri
n
g for service
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
A
ndreas Ericsson
import: Rem
o
ve
d
ebu
g
ging
o
utput
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
A
n
dre
a
s Ericsson
sql: Introduce sql
_
db_
n
ame()
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
A
n
dre
a
s
Ericsson
sql: Avoid segfaulting on missin
g
da
t
abase
l
ink in
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
Andreas Eri
c
ss
o
n
im
p
o
rt: Rev
a
mp parse_impo
r
t_notification()
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
Andreas Ericss
o
n
logu
t
i
l
s: Int
r
oduce
parse_{host,
s
ervice}_state_
g
e
ntly(
)
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-07
Andr
e
as Ericsson
import
:
F
irst st
a
b at
implementing
i
mport for notifications
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-07
Andreas E
r
icsson
logutils: Revamp how
p
a
r
se_{host,s
e
rv
i
c
e
}
_state() works
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-07
Andrea
s
Ericsson
D
efine som
e
macros
o
nly once
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-07
A
n
d
reas Ericsso
n
t
e
st-lparse: Ma
k
e
all tests pass fully
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-07
Andreas Erics
s
on
Merge branch 'master
'
into next
commit
|
commitdiff
|
tree
2010-04-07
A
ndre
a
s Eri
c
ss
o
n
sh
o
wlog: Add
p
retty-print things f
o
r notification events
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-07
Andreas
E
r
i
c
sson
showlog: Add suppor
t
for --time
-
for
m
at=duration
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
Andreas Erics
s
on
s
h
owlog: Replace the blue color f
o
r d
o
wntim
e
with br
i
ght
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
An
d
r
e
a
s Ericsson
st
a
te:
M
ake sure we duplicate the k
e
ys used fo
r
hashing
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
Andreas E
r
icsson
s
howlog: Add su
p
port
f
or -
-
hide-sta
t
e-dupes
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
Andreas Ericsson
sh
o
wlog: Op
t
imize away
one call to pars
e
_{host,service
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
Andreas Ericsson
showl
o
g: Don't sh
o
w INITIAL/CURRENT state for unintere
s
ti
n
g
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
Andre
a
s Er
i
csson
state api: Make *_has_n
e
w_state(
)
usa
b
le without a
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
Andreas E
r
i
c
sson
state
.
c
:
S
q
uelch warnin
g
about lacking pr
o
t
o
t
y
p
e fo
r
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
And
r
eas Eric
s
son
M
akefile: Build
t
e
s
t-lparse with sane
linking options
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
And
r
ea
s
Ericsson
Mak
e
file: Make CP
P
FLAG
S
and CFLA
G
S
customizable by
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
Andreas Ericsson
Makefil
e
: Add
default LDFLA
G
S and
m
ake it overridable
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
Andr
e
a
s
E
r
icsso
n
Break out
{host,service}_h
a
s
_new_sta
t
e() to their own
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
And
r
eas Er
i
csson
R
eplace #include <nagios/
f
oo
.
h
> with #include "na
g
ios
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-25
An
d
reas Erics
s
on
cfgfile: Remove traili
n
g
w
h
i
t
espace
i
n variable
v
a
lues
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-25
A
n
dreas Ericsson
showlog
:
F
i
x DST handlin
g
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-24
A
n
dr
e
as
E
ricsson
showlog: Update ic
o
n
name for d
o
wntime
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
next