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: Only read last time from sql if --incremental lacks timestamp
2010-09-01
Andreas Eri
c
s
s
o
n
import: Only read las
t
time from
s
ql if --increment
a
l
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-08-31
A
ndreas Er
i
csson
i
m
p
ort: Add
the 'when' argument for 'incremental' t
o
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-08-31
Andreas
E
ricsson
import
:
Add -
-
list-files option
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-08-25
A
nd
r
e
as Ericsson
Remove barely used, incomplete and
unnecessary memory
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-08-24
Andreas Ericsson
sh
o
wl
o
g
:
Ne
v
e
r
opt o
u
t
E
VT_HO
S
T and EVT_SERVICE when
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-08-24
Andreas Ericsson
sho
w
log: Get rid o
f
E
V
T_INITIAL
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-07-06
Andreas Ericsson
cfgf
i
le: Squelch the
la
s
t compiler
warning
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-07-06
Andreas Ericsson
apps: Silence some co
m
piler wa
r
nings on 64-bit archs
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-07-06
A
ndreas Ericsson
Mak
e
file: Upda
t
e build
d
ependencie
s
for tes
t
-l
p
arse
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-07-06
Andreas Eric
s
son
Make th
e
l
parse api l
a
rge
-
file awar
e
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-07-06
Andreas Ericsson
import: M
a
ke p
r
og
r
es
s
r
e
p
orting
a
bit l
e
s
s
crazy
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-07-05
Andreas Ericsson
Support lar
g
e files on 32bit s
y
stems
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-07-05
Andreas Ericsson
Allow lazily connecti
n
g to the database
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-07-05
And
r
eas
E
ricsson
Makefile: Add target to run
s
q
l
-dependa
n
t
tests
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-07-05
Andreas Ericsson
nebtest: Make
t
es
t
ing using an sql dat
a
base optional
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-06-17
A
n
d
r
eas
E
ricsson
showlog: Use loc
a
lti
m
e()
i
nstead o
f
gmtim
e
()
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-24
Andreas Ericsson
s
h
o
wlog: Don't man
g
le the ltime
v
ari
a
ble
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-17
Andreas Eric
s
s
on
s
h
owlog: Use uint64_t for ltime_skews, skip an
d
limit
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-17
And
r
eas Erics
s
on
sh
o
wlog: Sh
o
w ltime skews as
p
ercentage
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-05
And
r
eas Eri
c
sson
import: Don'
t
e
nable
i
n
d
exes unle
s
s we've
d
isabled
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-05
Andr
e
as
Ericsson
import: Don't
b
o
ther e
n
a
blin
g
in
d
exes if
we're more
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-05
Andreas Ericsson
impor
t
:
D
isable indexes on-demand
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-05
Andreas E
r
icsson
i
m
port: Crea
t
e disable_inde
x
es() and enable
_
i
n
d
e
x
e
s
(
)
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-05
Andreas
E
r
i
csson
Augme
n
t
end_p
r
ocess
(
)
with am
o
u
n
t of bytes skipped
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-05
Andreas Ericsso
n
im
p
ort: Fix progress ou
t
put
ETA whe
n
skipp
i
ng
f
iles
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-05
Andreas
Ericsson
s
h
owlog: Rem
o
ve debugging out
p
ut
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-05
Andr
e
as Er
i
cs
s
o
n
specfile: Fix
m
essa
g
es written
b
efore
a
n
d af
t
er
r
u
nning
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-04
Andreas Ericss
o
n
showlog: F
i
lt
e
r in all events by
default
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-04
Andreas
Ericsson
showlog:
Let fla
p
ping
a
nd downtim
e
imply EVT_HOST a
n
d
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-04
Andrea
s
Ericsson
showlog
:
Add '
s
how' versions of all 'hide' options
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-04
A
ndreas
E
r
i
c
sson
apps: Add gcc attr
i
butes to us
a
ge
(
)
func
t
ions
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-04
An
d
reas
E
r
icss
o
n
im
p
ort: Make to
b
y
tes() take a uint64_t argument
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-05-04
Andreas Eri
c
sso
n
import
:
:tob
y
tes():
M
ake su
r
e
we never shift beyond
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-30
An
d
reas Er
i
csson
import: Speed up incremental imports considerabl
y
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-27
Andreas
E
ricsson
i
m
po
r
t: Use
uint64_t for counting bytes and lines in
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-26
A
n
d
r
eas
Ericsson
Ma
k
efi
l
e: s/QUITE_L
I
NK/Q
U
IET_LINK/
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-23
Andreas Ericsson
specfil
e
: Use import's ab
i
l
i
ty t
o
find logfiles by
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-23
Andreas Eri
c
sson
import
:
Add us
a
ge
(
) fun
c
ti
o
n
a
nd grok --help argument
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andre
a
s Ericsson
tes
t
-hash:
R
emove unused c
o
de
and variables
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
A
n
dreas Ericsson
t
est_utils
.
h:
add prototyp
e
for t_start()
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Erics
s
on
test-ha
s
h:
Use
t
_start(
)
ins
t
ead o
f
handcrafting a
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
And
r
eas Ericss
o
n
tes
t
-lparse
:
Use t_star
t
() and t_end() pr
o
perly
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
ne
b
t
est: Use
t_
s
tart()
inste
a
d o
f
settin
g
o
ur own
t
op
i
cs
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
test
_
utils:
I
nd
e
n
t
and pre
f
ix test
to
p
ics
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
And
r
eas Ericsson
uti
l
s:
R
e
m
ove
w
arning about
"
no hostl
i
st, so not
h
in
g
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andr
e
as Ericsson
test_utils: Pr
i
nt newline afte
r
star
t
ing test topic
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andre
a
s
Ericsson
.
g
i
ti
g
n
ore test
-
hash
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas
E
ricsson
nebt
e
st: Re-enable che
c
k
i
n
g
c
a
llbacks
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
An
d
reas Ericsso
n
i
m
port: Only print downtime debug data
if dt_start
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas
Erics
s
on
Makefile:
Run n
e
b
t
est without echoing the comman
d
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
An
d
r
e
as Ericsson
import: Remove
downtime as we wal
k
the hashes
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
A
ndreas Ericsson
Add
test-hash
.
c
,
to te
s
t
has
h
_walk_dat
a
()'s new
r
e
m
oval
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
te
s
t_utils: Make test headers appear in cyan
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
A
n
dreas
Erics
s
on
M
a
kefile
:
Require 'test
'
whe
n
b
ui
l
ding all
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
A
n
dreas Er
i
css
o
n
neb
t
es
t
:
Use the testing function
s
from
t
est_util
s
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
A
ndreas Eric
s
son
test-lparse: Use test_
u
tils in test-lparse
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas
E
r
ics
s
o
n
logging: Print final newlin
e
t
o
same
f
ile
-
pointer
as
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
A
n
dreas Ericsson
import: Purge expir
e
d downtime when we're
d
one importing
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
A
n
dreas Erics
s
on
import: Pr
i
n
t
remaining downtime in ha
s
h
t
ab
l
e
s
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andre
a
s Ericsson
has
h
:
S
upport forcing debug prin
t
ing o
f
ha
s
h tables
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas E
r
ic
s
son
Add
t
est_utils li
b
rary
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
An
d
reas Ericsson
h
a
sh:
A
d
d
su
p
p
ort for
w
alker
t
o remove en
t
ries
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
import:
Move some code around in purge_expired_dt
(
)
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
An
d
reas E
r
ic
s
son
import: Us
e
the new hash_debug
_
table()
m
a
cro and its
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
A
n
d
r
e
as Ericsson
ha
s
h: Add
h
ash_debug_
p
rint
_
table_dat
a
() function
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andr
e
as E
r
icsson
hash: C
o
u
nt r
e
moved and a
d
d
ed entries
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
And
r
e
a
s E
r
icsson
import: Cou
n
t (and print)
s
k
i
pped downtime e
n
t
r
i
e
s
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
An
d
reas Ericsson
has
h
: Change or
d
er of ar
g
umen
t
s
when che
c
king hash
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-19
A
ndreas Ericss
o
n
hoo
k
s:
Handle NEBTYPE_DOW
N
TIME_
D
ELETE events properly
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-19
Andreas
Ericsso
n
verif
y
_import: Update mysql_result(
)
usage
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-19
Andreas
E
r
icsson
verify_import: M
a
k
e database table a
c
o
mmand-line option
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-16
An
d
reas Er
i
csson
sho
w
log: Add --hide-all c
o
mman
d
li
n
e
o
ptio
n
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-16
Andreas
E
ric
s
son
s
howlo
g
: Ad
d
sup
p
ort for printing log timestamp
ske
w
s
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-09
Andreas Ericsson
impor
t
: Make sure desc is always i
n
iti
a
lized properly
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-09
Andreas E
r
i
c
sson
i
m
port
:
Fix sql
error in service notification inserti
o
n
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
Andreas E
r
icsson
impo
r
t: M
a
ke
s
ure w
e
handle
broken n
o
tific
a
tion reason
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
Andreas Erics
s
on
Merge bra
n
ch 'next'
commit
|
commitdiff
|
tree
2010-04-08
Andr
e
as
Ericsson
impo
r
t
: Honor
--no-sql
w
hen impor
t
in
g
notific
a
t
i
ons
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
Andreas Ericsson
import: Mak
e
increm
e
ntal mo
d
e
w
ork for noti
f
ication
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
Andreas Ericsson
impo
r
t: Import not
i
fications in a separ
a
te run
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
Andreas Ericsson
import
:
Make
sure we parse the ri
g
ht stri
n
g for se
r
vice
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
And
r
eas Er
i
csso
n
i
m
p
ort: Remove debuggi
n
g
o
utput
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
Andreas Eric
s
son
s
q
l: Introduce sql_db_n
a
m
e(
)
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
Andre
a
s Ericsson
sql:
A
v
o
id
s
egf
a
ulting on miss
i
ng database link in
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
Andre
a
s Ericsson
imp
o
r
t
: Revamp
parse_impor
t
_
notific
a
tion()
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
Andreas
E
ricsson
log
u
tils:
I
ntrodu
c
e p
a
rs
e
_{host,service}_s
t
at
e
_g
e
ntly
(
)
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-07
A
n
dreas Ericsson
import: First
s
tab at
im
p
lementing import for notification
s
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-07
Andreas Erics
s
on
logutils: Revamp
h
ow parse_{host,service}
_
stat
e
() works
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-07
Andreas Er
i
csson
D
efin
e
s
o
me macros only
o
n
c
e
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-07
Andrea
s
Ericsson
test-lpa
r
s
e: Make all
test
s
pass fully
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-07
And
r
e
a
s
Ericss
o
n
M
e
rge branch 'mas
t
er' into nex
t
commit
|
commitdiff
|
tree
2010-04-07
A
n
dreas Ericsson
sh
o
w
l
og: Add pretty-pr
i
nt things
for not
i
ficat
i
on ev
e
nt
s
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-07
Andreas
E
r
i
csson
showlog:
Add support for
-
-time-format=duration
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
Andreas Eri
c
sson
showlog: Replace the
b
lue color f
o
r down
t
ime with bright
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
Andreas Erics
s
on
state:
Make sure we duplicat
e
t
he keys
used for hashing
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
Andreas
Er
i
c
s
s
o
n
showlog: Add
su
p
p
ort
f
or --hide-stat
e
-d
u
pes
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
A
ndreas Ericsson
sh
o
wlog: Opt
i
m
i
ze a
w
ay one call to par
s
e_{hos
t
,service
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
Andreas Ericsson
showl
o
g: Don't
s
how INITIAL/CU
R
RENT sta
t
e for
u
n
i
ntere
s
ting
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
Andr
e
a
s Erics
s
on
state
a
pi:
Make *_has_new_state
(
) u
s
able with
o
ut a
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
Andreas Eric
s
s
o
n
state
.
c:
S
quelc
h
w
arn
i
ng a
b
out
lackin
g
prototype for
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
next