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
showlog: Add support for --hide-state-dupes
2010-04-06
Andreas Er
i
css
o
n
s
h
o
w
log: Add support for --hide-st
a
te-dup
e
s
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
A
ndreas Ericss
o
n
showlog: O
p
timize aw
a
y o
n
e
ca
l
l to
parse_
{
host,s
e
rvice
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
Andreas Ericsson
showlog: Don'
t
show
INITI
A
L/CURR
E
NT state for uni
n
t
e
r
esting
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
A
n
drea
s
Ericsson
state
a
pi: M
a
ke *_has_new_state() usable with
o
u
t
a
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
A
n
dreas
Eri
c
sson
st
a
t
e
.
c: Squelch
warning about lacking pr
o
totype for
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
A
ndreas Ericsson
Makefil
e
: Build tes
t
-
l
pa
r
s
e wi
t
h
sane li
n
king opti
o
ns
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
Andreas Ericsson
Makefil
e
:
Ma
k
e
CP
P
FLAGS
and
C
FLA
G
S
customizable by
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
And
r
ea
s
Er
i
csso
n
Makefile: A
d
d
default LDFL
A
GS
a
nd ma
k
e i
t
ov
e
rridable
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
Andreas Er
i
c
s
s
o
n
Break o
u
t {host
,
ser
v
ic
e
}_has_new_state() to their own
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-04-06
Andre
a
s Ericsson
Repl
a
c
e #include <na
g
ios/
f
o
o
.
h>
w
ith #include
"n
a
gios
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-25
Andreas Ericsson
cfgfile: R
e
mov
e
tr
a
iling white
s
pace
i
n variabl
e
values
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-25
Andreas Ericsson
showlog:
F
i
x
D
ST handling
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-24
Andreas Eri
c
ss
o
n
showl
o
g:
Upd
a
te icon nam
e
for downtime
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-24
A
n
dreas Erics
s
o
n
showlog: Fix logfile selection code for the --reverse
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-24
Andr
e
as Ericsson
sh
o
wlog: Improve
{first
,
last}_time handli
n
g
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-24
A
n
dreas
E
ric
s
so
n
Mak
e
f
i
le: Add loguti
l
s
.
h to logut
i
l
s
.
o
a
nd showlog
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-24
Andreas Ericsson
s
h
o
wl
o
g:
P
r
i
nt w
h
y we're ignoring a particu
l
ar fil
e
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Ericsson
showlog: Add last tou
c
hes
t
o user-based fil
t
er
i
ng
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
A
n
dreas
E
ricsso
n
showlog: Teach sho
w
log abo
u
t objects
.
c
a
che
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Ericsson
showl
o
g: Print time
e
ven i
f
we could
n
't find a
co
l
or
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andre
a
s Eric
s
son
showlog: Print
i
n
i
tial states w
i
th
t
h
e same color as
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andrea
s
Ericsson
a
u
th lib: Add missing ex
c
l
a
mation mark in auth_parse_permis
s
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Ericsson
s
h
owlog: T
e
ach showl
o
g abo
u
t
-
-
user and --cgi-cfg
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
An
d
reas Ericsso
n
showlog: Don
'
t crash on
i
lleg
a
l arguments shorter th
a
n
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andreas E
r
icsso
n
s
h
owlog: Men
t
ion that logfiles is not a mandatory option
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Ericsson
showlog: Stop marking
'
-
-nagios-c
f
g' as required
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andrea
s
Eric
s
son
import: Don't c
r
ash
on i
l
legal a
r
gu
m
ents shorter than
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andrea
s
Ericsson
Makefile: L
i
nk auth
.
o into the showlog ap
p
lication
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
A
ndre
a
s Ericsson
a
uth
.
h: Mark all prototypes as 'exte
r
n
'
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Eri
c
s
son
auth
l
i
b
:
Fix au
t
h_parse_permissions()
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
A
n
dreas Ericsson
auth lib
:
Minor fixes
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Er
i
csson
s
howlog: Fix ty
p
o in --help output
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-22
A
ndre
a
s
E
ricsson
A
dd 'auth' helper
library
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-22
Andreas E
r
icsson
l
ogutils:
M
a
k
e sure
w
e
never ad
d
the sa
m
e logfi
l
e
m
ore
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-22
And
r
eas Ericsson
Make the apps nagios
.
cfg
a
w
a
re
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-22
Andre
a
s Ericsson
a
p
ps: C
o
n
solidate han
d
ling of logfiles and ar
c
h
i
ve
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-15
A
n
dre
a
s
E
ricsson
test-lparse: Test that
we can handle logfiles without
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-15
And
r
eas Eri
c
ss
o
n
Don
'
t barf on missing dash
i
n
f
ile
n
ame
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-12
Andre
a
s Ericsson
showlog: Implement -
-
skip and --limit
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-12
Andrea
s
Er
i
cs
s
on
showlog: Hide some crap by
d
efau
l
t when run from
c
ommand
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-12
Andreas
E
ric
s
son
showlo
g
: Ad
d
opt
i
on to hide initial and cu
r
ren
state
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-12
Andreas Ericsson
show
l
o
g: A
d
d op
t
ion to hide l
o
g rotatio
n
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-12
A
n
dreas Ericss
o
n
s
h
owlog
:
A
d
d option to hide notificat
i
on
s
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-12
A
n
d
reas
E
ri
c
ss
o
n
showlog: Only print no
t
ification lin
e
s for interesting
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-12
Andre
a
s Ericsson
showlo
g
: Change how filtering works wh
e
n printing
l
i
nes
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-10
Andreas Er
i
cs
s
on
s
q
l:
R
e
plac
e
mysql_error(d
b
.
link)
w
ith sql_e
r
r
or()
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-10
Andre
a
s Ericss
o
n
sql: Don't
u
nconditionally try
t
o rerun fa
i
led queries
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-10
Andrea
s
Eric
s
son
specfile
:
Add %c
l
ean section
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-08
A
n
dr
e
as Ericss
o
n
s
p
e
cf
i
le: Don
'
t ins
t
all op5backup modul
e
-
f
i
les
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-08
Andreas Er
i
csson
showl
o
g: Set default image_url to wh
a
t n
i
n
ja uses
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-03-08
Andreas Ericsson
s
h
owlog:
Us
e
ninja-style
i
mage names instead of old
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-02-24
Andreas Ericsson
Add op5-backup module fil
e
s
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-02-03
A
ndreas Eri
c
s
son
showlog: Im
p
l
e
ment --hide-command
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-02-03
An
d
reas Ericsson
showlog: Clarify the --ansi option helptex
t
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-25
Andreas Eri
c
ss
o
n
showlog: Update style as per M
y
's inst
r
ucti
o
ns
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-25
Andreas Eri
c
ss
o
n
Makefile
:
also install the sh
o
wl
o
g program
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-25
Andreas Eri
c
sson
showlog:
Add
e
vents for s
t
ar
t
and
st
o
p
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-24
Andreas Eric
s
son
sh
o
wlog: Add pr
i
nt_line
_
ansi(), a
c
olorizer
for the
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-24
Andreas Ericsson
showlog: I
g
nor
e
no
t
h
i
ng
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-24
Andrea
s
Ericsson
show
l
og: Add help t
e
xt
for
-
-image-url
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-24
Andre
a
s Er
i
csso
n
showlog: Make image_url a com
m
a
n
d-
l
i
n
e
op
t
ion
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-24
An
d
r
e
a
s E
r
icsson
showlog: Implement timebreaks
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-24
Andr
e
as E
r
ic
s
son
showlog: Revamp the print_lin
e
m
a
chinery
to make html
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-24
Andreas Ericsson
sh
o
wlog: Make --hide-d
o
wntime w
o
rk
properly
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-24
Andreas Eri
c
sso
n
show
l
og: Make 'reverse' a
g
l
oba
l
variable
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2010-01-19
Andreas Eri
c
sson
s
h
o
w
log:
A
d
d
usage()
function
an
d
--help option
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-11
And
r
eas Ericsson
import: Fix importin
g
passiv
e
host an
d
service checks
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-11
Andreas Ericsson
impor
t
: Add support for pas
s
ive ho
s
t and service checks
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-11
A
n
dreas E
r
i
csson
showlog: Implement
--time
-
format
s
election for
o
utput
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-11
Andreas
E
ricsson
logutils: Make s
u
re
we look
at the right string w
h
en
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-11
Andreas Ericsson
import: Remov
e
h
ardcoded
'
r
e
p
o
rt_data' table
name
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-11
Andre
a
s Er
i
csson
Remove --ignore-process-eve
n
t
s
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-11
Andreas Ericsson
te
s
t-lp
a
rse
:
make tests work on 64-bit archs
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-11
And
r
e
a
s
E
r
i
c
s
s
on
test
-
lparse: Add tests
fo
r
the
p
ath
_
cmp_number
(
)
f
u
n
ction
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-11
An
d
rea
s
Ericsson
logutil
s
:
Fix
s
pecial
-
cas
i
n
g of "nagios
.
log"
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-11
A
ndre
a
s Er
i
csson
log
u
tils
:
Remove ye
a
r
va
l
idation fr
o
m filename
n
umbe
r
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-11
An
d
reas Ericss
o
n
logu
t
il
s
: Report f
i
leso
r
t errors mo
r
e accurately
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-07
Andreas Er
i
css
o
n
showlog: Add short
c
ut fo
r
'all states'
as option to
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-07
A
n
d
reas Eric
s
son
showlo
g
: Fix statetype filter settings
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-07
And
r
ea
s
Ericsson
showlog
:
Ma
k
e
--h
i
de-[process,f
l
a
p
ping,downti
m
e] argu
m
ents
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-07
Andreas Ericss
o
n
s
h
owlog: Support printin
g
downtime and
flapping
alerts
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-07
Andre
a
s Erics
s
on
showlog: Fix the event_filter logi
c
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-07
And
r
eas Ericsson
showlog: Show all host
and service
s
t
a
t
e
s by default
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-04
Andrea
s
Ericsson
showlog: Star
t
implemen
t
ing f
i
ltering
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-04
Andr
e
as Ericss
o
n
Share state- a
n
d soft/
h
ard parsing r
o
u
t
ines
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-04
Andr
e
as Ericsson
M
a
k
e sin
g
l
e-read
.
lo
g
have a real timestamp
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-04
Andreas Ericsson
Ma
k
efil
e
:
Mark log
u
tils
.
h a
s
a compil
e
-
ti
m
e dependenc
y
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-04
A
n
dre
a
s Ericsson
Silence va
r
iou
s
sparse warn
i
ngs
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-04
Andreas Eric
s
son
utils: Unify "i
n
terestin
g
obj
e
c
t" ha
n
dling
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-03
A
n
d
reas Ericsson
sh
o
wlog: Support parsin
g
logfi
l
es
i
n re
v
erse or
d
er
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-03
Andreas
E
ricsson
hash api: Remov
e
HASH_MASK and
HASH_BUCKE
T
S ma
c
ro
s
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-03
Andreas Ericsson
showlog:
Start imple
m
ent
i
ng st
a
te-based filterin
g
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-02
Andr
e
as Ericsson
ut
i
ls: Res
t
ore co
m
ment
e
d
-
out crash and fix a
comment
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-01
An
d
r
e
as Ericsso
n
tests: Add tests
f
or reverse-parsing files using the
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-12-01
An
d
reas Ericss
o
n
lpar
s
e api: Ad
d
a utility
to parse
files
i
n reverse
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-30
Andreas E
r
icsson
import
:
Sto
p
l
e
aking memory when h
a
ndling host
a
n
d
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-26
Andreas Erics
s
on
has
h
api: Remove last vestige
s
o
f
size
_
t v
a
riables
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-26
A
n
d
re
a
s Ericsson
Remove
t
he last v
e
stiges of s
i
z
e_t from th
e
util
i
ty
.
.
.
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-26
A
n
d
reas
E
rics
s
on
R
eplace size_t vars with unsigned int
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
2009-11-25
An
d
r
e
a
s
E
ricsson
Bre
a
k out more
similarities between sh
o
wlog
.
c and
i
mport
.
c
Signed-off-by: Andreas Ericsson <
ae@op5.se
>
commit
|
commitdiff
|
tree
next