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
logging: Print final newline to same file-pointer as the rest
2010-04-20
Andreas Eri
c
ss
o
n
loggi
n
g: Pri
n
t final
n
ewl
i
ne to sa
m
e file-pointer as
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
import: Pu
r
ge expire
d
downtime
w
hen we're
done importin
g
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
import: Pri
n
t remaining do
w
nti
m
e in hash tables
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
hash
:
Sup
p
or
t
forc
i
ng debug printi
n
g
o
f h
a
sh
table
s
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
And
r
eas
E
ri
c
sson
Add test_util
s
libr
a
ry
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Eric
s
son
h
ash: Add support for wa
l
ker to remov
e
entries
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Eric
s
son
i
m
port: Move some
c
o
de around in purge_
e
xp
i
red_dt()
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andre
a
s Ericsso
n
i
mpor
t
:
U
s
e the new hash_debug_ta
b
le() macro
a
nd its
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas E
r
ics
s
on
h
a
sh:
A
dd hash_debu
g
_
print_tabl
e
_data() fu
n
ctio
n
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas E
r
icsso
n
has
h
: C
o
unt r
e
moved and
a
dded entries
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
import: Coun
t
(and print) s
k
ipped downtime
entries
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
hash: Change or
d
er of a
r
g
uments when checking
h
a
sh
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-19
A
n
dreas
Ericsson
hooks: Handl
e
NEBTYPE
_
D
OWNTIM
E
_DELET
E
event
s
p
roperly
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-19
An
d
reas
Ericss
o
n
verify_impo
r
t: Update mys
q
l_result
(
) usage
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-19
Andreas
E
ricsson
veri
f
y
_import: Ma
k
e database
t
a
b
l
e a
c
ommand-li
n
e
option
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-16
Andreas Erics
s
on
showlog: Add --hide-all command li
n
e option
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-16
Andr
e
a
s
Ericsson
showlog:
Add su
p
port for printing lo
g
timestamp sk
e
ws
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-09
A
n
dreas Eric
s
son
i
mp
o
rt: Ma
k
e
s
ure de
s
c is
a
lways
i
nitialized proper
l
y
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-09
A
n
d
re
a
s Ericsson
impo
r
t
:
F
ix sql
e
rr
o
r in se
r
v
ice notification inserti
o
n
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
A
nd
r
eas Eric
s
son
imp
o
rt
:
Make su
r
e we
h
andle broken notific
a
tio
n
rea
s
on
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
And
r
eas Ericsson
Mer
g
e branch 'n
e
xt'
commit
|
commitdiff
|
tree
2010-04-08
Andreas Ericsson
i
mport: H
o
nor --no-
s
ql wh
e
n importing notif
i
c
a
tio
n
s
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
Andreas Ericsson
imp
o
rt: Ma
k
e incremental mode work
f
or notification
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
An
d
reas E
r
ics
s
on
i
m
p
o
rt
:
Import notif
i
cations i
n
a s
e
par
a
t
e
run
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
Andreas
E
r
icsson
i
m
p
o
rt: Make su
r
e we parse
t
he
r
i
ght st
r
ing for
se
r
vic
e
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
Andreas Ericsson
impo
r
t:
Remove debugging outp
u
t
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
Andreas Ericsson
sq
l
: In
t
roduce sql_db_name()
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
Andr
e
as Eri
c
s
s
on
sql:
Avoid
segfaulting on mi
s
sing database
l
ink in
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
An
d
re
a
s
E
ricsson
im
p
o
rt: Re
v
am
p
pa
r
se_impo
r
t
_
notificati
o
n()
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
An
d
reas Ericsson
logutil
s
: Introduc
e
p
a
r
se_{host,ser
v
ice}_state_g
e
ntly()
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-07
Andreas Ericsson
import: First stab a
t
i
m
plemen
t
ing import for notifications
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-07
Andreas Ericsson
log
u
til
s
: Revamp how pa
r
s
e
_
{
host,servi
c
e}_state() wo
r
ks
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-07
Andreas Ericsson
Define some macros o
n
ly once
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-07
An
d
reas Ericss
o
n
test
-
lparse
:
Make
a
ll
t
es
t
s p
a
ss fully
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-07
A
n
d
r
e
a
s Eri
c
sson
Merge bran
c
h
'master' into
n
ext
commit
|
commitdiff
|
tree
2010-04-07
And
r
eas Ericsso
n
showlog: Add pr
e
tty-print
thin
g
s for n
o
tifica
t
ion events
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-07
Andr
e
as Er
i
csson
showlog: Add support for --time
-
format=duration
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
A
n
d
r
eas
E
ric
s
son
s
howlog: Re
p
lace
the blue c
o
lor for dow
n
time with
brigh
t
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
Andreas
Ericsson
state: Make sure we duplicate t
h
e keys u
s
ed for h
a
shing
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
Andreas Eric
s
son
showlog:
Add support for --
h
ide-st
a
t
e
-
d
u
p
e
s
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
Andreas Ericsson
showlog: Optim
i
ze away
o
n
e
call to
p
arse_{host,s
e
rvice
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
Andreas Ericsson
show
l
o
g
: Don
'
t show IN
I
TIAL/C
U
RRENT s
t
ate for uninteres
t
ing
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
Andreas Ericsson
state api: Make *_ha
s
_
n
ew_state() u
s
ab
l
e without a
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
A
n
dre
a
s Eric
s
son
state
.
c: Squelc
h
warning about lacki
n
g prototype for
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
A
n
drea
s
Eri
c
sson
Makefile: Build test-lparse with sane
l
inkin
g
o
ption
s
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
Andrea
s
Ericsson
Ma
k
efile:
M
ake
C
P
PFLA
G
S and CFLAGS customi
z
able
by
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
Andreas Ericsson
Ma
k
efile: Add default LDFLAGS and make i
t
overr
i
dable
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
A
n
dreas Eri
c
s
son
Break out {
h
o
s
t,
s
ervice}_has_new_state() to their
own
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
An
d
reas E
r
icsson
Replac
e
#include <na
g
i
o
s/foo
.
h>
w
i
t
h #incl
u
de "nag
i
os
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-25
A
ndreas E
r
icsson
cfgfile: Rem
o
ve trailing wh
i
tespac
e
in var
i
able valu
e
s
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-25
Andrea
s
Er
i
csson
showl
o
g: Fix DST handling
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-24
An
d
reas Ericss
o
n
sh
o
wlog:
U
p
d
ate icon name
for do
w
ntim
e
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-24
Andreas Eri
c
s
s
on
showlog:
Fi
x
log
f
ile selection
c
o
de for the
-
-
r
e
v
e
rse
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-24
Andreas Ericsson
showl
o
g
:
Improve {first,last}_time
handling
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-24
Andreas Ericsson
Makefil
e
: Add logutils
.
h to log
u
tils
.
o and sh
o
w
l
og
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-24
Andreas Ericsson
showlo
g
: Print why we're
i
gn
o
r
ing a particu
l
ar file
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-23
Andr
e
as Ericsso
n
sho
w
log: Add last touches to user-ba
s
ed
filter
i
ng
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-23
A
nd
r
eas E
r
icsso
n
showl
o
g:
T
e
a
c
h showlog
about o
b
j
e
cts
.
c
ache
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-23
And
r
eas Erics
s
on
showlog: Print time even if we couldn't find a color
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Ericsson
showlog: Print initial sta
t
e
s w
i
th the
sam
e
co
l
or as
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-23
Andr
e
as Ericsson
aut
h
lib: Add missing exclamation mark in auth_parse_permiss
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-23
Andreas
E
ricsson
showlog: Teach showlog about --use
r
and
--cgi-cfg
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-23
A
n
dreas Ericsson
showlog: Don't crash on il
l
ega
l
argument
s
sh
o
rter than
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-23
Andr
e
as Er
i
css
o
n
showlog: Mention that logfi
l
e
s is not a ma
n
datory optio
n
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-23
Andr
e
as
E
ricsson
showlog: Sto
p
marking '-
-
nagios-cfg' as requir
e
d
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-23
An
d
r
e
a
s Er
i
csso
n
i
m
port: Don't
cras
h
on i
l
legal arguments shorter than
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-23
Andrea
s
Eri
c
sson
Makefil
e
:
L
i
n
k auth
.
o into the showlog a
p
plication
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Ericsson
a
u
th
.
h
:
Mar
k
all p
r
ototypes as 'extern'
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Ericsson
auth l
i
b: Fix auth_
p
ar
s
e_permissions()
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-23
Andr
e
a
s E
r
icsson
a
ut
h
l
i
b
:
Minor fixes
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-23
And
r
eas Ericsson
sho
w
log: Fix typo i
n
--help output
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-22
Andreas
Ericsson
A
dd 'auth' helper li
b
rar
y
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-22
Andrea
s
Ericsso
n
logutils
:
Make sure we ne
v
er add the same logfile m
o
re
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-22
And
r
eas Ericsson
Make t
h
e app
s
nagios
.
cfg a
w
are
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-22
Andreas Ericss
o
n
apps:
C
onso
l
idate handling of
logfiles and archiv
e
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-15
Andreas
E
ricsson
te
s
t-lparse: Test that we can handl
e
l
o
gfiles wi
t
hou
t
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-15
Andr
e
as Erics
s
on
Don'
t
barf
o
n missing
dash in filen
a
m
e
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-12
Andreas Ericsson
showlog: Impleme
n
t -
-
ski
p
and --limit
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-12
And
r
eas Ericsson
showlog: Hide
s
ome crap b
y
default
when run from com
m
and
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-12
A
nd
r
e
a
s Ericsson
show
l
og: Add option t
o
h
i
d
e
initial and
c
u
r
ren state
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-12
Andreas Ericsson
showlog:
Add option to hide log rotation
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-12
And
r
eas Ericsson
showlog: Add option to hi
d
e n
o
t
i
fica
t
ions
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-12
Andreas Ericsson
s
ho
w
log: Only print notification lines for interesting
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-12
An
d
r
e
as Ericsson
sh
o
wlog: Chan
g
e how filtering works
wh
e
n
printing lines
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-10
Andreas Ericsson
sql
:
Repla
c
e my
s
ql_error(db
.
link)
with sql_error()
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-10
Andreas Ericsson
sql: D
o
n't uncon
d
it
i
onally try to rerun failed queries
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-10
And
r
eas E
r
icsson
s
pe
c
file: Add %clean se
c
tion
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-08
An
d
reas Er
i
csson
specfile:
D
o
n't install op5backup m
o
dule-fil
e
s
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-08
Andreas Ericsson
showlog: Set default im
a
ge_
u
r
l
to what ninja uses
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-08
Andr
e
as Ericsson
showlog: Use
n
i
n
ja-style image names
i
n
st
e
a
d
of old
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-02-24
And
r
e
as Ericsso
n
Ad
d
op5-bac
k
up
mod
u
l
e
files
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-02-03
A
ndrea
s
Ericsson
sh
o
wlog:
I
mp
l
ement --hide-command
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-02-03
And
r
ea
s
Ericsson
s
h
owlog: Cl
a
rif
y
the --ansi option helptext
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-01-25
Andreas Ericsso
n
s
howlog:
U
pdate style as p
e
r M
y
's ins
t
ructions
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-01-25
Andreas Er
i
csson
Makefil
e
:
also insta
l
l the showlog
p
rogr
a
m
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-01-25
Andreas Ericsson
s
howlog: Add events for start and stop
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-01-24
And
r
eas Er
i
csson
show
l
og:
A
d
d
p
rint_line_ansi(), a colorizer for the
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-01-24
Andreas Ericsson
showlog: Ignore nothing
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-01-24
Andreas Ericss
o
n
showlog: Add help
t
ext
for --imag
e
-ur
l
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-01-24
And
r
eas E
r
icsson
s
h
owlog: Ma
k
e image_url a
command-line opti
o
n
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
next