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: Count (and print) skipped downtime entries
2010-04-20
An
d
reas
Ericsson
import: Coun
t
(an
d
print) skipped downt
i
me entries
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-20
Andreas Ericsson
h
ash: Change
order
of arguments w
h
en checking hash
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-19
Andreas Er
i
csson
h
ooks:
H
andle NE
B
TYP
E
_
DOWNTIME_DELETE ev
e
nts p
r
operly
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-19
Andre
a
s Ericsson
ve
r
ify_i
m
p
ort: Update mysq
l
_
r
esult() u
s
a
g
e
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-19
A
n
dreas Er
i
csson
verify_im
p
ort
:
Ma
k
e da
t
ab
a
se table
a comman
d
-
l
ine
option
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-16
Andreas
E
ri
c
sson
s
ho
w
l
og: Ad
d
--h
i
de-a
l
l co
m
mand line option
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-16
Andrea
s
E
ricsson
sho
w
log: Add sup
p
ort for p
r
inting log timestamp
s
k
ews
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-09
Andrea
s
E
ri
c
sson
import: Make sure
d
e
sc is always initiali
z
ed properly
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-09
Andreas Ericsson
imp
o
rt:
Fix sql error
i
n service
n
otific
a
ti
o
n
i
nsert
i
on
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
And
r
e
a
s
E
ricss
o
n
impor
t
: Make sure we h
a
ndle broken notific
a
tion re
a
son
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
Andreas Ericss
o
n
Merge br
a
nch 'next'
commit
|
commitdiff
|
tree
2010-04-08
A
n
d
rea
s
E
ri
c
sso
n
i
m
port: Honor
-
-no
-
sql w
h
en importing notificati
o
ns
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
And
r
eas Ericsson
import: Ma
k
e incremental m
o
de work for notification
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
A
n
dreas Ericsso
n
import: Import
n
otifications in a sepa
r
ate run
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
Andreas Er
i
css
o
n
i
m
port
:
Make sure we parse the
r
ight st
r
ing for se
r
v
i
ce
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
A
ndre
a
s Ericsson
import: Remove debug
g
ing output
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
Andreas Ericsson
sql: Intro
d
u
c
e sql
_
db_
n
ame()
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
Andrea
s
Ericss
o
n
s
q
l:
Avoid segf
a
u
l
tin
g
on
m
iss
i
ng database
link
in
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
A
ndreas Er
i
csson
import: Revamp parse_import_not
i
fication()
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-08
An
d
reas Ericsson
logutils: Int
r
oduce pa
r
se_{host,service}_state_gen
t
ly()
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-07
Andreas Ericsson
import: First stab a
t
implement
i
ng impo
r
t
for noti
f
ications
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-07
Andre
a
s
Ericsson
l
o
gutils: Re
v
amp how par
s
e
_
{
host,servi
c
e
}
_st
a
te() works
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-07
A
ndreas Ericsson
D
e
fi
n
e so
m
e macros
o
nly
o
nce
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-07
Andreas Er
i
c
s
son
tes
t
-
lparse:
Make a
l
l
t
est
s
pas
s
f
u
l
ly
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-07
Andre
a
s Eri
c
sso
n
M
e
rge branch 'ma
s
ter' i
n
to next
commit
|
commitdiff
|
tree
2010-04-07
Andre
a
s Ericsson
sho
w
log
:
Add pret
t
y-print things
f
o
r no
t
ification eve
n
ts
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-07
Andreas Ericsson
showlog: Add suppo
r
t
for --time-format=dura
t
ion
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
Andrea
s
Ericsson
show
l
o
g
:
Replace the blue color
for
downtime with bright
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
Andreas Ericsson
state: Mak
e
s
u
r
e
we dupli
c
ate the keys used fo
r
h
ashing
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
Andre
a
s Eric
s
son
showlog: Add support for --hide-state-
d
upes
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
A
ndreas Ericsson
showlo
g
: Optimi
z
e
away one call to parse_{host,service
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
Andreas Eri
c
sson
showlog: Don't s
h
o
w
INITIAL/CURRENT
state fo
r
unin
t
eresting
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
A
n
dreas Ericsson
s
tate a
p
i:
M
ake
*_has_new_state() usable
w
ithout a
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
A
ndreas E
r
icsson
state
.
c: Squel
c
h w
a
rning about lackin
g
prototy
p
e for
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
Andreas Eric
s
son
Makef
i
le: Build
t
est-l
p
arse w
i
t
h sane linki
n
g options
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
And
r
eas Eric
s
son
Makefi
l
e: Make CPPFLAGS a
n
d
CFLAGS cus
t
omizable
b
y
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
A
n
dreas
Ericss
o
n
Makefile: Add default LDFLAGS a
n
d make
i
t ov
e
rridable
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
Andr
e
as Ericsso
n
Break out {host,service}_has_n
e
w_state()
to their
own
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-04-06
Andreas Erics
s
on
Replace #
i
nclude
<nagio
s
/
foo
.
h>
wi
t
h #include "nag
i
o
s
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-25
Andreas Ericsson
c
f
gfile: Rem
o
ve t
r
ailing w
h
itespace in variable va
l
u
e
s
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-25
Andreas Ericss
o
n
sh
o
wlo
g
: Fix
D
S
T handling
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-24
A
n
dre
a
s
E
ric
s
son
s
h
o
w
log: Update ico
n
name
f
or downtime
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-24
Andreas Eric
s
son
showlog: Fix lo
g
file selection code for th
e
--reverse
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-24
A
n
d
reas Ericsson
show
l
og: Improve {
f
irst,la
s
t
}_ti
m
e
handling
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-24
A
n
dre
a
s Ericsso
n
Makefile: Add logutils
.
h to logutils
.
o and
sho
w
log
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-24
A
n
drea
s
Ericsson
showlog: Print why we're
ign
o
ri
n
g
a
particular
fi
l
e
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Ericss
o
n
showlog
:
Add last t
o
u
c
h
e
s to user
-
based filtering
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-23
And
r
e
as
E
r
i
csson
sh
o
w
log: T
e
ach showlog
abo
u
t
objects
.
cac
h
e
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Ericsson
sh
o
w
log: Print ti
m
e eve
n
if
w
e couldn't find a
color
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-23
A
ndre
a
s
E
r
i
c
sson
s
h
owlo
g
: P
r
int i
n
i
t
i
al sta
t
e
s with the same
colo
r
as
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-23
Andreas E
r
icsso
n
auth
l
ib
:
Add
m
issi
n
g e
x
clamation
ma
r
k in auth
_
parse_permiss
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-23
A
n
dre
a
s Ericsson
showlog: Teach
sho
w
lo
g
abou
t
--u
s
er
and
-
-cgi-cfg
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Ericsson
showlog: D
o
n
'
t crash on i
l
le
g
al arguments shorter tha
n
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Eri
c
s
son
show
l
og: Mention
t
hat logfiles
i
s
not a
mandatory option
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Erics
s
on
showlog: Stop marking '--nagios
-
cfg' as requ
i
r
e
d
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-23
A
ndr
e
as
E
r
ic
s
son
import
:
Don't cr
a
sh on
illegal argum
e
nts
s
horter than
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Eric
s
s
o
n
M
akefile: L
i
nk auth
.
o
i
nto the sho
w
log appli
c
ation
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-23
And
r
eas
E
ricsson
a
uth
.
h: Mark al
l
pr
o
t
o
types as 'extern'
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-23
Andreas
E
r
i
csson
auth l
i
b: Fix aut
h
_par
s
e_permissions
(
)
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-23
A
n
dreas Erics
s
on
auth lib: Min
o
r fixes
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-23
Andreas Ericsson
showl
o
g: Fix ty
p
o
in --h
e
lp output
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-22
An
d
reas Ericsson
A
d
d 'auth
'
help
e
r libr
a
ry
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-22
An
d
reas Ericsson
logutils: Mak
e
sure w
e
never
a
dd t
h
e sam
e
l
o
gfil
e
more
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-22
Andre
a
s
Ericsson
Make the apps
n
ag
i
os
.
cfg
a
w
are
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-22
A
ndreas Eric
s
son
apps: C
o
nso
l
i
d
ate handling of logfiles and archive
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-15
Andreas Ericsson
test-lparse:
T
est that w
e
can
handle logfiles without
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-15
Andrea
s
Er
i
c
sson
Do
n
't
b
arf on missing dash in f
i
lename
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-12
Andreas Erics
s
o
n
showlo
g
: Imple
m
e
nt -
-
skip a
n
d --limit
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-12
A
n
d
r
eas Er
i
csso
n
showlog
:
H
ide
s
ome
c
r
a
p b
y
defa
u
l
t
when run fr
o
m
command
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-12
Andreas
E
ricsson
show
l
og: A
d
d optio
n
to hide initial
and cur
r
en
state
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-12
Andrea
s
E
r
icsson
s
howlog: A
d
d
o
ption to hide log rotation
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-12
A
ndreas Eri
c
sson
showlog: Add
optio
n
to hi
d
e notificati
o
ns
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-12
Andreas Er
i
csso
n
s
h
owlog: Only print
n
otifi
c
ation lines
f
or
i
ntere
s
ting
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-12
Andreas Ericsson
showlog: Change
h
ow filt
e
ring wor
k
s when printing
l
i
n
es
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-10
A
n
d
r
e
as E
r
icsson
sql: Replace mysql_error(db
.
link) wi
t
h
sq
l
_error()
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-10
Andreas Er
i
csson
sql: Don't uncondi
t
ionally try to
r
e
run failed queries
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-10
Andreas Ericsson
specfile: Add
%
clean section
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-08
Andreas E
r
i
csson
spe
c
file: Don't install op5backu
p
module-file
s
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-08
And
r
e
a
s Ericsson
showlog: Set d
e
fau
l
t image_url to
w
hat ni
n
j
a uses
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-03-08
And
r
eas Eric
s
son
showlo
g
: Use
n
i
n
ja-
s
tyle
i
mage na
m
es instead of old
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-02-24
Andreas Er
i
csson
Add op5-backup module files
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-02-03
Andre
a
s Ericsson
showlog: Implement --hide-command
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-02-03
And
r
eas Ericsson
showlog
:
C
larify the
-
-ansi option helpt
e
x
t
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-01-25
Andr
e
a
s
Ericsson
showlog: U
p
date style as pe
r
M
y
's instructions
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-01-25
A
ndreas Ericsso
n
Make
f
ile: also i
n
stal
l
the showlog pr
o
gram
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-01-25
Andreas
E
ric
s
son
showlog: Add events for start and s
t
op
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-01-24
Andreas Ericsso
n
showlog
:
Add prin
t
_line_ansi(), a
colorizer fo
r
t
he
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-01-24
An
d
r
eas Eri
c
sson
showlog: Ignore n
o
t
h
ing
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-01-24
Andreas Er
i
csson
showlog: Add help text for --image-url
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-01-24
Andreas Ericsson
showlog: Mak
e
image_url a command-line opt
i
on
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-01-24
Andreas Ericsson
sho
w
log: Im
p
leme
n
t timebreaks
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-01-24
Andreas Ericsson
showlog: Revamp the print_line machinery to ma
k
e
h
tml
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-01-24
And
r
eas Ericsson
showlog: Ma
k
e --
h
ide-d
o
wntime
work properl
y
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-01-24
Andreas
E
ricsson
s
h
owlog
:
Make
'
reverse' a
g
lob
a
l v
a
riable
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2010-01-19
A
n
dre
a
s
Ericsson
showlog: Add usa
g
e
() function
and --help opt
i
on
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-11
Andreas E
r
ic
s
son
import: Fix i
m
port
i
ng passi
v
e
h
ost and service ch
e
cks
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-11
Andreas E
r
icsson
im
p
ort: Add suppo
r
t f
o
r passive host and serv
i
ce che
c
ks
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-11
Andreas Er
i
c
sson
sh
o
w
l
og:
I
m
plement --time-f
o
r
mat
selection for output
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-11
Andreas Ericsson
lo
g
utils: Make sure we loo
k
a
t
the right
s
tring whe
n
.
.
.
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
2009-12-11
Andreas Ericsson
im
p
ort: R
e
move hard
c
od
e
d 're
p
ort_data' t
a
ble n
a
me
Signed-off-by:
Andreas Ericsson
<ae@op5.se>
commit
|
commitdiff
|
tree
next