grants on pg_stats_activity

Поиск
Список
Период
Сортировка
От JC Praud
Тема grants on pg_stats_activity
Дата
Msg-id 8dc7b0c00909231228r3575513cu4264fe681526217d@mail.gmail.com
обсуждение исходный текст
Список pgsql-general
Hi all,

I'm trying to monitor databases with munin. For security reasons I guess it is better to create a specialized user "munin" or like that and grant it only the necessary rights: no superuser rights, nor write access on my applications databases.

My problem is, this user cannot access to info of pg_stat_activity view. It can only count the entries, but I would want to monitor waiting, and IDLE/IDLE in transaction connections.
Is that possible ?

As seen in an old post, I tried grant select on pg_stat_activity and pg_authid, to no avail.

The PostgreSQL version I use is the 8.3. But I will need it also on 8.4



Regards,


--
JC
Ph'nglui  mglw'nafh  Cthulhu  n'gah  Bill  R'lyeh  Wgah'nagl fhtagn!

В списке pgsql-general по дате отправления:

Предыдущее
От: Bryan Montgomery
Дата:
Сообщение: Looking for way to replicate master db to multiple mobile databases
Следующее
От: "Shane R. Spencer"
Дата:
Сообщение: More straight forward method to convert seconds::bigint to interval