update to pgcluu-2.5

This commit is contained in:
jasper 2016-05-02 09:28:27 +00:00
parent dd3bb239bb
commit e6308c2aa6
4 changed files with 16 additions and 16 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.4 2016/01/06 09:48:28 jasper Exp $
# $OpenBSD: Makefile,v 1.5 2016/05/02 09:28:27 jasper Exp $
COMMENT= PostgreSQL performances monitoring and auditing tool
DISTNAME= pgcluu-2.4
DISTNAME= pgcluu-2.5
CATEGORIES= databases sysutils
HOMEPAGE= http://pgcluu.darold.net/

View File

@ -1,2 +1,2 @@
SHA256 (pgcluu-2.4.tar.gz) = O6jdU79SmlCbgSEl1qaz85unqxFIgb7VBgkkD1W1PjE=
SIZE (pgcluu-2.4.tar.gz) = 401119
SHA256 (pgcluu-2.5.tar.gz) = bxEyGbzahCat4rerwBjRU10POMRL9B5e5s09zcy2+ZA=
SIZE (pgcluu-2.5.tar.gz) = 1118876

View File

@ -1,10 +1,10 @@
$OpenBSD: patch-pgcluu,v 1.2 2016/01/06 09:48:28 jasper Exp $
$OpenBSD: patch-pgcluu,v 1.3 2016/05/02 09:28:27 jasper Exp $
- Set $sysinfo{"KERNEL"} and $sysinfo{"CPU"} (minus cache) values
--- pgcluu.orig Sat Jul 25 12:33:53 2015
+++ pgcluu Tue Jan 5 20:19:31 2016
@@ -8500,13 +8500,13 @@ sub read_sysinfo
--- pgcluu.orig Wed Apr 27 15:43:05 2016
+++ pgcluu Mon May 2 11:27:39 2016
@@ -9489,13 +9489,13 @@ sub read_sysinfo
next;
}
if ($section eq 'CPU') {
@ -25,7 +25,7 @@ $OpenBSD: patch-pgcluu,v 1.2 2016/01/06 09:48:28 jasper Exp $
} else {
$sysinfo{$section}{$key} = $val;
}
@@ -8514,8 +8514,8 @@ sub read_sysinfo
@@ -9503,8 +9503,8 @@ sub read_sysinfo
if ($section eq 'KERNEL') {
my @kinf = split(/\s+/, $l);
$sysinfo{$section}{'hostname'} = $kinf[1];
@ -34,5 +34,5 @@ $OpenBSD: patch-pgcluu,v 1.2 2016/01/06 09:48:28 jasper Exp $
+ $sysinfo{$section}{'kernel'} = "$kinf[2] $kinf[3]";
+ $sysinfo{$section}{'arch'} = "$kinf[-1]";
}
if ($section eq 'RELEASE') {
my ($key, $val) = split(/=/, $l);
if ($section eq 'UPTIME') {
$sysinfo{$section}{'all'} = $l;

View File

@ -1,10 +1,10 @@
$OpenBSD: patch-pgcluu_collectd,v 1.2 2016/01/06 09:48:28 jasper Exp $
$OpenBSD: patch-pgcluu_collectd,v 1.3 2016/05/02 09:28:27 jasper Exp $
- Set $sysinfo{"RELEASE"}, $sysinfo{"CPU"} (minus cache)
--- pgcluu_collectd.orig Sat Jul 25 12:33:53 2015
+++ pgcluu_collectd Tue Jan 5 20:19:31 2016
@@ -1296,9 +1296,9 @@ sub grab_os_information
--- pgcluu_collectd.orig Wed Apr 27 15:43:05 2016
+++ pgcluu_collectd Mon May 2 11:27:39 2016
@@ -1442,9 +1442,9 @@ sub grab_os_information
{
# Look at CPU informations
@ -16,7 +16,7 @@ $OpenBSD: patch-pgcluu_collectd,v 1.2 2016/01/06 09:48:28 jasper Exp $
# Look at kernel informations
$cmd = 'uname -a 2>/dev/null';
$cmd = $sshcmd . ' "' . $cmd . "\"" if ($sshcmd);
@@ -1324,8 +1324,7 @@ sub grab_os_information
@@ -1470,8 +1470,7 @@ sub grab_os_information
$cmd = $sshcmd . ' "' . $cmd . "\"" if ($sshcmd);
my @pciinfo = `$cmd`;
# Release informations