0

Recently I have migrated old Veeam to a new Virtual machine. The new Virtual Machine: Windows Server 2022, Veeam 12.3, PostgreSQL 15 which is running on the same VM.

Currently I am monitoring some services (CPU, Memory, Disks.. etc..) with NSClient++. I am looking for a solution to monitor the PostgreSQL server with nagios. Has someone successfully achieved the above and what plugins/clients/solutions have you used?

2
  • What exactly you want to monitor in postgresql? Commented Jan 31 at 14:51
  • Hey! I want to monitor the postgresql connection and the postgresql service Commented Jan 31 at 15:02

1 Answer 1

1

To monitor postreSQL process you can use NSClient++ and config for process monitoring as usual. For more information how to config it you can check this PDF.

For monitoring connections you can install posgresql client on the server and create simple script with one select to check the connections:

SELECT * FROM pg_stat_activity; 

For more info please check this excellent Q/A about the subject.

Of course some filtering may be required to satisfy your view.

1
  • 1
    10x for the help Romeo. Commented Feb 5 at 15:20

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.