added zbx_monitor user to postgresql
This commit is contained in:
parent
b7aaaeb5ee
commit
62da3096e4
1 changed files with 10 additions and 0 deletions
|
|
@ -12,6 +12,16 @@
|
||||||
# };
|
# };
|
||||||
# }
|
# }
|
||||||
#];
|
#];
|
||||||
|
ensureUsers = [
|
||||||
|
{
|
||||||
|
name = "zbx_monitor";
|
||||||
|
ensurePermissions = {
|
||||||
|
"FUNCTION pg_catalog.pg_ls_dir(text)" = "EXECUTE";
|
||||||
|
"FUNCTION pg_catalog.pg_stat_file(text)" = "EXECUTE";
|
||||||
|
"FUNCTION pg_catalog.pg_ls_waldir()" = "EXECUTE";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
services.postgresqlBackup = {
|
services.postgresqlBackup = {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue