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
logutils: Introduce parse_{host,service}_state_gently()
2010-04-08
Andr
e
as Er
i
csson
l
o
g
u
tils: Intro
d
uc
e
parse_
{
host,service}_state_gently()
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-07
Andrea
s
Ericsson
import: First s
t
a
b
a
t
implem
e
n
t
in
g
i
m
port for not
i
fications
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-07
An
d
reas Ericsson
l
o
gutils: Revamp how parse_
{
h
o
st,ser
v
ice}_state() w
o
rks
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-07
Andreas Ericsson
De
f
ine som
e
m
acros only on
c
e
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-07
And
r
eas Ericsson
test-lparse: Make all tests
pass
fully
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-07
A
n
dreas
E
ricsson
sh
o
wlog:
Add pret
t
y
-print thin
g
s for notificatio
n
e
vents
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-25
Andreas Eric
s
s
o
n
cfgfile: Remove trailing whi
t
espace in
variable value
s
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-25
An
d
reas Ericsson
showlog: Fix
DST
h
andli
n
g
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-24
And
r
eas Ericsson
s
h
owlog: Update i
c
on name for down
t
ime
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-24
A
n
dreas Ericsson
showlog: F
i
x
l
ogfile se
l
ec
t
ion cod
e
fo
r
the --rev
e
rse
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-24
A
ndr
e
as Erics
s
on
showlog:
I
mprove {first,last}_ti
m
e handlin
g
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-24
Andreas Eric
s
s
on
Makefi
l
e
:
Add logutils
.
h
to logut
i
l
s
.
o
and showlog
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-24
An
d
reas Ericsson
showlog: Print why we're ign
o
ring
a
pa
r
ticular fi
l
e
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Ericsson
sh
o
w
log
:
A
d
d
las
t
touches to user
-
bas
e
d filt
e
r
ing
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andreas
E
ricsson
sho
w
l
o
g: Teac
h
showlog ab
o
u
t
objects
.
cach
e
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Ericsson
showlog:
Print t
i
m
e ev
e
n if we
cou
l
dn
'
t
f
ind
a
colo
r
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Ericsson
showlog
:
Print initial states wi
t
h
t
he same
c
olo
r
as
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
A
ndre
a
s Ericsson
auth lib: Add missing
exclamation mark in auth_pars
e
_permiss
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
A
ndreas Erics
s
on
showlog: Teach showlog about
--user
an
d
--cgi-cfg
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
A
n
d
re
a
s Ericsson
showlog: Don't crash on illegal
a
r
g
ument
s
shorter
t
ha
n
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
And
r
eas Eri
c
sson
s
h
owlog:
M
enti
o
n that logfiles is
n
ot a mandatory opt
i
on
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
A
n
d
r
eas Ericsson
showl
o
g
: Stop ma
r
king '--nagios-cf
g
' as req
u
i
red
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andreas
E
r
i
cs
s
on
import: Don't
c
rash on illegal
a
rgum
e
nts shor
t
er
t
han
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Eric
s
s
on
Makefile: Link auth
.
o into
the
showlog applicat
i
o
n
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andrea
s
E
ricsson
au
t
h
.
h: Mark all prototypes
as 'extern
'
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Erics
s
on
auth li
b
: Fix
a
ut
h
_parse_permissio
n
s()
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Eri
c
s
s
o
n
auth lib: Minor fixes
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
And
r
eas Ericsson
showlog: Fix
ty
p
o in --h
e
lp output
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-22
A
n
d
reas
Ericss
o
n
Add 'a
u
th' helper libr
a
r
y
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-22
An
d
reas
Ericsson
loguti
l
s: Make sure we neve
r
add t
h
e s
a
me logfile m
o
re
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-22
Andre
a
s Erics
s
on
Mak
e
the apps nagios
.
c
f
g aw
a
r
e
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-22
Andreas
Eri
c
sson
apps: Consoli
d
ate
h
andling o
f
l
o
gfi
l
es and archive
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-15
An
d
reas E
r
ics
s
on
t
e
s
t-lparse: Test t
h
at we can handle
logfiles without
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-15
Andreas Ericsson
Don't
ba
r
f on mis
s
ing d
a
sh in filename
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-12
A
n
dreas Eric
s
son
showlog: Implement
-
-ski
p
and -
-
limit
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-12
Andreas Ericsson
sh
o
wlog: Hide some crap by
d
efault when run from
c
omma
n
d
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-12
A
n
dreas Ericsson
sho
w
log: Add
o
p
t
ion to hide
i
nitial and curren state
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-12
A
nd
r
eas
E
r
i
csson
showlog
:
Add option to hide lo
g
r
otation
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-12
Andreas Ericsson
showlog: Add opti
o
n to hide no
t
if
i
cations
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-12
Andreas Ericsso
n
showlog: Only print notification
l
ines for inte
r
es
t
ing
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-12
A
ndreas Ericsson
sh
o
wlog: Change how fi
l
tering works
when printin
g
lines
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-10
Andreas Ericsson
sql: Replace mysql_error(
d
b
.
link) with s
q
l_error()
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-10
Andreas Eri
c
s
son
sql: Don'
t
unconditionally try
t
o rerun failed queries
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-10
Andreas Ericsson
s
p
ecfile: Add
%
c
lean section
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-08
Andreas Ericsson
spe
c
file: Don't i
n
s
t
all op5backup
m
o
d
ul
e
-fil
e
s
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-08
Andre
a
s Ericsson
showlog: Set defaul
t
image_url
to what ninj
a
uses
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-08
Andrea
s
Ericsson
showl
o
g
: Use ninja-style image names in
s
t
e
ad of old
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-02-24
Andrea
s
Erics
s
on
Add op5-back
u
p
module f
i
les
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-02-03
Andreas Ericsso
n
s
h
owlog: Im
p
lement
--hide-com
m
an
d
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-02-03
And
r
eas Ericsson
showlog: Clarify the --ansi option helptext
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-25
And
r
e
a
s Ericsson
sho
w
log: Up
d
ate st
y
le as per My's instructions
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-25
Andreas Ericsson
M
akefile: also inst
a
ll the showlog prog
r
am
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-25
Andreas Eric
s
son
showlog:
A
d
d
e
vents f
o
r s
t
a
rt and stop
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-24
Andreas Ericsson
showlog: Add print_line_ansi(),
a
colorizer fo
r
the
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-24
A
ndreas Erics
s
on
showlog: Igno
r
e nothing
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-24
Andr
e
as Eric
s
son
show
l
og: Add
h
elp text for --
i
m
age-
u
rl
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-24
And
r
eas Ericsson
s
howl
o
g: Make ima
g
e_url a comm
a
nd-line
option
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-24
Andreas Ericsson
showl
o
g: Imp
l
ement
timebreaks
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-24
Andreas Eric
s
son
sho
w
l
og: Revamp the print_li
n
e
ma
c
hiner
y
to make
h
tml
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-24
Andreas Ericsson
showlog: Make
-
-hide-downtime wor
k
p
roperly
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-24
Andreas Ericsson
showlog: Make 're
v
ers
e
' a
g
lobal variabl
e
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-19
A
ndreas Ericsson
showlog: Add u
s
age() function an
d
-
-
help
o
pti
o
n
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-11
Andre
a
s
Ericsson
import: Fix
i
mpor
t
ing passive host a
n
d s
e
r
v
i
c
e checks
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-11
Andreas Ericsson
import: Add support fo
r
pass
i
ve host and
service che
c
ks
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-11
Andr
e
as Ericsson
showlog: Implement
--
t
ime-format selec
t
io
n
for output
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-11
Andr
e
as
E
ri
c
sson
l
o
guti
l
s:
M
ake sure we look at the righ
t
string w
h
en
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-11
Andreas Erics
s
o
n
import:
Remove hardcoded 'rep
o
rt_d
a
ta' table name
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-11
Andreas Ericsson
Remove --ignore-proc
e
ss-e
v
ents
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-11
A
ndreas E
r
icsson
t
e
st-lparse: mak
e
tests wo
r
k on 64-bit arch
s
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-11
Andreas
E
r
i
css
o
n
test
-
lparse:
Add test
s
for
t
he path_cmp_nu
m
ber()
f
unction
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-11
Andre
a
s E
r
i
csson
log
u
t
ils: Fix spec
i
al-casing of "nagios
.
log"
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-11
Andreas Ericss
o
n
logutils:
Remov
e
y
e
ar va
l
idati
o
n
from filename number
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-11
An
d
r
e
a
s Ericss
o
n
logutils:
R
eport
f
iles
o
r
t
errors more accura
t
ely
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-07
An
d
reas Ericsson
sh
o
wlog
:
A
dd shortcut for 'al
l
s
tate
s
' as option to
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-07
Andreas Ericsson
showlog
:
Fix sta
t
et
y
pe filter
s
e
ttings
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-07
Andr
e
a
s
Ericsso
n
showlog: Make --h
i
de-[process,flapping,downtime] argume
n
ts
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-07
An
d
reas E
r
icsson
showlog:
S
u
p
port
p
ri
n
ting dow
n
time and
fl
a
pping alerts
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-07
Andreas
Erics
s
o
n
sho
w
log:
Fix the eve
n
t_filter
logic
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-07
Andrea
s
Eri
c
sson
showlog:
Show all host and
service
s
tates
by default
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-04
Andreas Ericsson
showlog: Start implementin
g
fi
l
teri
n
g
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-04
And
r
eas Ericsson
Share st
a
te- a
n
d soft
/
ha
r
d par
s
ing routines
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-04
An
d
r
e
a
s Ericsson
Make single-read
.
log have a real
times
t
a
m
p
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-04
Andreas Eri
c
sson
Makefile: Mark logut
i
l
s
.
h
a
s a compile-time dependency
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-04
Andreas Ericss
o
n
Silence
v
ar
i
ous
s
parse
warn
i
ngs
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-04
A
n
d
r
eas Ericsso
n
utils: Unify "interesting
objec
t
" handling
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-03
Andr
e
as Erics
s
on
showlog: Suppo
r
t
p
a
rsing
l
ogfiles in reverse order
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-03
Andreas Ericsson
hash ap
i
: Remove
HASH_MASK and
H
A
SH
_
B
UCKETS
m
a
c
r
os
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-03
Andr
e
as
E
r
i
csson
show
l
og: Start implement
i
ng s
t
ate
-
base
d
fil
t
ering
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-02
Andreas
E
r
icsso
n
utils: Restore commented-o
u
t
cra
s
h
and fix a comment
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-01
Andreas Ericsson
tests:
A
dd test
s
f
o
r
revers
e
-pars
i
ng files using the
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-01
Andreas Ericsso
n
lp
a
rse api: Add a util
i
t
y
to parse fil
e
s in reve
r
s
e
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-30
A
ndreas Ericsson
impor
t
:
Stop leaking
m
emo
r
y wh
e
n handling host
a
n
d
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-26
Andreas Ericsson
h
ash api: Remove last vestiges
o
f
size_t var
i
ables
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-26
Andreas E
r
icsson
Rem
o
ve the last ve
s
tig
e
s of size_t
f
r
o
m th
e
utility
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-26
A
n
dreas Eri
c
s
s
o
n
Repla
c
e
size_t va
r
s with
unsigned int
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-25
Andre
a
s
Eri
c
ss
o
n
Break
o
u
t more sim
i
l
ariti
e
s
b
e
t
ween show
l
og
.
c
a
nd import
.
c
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-25
A
n
dreas Eric
s
son
Share more
c
ode between showlog and import
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-25
Andre
a
s Eric
s
so
n
S
tart breaking out com
m
o
n functi
o
ns bet
w
een import
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-25
A
n
dreas E
r
icsson
showlog:
Remove build-dependenc
y
on l
o
gg
i
n
g
.
o
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-25
Andreas
E
ricsson
s
ho
w
lo
g
: Remove do
w
ntime entry
s
truct
definition
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
next