mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
Whitespace cleanup
* remove trailing whitespace * remove empty lines at the end of files
This commit is contained in:
parent
ef851f0c34
commit
17f784270a
604 changed files with 2927 additions and 2945 deletions
|
@ -7,7 +7,7 @@
|
|||
#
|
||||
# "employee" must be an alias configured in the firebird aliases.conf file
|
||||
#
|
||||
# You will also need to set
|
||||
# You will also need to set
|
||||
#
|
||||
# [firebird_employee]
|
||||
# user root
|
||||
|
@ -53,24 +53,24 @@ gstat=$(which gstat 2> /dev/null)
|
|||
|
||||
${gstat:=/opt/firebird/bin/gstat} -h ${db} | awk -F'[\t]+' \
|
||||
'{ sub(/^ */,"");
|
||||
if ($2 == "Oldest transaction")
|
||||
{
|
||||
if ($2 == "Oldest transaction")
|
||||
{
|
||||
oldest_trans=$3;
|
||||
print "oldest_transaction.value " $3
|
||||
}
|
||||
if ($2 == "Oldest active")
|
||||
{
|
||||
oldest_active=$3
|
||||
oldest_active=$3
|
||||
print "oldest_active.value " $3
|
||||
}
|
||||
if ($2 == "Oldest snapshot")
|
||||
if ($2 == "Oldest snapshot")
|
||||
{
|
||||
oldest_snapshot=$3
|
||||
oldest_snapshot=$3
|
||||
print "oldest_snapshot.value " $3
|
||||
}
|
||||
if ($2 == "Next transaction")
|
||||
{
|
||||
next_transaction=$3
|
||||
next_transaction=$3
|
||||
print "next_transaction.value " $3
|
||||
print "oldest_trans_gap1.value " $3 - oldest_trans
|
||||
print "oldest_trans_gap2.value " $3 - oldest_snapshot
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue