summaryrefslogtreecommitdiff
path: root/check_postgres.pl
diff options
context:
space:
mode:
authorGreg Sabino Mullane2009-07-10 20:58:57 +0000
committerGreg Sabino Mullane2009-07-10 20:58:57 +0000
commitc4b0db5670e4dcfa6011c0828fdfb4870c1b0d5e (patch)
tree0fb42371aace9a218f9fd53b1b266f4238e4531c /check_postgres.pl
parent6178e7c5fed43830330435e0368cdec81e4e7480 (diff)
Alphabetasize messsages.
Diffstat (limited to 'check_postgres.pl')
-rwxr-xr-xcheck_postgres.pl64
1 files changed, 31 insertions, 33 deletions
diff --git a/check_postgres.pl b/check_postgres.pl
index f82abbf73..5e443cdd2 100755
--- a/check_postgres.pl
+++ b/check_postgres.pl
@@ -118,16 +118,16 @@ our %msg = (
'die-badversion' => q{Invalid version string: $1},
'die-noset' => q{Cannot run "$1" $2 is not set to on},
'die-nosetting' => q{Could not fetch setting '$1'},
- 'diskspace-nodf' => q{Could not find required executable /bin/df},
'diskspace-fail' => q{Invalid result from command "$1": $2},
'diskspace-msg' => q{FS $1 mounted on $2 is using $3 of $4 ($5%)},
'diskspace-nodata' => q{Could not determine data_directory: are you connecting as a superuser?},
+ 'diskspace-nodf' => q{Could not find required executable /bin/df},
'diskspace-nodir' => q{Could not find data directory "$1"},
'file-noclose' => q{Could not close $1: $2},
- 'fsm-page-msg' => q{fsm page slots used: $1 of $2 ($3%)},
'fsm-page-highver' => q{Cannot check on fsm_pages on servers version 8.4 or greater},
- 'fsm-rel-msg' => q{fsm relations used: $1 of $2 ($3%)},
+ 'fsm-page-msg' => q{fsm page slots used: $1 of $2 ($3%)},
'fsm-rel-highver' => q{Cannot check on fsm_relations on servers version 8.4 or greater},
+ 'fsm-rel-msg' => q{fsm relations used: $1 of $2 ($3%)},
'invalid-option' => q{Invalid option},
'invalid-query' => q{Invalid query returned: $1},
'listener-count' => q{ listening=$1}, ## needs leading space
@@ -153,8 +153,8 @@ our %msg = (
'new-pg-badver' => q{Could not determine the Postgres revision (version was $1)},
'new-pg-badver2' => q{Could not find revision information for Postgres version $1},
'new-pg-big' => q{Please upgrade to version $1 of Postgres. You are running $2},
- 'new-pg-small' => q{The latest version of Postgres is $1, but you are running $2?},
'new-pg-match' => q{Postgres is at the latest revision ($1)},
+ 'new-pg-small' => q{The latest version of Postgres is $1, but you are running $2?},
'no-match-db' => q{No matching databases found due to exclusion/inclusion options},
'no-match-fs' => q{No matching file systems found due to exclusion/inclusion options},
'no-match-rel' => q{No matching relations found due to exclusion/inclusion options},
@@ -169,7 +169,7 @@ our %msg = (
'opt-psql-nofind' => q{Could not find a suitable psql executable},
'opt-psql-nover' => q{Could not determine psql version},
'opt-psql-restrict' => q{Cannot use the --PSQL option when NO_PSQL_OPTION is on},
- 'preptxn-none' => q{No prepared transactions found},
+ 'preptxn-none' => q{No prepared transactions found},
'qtime-fail' => q{Cannot run the txn_idle action unless stats_command_string is set to 'on'!},
'qtime-msg' => q{longest query: $1s},
'range-badcs' => q{Invalid '$1' option: must be a checksum},
@@ -192,8 +192,7 @@ our %msg = (
'range-nosize' => q{Must provide a warning and/or critical size},
'range-notime' => q{Must provide a warning and/or critical time},
'range-seconds' => q{Invalid argument to '$1' option: must be number of seconds},
- 'range-version' => q{must be in the format X.Y or X.Y.Z, where X is the major version number, }.
- q{Y is the minor version number, and Z is the revision},
+ 'range-version' => q{must be in the format X.Y or X.Y.Z, where X is the major version number, },
'range-warnbig' => q{The 'warning' option cannot be greater than the 'critical' option},
'range-warnbigsize' => q{The 'warning' option ($1 bytes) cannot be larger than the 'critical' option ($2 bytes)},
'range-warnbigtime' => q{The 'warning' option ($1 s) cannot be larger than the 'critical' option ($2 s)},
@@ -224,8 +223,8 @@ our %msg = (
'runtime-badmrtg' => q{invalid queryname?},
'runtime-badname' => q{Invalid queryname option: must be a simple view name},
'runtime-msg' => q{query runtime: $1 seconds},
- 'same-matched' => q{Both databases have identical items},
- 'same-failed' => q{Databases were different. Items not matched: $1},
+ 'same-failed' => q{Databases were different. Items not matched: $1},
+ 'same-matched' => q{Both databases have identical items},
'seq-die' => q{Could not determine information about sequence $1},
'seq-msg' => q{$1=$2% (calls left=$3)},
'seq-none' => q{No sequences found},
@@ -265,16 +264,16 @@ our %msg = (
'txntime-fail' => q{Query failed},
'txntime-msg' => q{longest txn: $1s},
'txntime-none' => q{No transactions},
- 'txnwrap-wbig' => q{The 'warning' value must be less than 2 billion},
'txnwrap-cbig' => q{The 'critical' value must be less than 2 billion},
+ 'txnwrap-wbig' => q{The 'warning' value must be less than 2 billion},
'unknown-error' => q{Unknown error},
'usage' => qq{\nUsage: \$1 <options>\n Try "\$1 --help" for a complete list of options\n\n},
'vac-msg' => q{DB: $1 TABLE: $2},
'vac-nomatch-a' => q{No matching tables have ever been analyzed},
'vac-nomatch-v' => q{No matching tables have ever been vacuumed},
'version' => q{version $1},
- 'version-fail' => q{version $1, but expected $2},
'version-badmrtg' => q{Invalid mrtg version argument},
+ 'version-fail' => q{version $1, but expected $2},
'version-ok' => q{version $1},
},
'fr' => {
@@ -312,16 +311,16 @@ our %msg = (
'die-badversion' => q{Version invalide : $1},
'die-noset' => q{Ne peut pas exécuter « $1 » $2 n'est pas activé},
'die-nosetting' => q{N'a pas pu récupérer le paramètre « $1 »},
- 'diskspace-nodf' => q{N'a pas pu trouver l'exécutable /bin/df},
'diskspace-fail' => q{Résultat invalide pour la commande « $1 » : $2},
'diskspace-msg' => q{Le système de fichiers $1 monté sur $2 utilise $3 sur $4 ($5%)},
'diskspace-nodata' => q{N'a pas pu déterminer data_directory : êtes-vous connecté en tant que super-utilisateur ?},
+ 'diskspace-nodf' => q{N'a pas pu trouver l'exécutable /bin/df},
'diskspace-nodir' => q{N'a pas pu trouver le répertoire des données « $1 »},
'file-noclose' => q{N'a pas pu fermer $1 : $2},
- 'fsm-page-msg' => q{emplacements de pages utilisés par la FSM : $1 sur $2 ($3%)},
'fsm-page-highver' => q{Cannot check on fsm_pages on servers version 8.4 or greater},
- 'fsm-rel-msg' => q{relations tracées par la FSM : $1 sur $2 ($3%)},
+ 'fsm-page-msg' => q{emplacements de pages utilisés par la FSM : $1 sur $2 ($3%)},
'fsm-rel-highver' => q{Cannot check on fsm_relations on servers version 8.4 or greater},
+ 'fsm-rel-msg' => q{relations tracées par la FSM : $1 sur $2 ($3%)},
'invalid-option' => q{Option invalide},
'invalid-query' => q{Une requête invalide a renvoyé : $1},
'listener-count' => q{ listening=$1}, ## needs leading space
@@ -347,8 +346,8 @@ our %msg = (
'new-pg-badver' => q{N'a pas pu déterminer la révision de Postgres (la version était $1)},
'new-pg-badver2' => q{N'a pas pu trouver l'information de révision de Posrgres version $1},
'new-pg-big' => q{Veuillez mettre à jour Postgres vers la version $1. Vous utilisez actuellement la version $2},
- 'new-pg-small' => q{La dernière version de Postgres est la $1, mais vous utilisez actuellement la version $2?},
'new-pg-match' => q{Postgres est à la dernière révision ($1)},
+ 'new-pg-small' => q{La dernière version de Postgres est la $1, mais vous utilisez actuellement la version $2?},
'no-match-db' => q{Aucune base de données trouvée à cause des options d'exclusion/inclusion},
'no-match-fs' => q{Aucun système de fichier trouvé à cause des options d'exclusion/inclusion},
'no-match-rel' => q{Aucune relation trouvée à cause des options d'exclusion/inclusion},
@@ -363,7 +362,7 @@ our %msg = (
'opt-psql-nofind' => q{N'a pas pu trouver un psql exécutable},
'opt-psql-nover' => q{N'a pas pu déterminer la version de psql},
'opt-psql-restrict' => q{Ne peut pas utiliser l'option --PSQL si NO_PSQL_OPTION est activé},
- 'preptxn-none' => q{Aucune transaction préparée trouvée},
+ 'preptxn-none' => q{Aucune transaction préparée trouvée},
'qtime-fail' => q{Ne peut pas exécuter l'action txn_idle si stats_command_string est désactivé !},
'qtime-msg' => q{requête la plus longue : $1s},
'range-badcs' => q{Option « $1 » invalide : doit être une somme de contrôle},
@@ -386,8 +385,7 @@ our %msg = (
'range-nosize' => q{Doit fournir une taille warning et/ou critical},
'range-notime' => q{Doit fournir une heure warning et/ou critical},
'range-seconds' => q{Argument invalide pour l'option « $1 » : doit être un nombre de secondes},
- 'range-version' => q{doit être dans le format X.Y ou X.Y.Z, où X est le numéro de version majeure, }.
- q{Y est le numéro de version mineure et Z est la révision},
+ 'range-version' => q{doit être dans le format X.Y ou X.Y.Z, où X est le numéro de version majeure, },
'range-warnbig' => q{L'option warning ne peut pas être plus grand que l'option critical},
'range-warnbigsize' => q{L'option warning ($1 octets) ne peut pas être plus grand que l'option critical ($2 octets)},
'range-warnbigtime' => q{L'option warning ($1 s) ne peut pas être plus grand que l'option critical ($2 s)},
@@ -418,8 +416,8 @@ our %msg = (
'runtime-badmrtg' => q{queryname invalide ?},
'runtime-badname' => q{Option invalide pour queryname option : doit être le nom d'une vue},
'runtime-msg' => q{durée d'exécution de la requête : $1 secondes},
-'same-matched' => q{Both databases have identical items},
'same-failed' => q{Databases were different. Items not matched: $1},
+'same-matched' => q{Both databases have identical items},
'seq-die' => q{N'a pas pu récupérer d'informations sur la séquence $1},
'seq-msg' => q{$1=$2% (appels restant=$3)},
'seq-none' => q{Aucune sequences trouvée},
@@ -459,38 +457,38 @@ our %msg = (
'txntime-fail' => q{Échec de la requête},
'txntime-msg' => q{Transaction la plus longue : $1s},
'txntime-none' => q{Aucune transaction},
-'txnwrap-wbig' => q{The 'warning' value must be less than 2 billion},
'txnwrap-cbig' => q{The 'critical' value must be less than 2 billion},
+'txnwrap-wbig' => q{The 'warning' value must be less than 2 billion},
'unknown-error' => q{erreur inconnue},
'usage' => qq{\nUsage: \$1 <options>\n Essayez « \$1 --help » pour liste complète des options\n\n},
'vac-msg' => q{Base de données : $1 Table : $2},
'vac-nomatch-a' => q{Aucune des tables correspondantes n'a eu d'opération ANALYZE},
'vac-nomatch-v' => q{Aucune des tables correspondantes n'a eu d'opération VACUUM},
'version' => q{version $1},
- 'version-fail' => q{version $1, alors que la version attendue est $2},
'version-badmrtg' => q{Argument invalide pour la version de mrtg},
+ 'version-fail' => q{version $1, alors que la version attendue est $2},
'version-ok' => q{version $1},
},
'de' => {
- 'checkpoint-regex' => q{Zeit des letzten Checkpoints:},
-},
-'es' => {
- 'checkpoint-regex' => q{Instante de último checkpoint:},
+ 'checkpoint-regex' => q{Zeit des letzten Checkpoints:},
},
'ru' => {
- 'checkpoint-regex' => q{Время последней checkpoint:},
+ 'checkpoint-regex' => q{Время последней checkpoint:},
},
-'it' => {
- 'checkpoint-regex' => q{Orario ultimo checkpoint:},
+'pl' => {
+ 'checkpoint-regex' => q{Czas najnowszego punktu kontrolnego:},
},
-'sv' => {
- 'checkpoint-regex' => q{Tidpunkt för senaste kontrollpunkt:},
+'es' => {
+ 'checkpoint-regex' => q{Instante de último checkpoint:},
+},
+'it' => {
+ 'checkpoint-regex' => q{Orario ultimo checkpoint:},
},
'tr' => {
- 'checkpoint-regex' => q{En son checkpoint'in zamanı:},
+ 'checkpoint-regex' => q{En son checkpoint'in zamanı:},
},
-'pl' => {
- 'checkpoint-regex' => q{Czas najnowszego punktu kontrolnego:},
+'sv' => {
+ 'checkpoint-regex' => q{Tidpunkt för senaste kontrollpunkt:},
},
);
## use critic