From a0df248a2be61557b8a67c3d6e4df24dc3e7843e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Tue, 10 Jul 2018 12:36:52 +0200 Subject: Add monitoring for etherpad --- modules/profile/manifests/postgresql.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/profile/manifests/postgresql.pp') diff --git a/modules/profile/manifests/postgresql.pp b/modules/profile/manifests/postgresql.pp index edd6ea6..fedbcb1 100644 --- a/modules/profile/manifests/postgresql.pp +++ b/modules/profile/manifests/postgresql.pp @@ -30,7 +30,7 @@ class profile::postgresql ( @profile::monitoring::local_service { "Databases are present in postgresql": sudos => { - "naemon-postgresql-database-public" => "naemon ALL=(postgres) NOPASSWD: /usr/bin/psql -c select\ nspname\ from\ pg_catalog.pg_namespace" + "naemon-postgresql-database-public" => "naemon ALL=(postgres) NOPASSWD: /usr/bin/psql -c select\\ nspname\\ from\\ pg_catalog.pg_namespace" }, local => { check_command => "check_command_output!psql -c 'select nspname from pg_catalog.pg_namespace'!public!-r postgres", -- cgit v1.2.3