Page 1 of 1

How do you delete postgres from a Nagios server?

Posted: Mon Nov 13, 2017 3:15 pm
by brandondash
We have successfully moved over to mysql and now would like to completely remove the postgresql software from the server. Unfortunately this happens:

Code: Select all

$ rpm -ev postgresql-server-8.4.20-6.el6.x86_64
error: Failed dependencies:
        postgresql-server is needed by (installed) nagiosxi-5-2.9.el6.x86_64
I have limited experience with rpm dependencies and how they can be undone. Any guidance?

Re: How do you delete postgres from a Nagios server?

Posted: Mon Nov 13, 2017 5:07 pm
by dwasswa
Hi @brandondash,

You do not need to go through the trouble of deleting Postgres; your system will work just fine without any issues.

You just need to disable it from starting up.

Please let me know if you have any questions.

Re: How do you delete postgres from a Nagios server?

Posted: Mon Nov 13, 2017 8:32 pm
by eloyd
There is a knowledge base article on converting older Nagioses with Postgres to just a Nagios with MySQL/Maria. If that's what you mean, look here: https://support.nagios.com/kb/article/c ... os-xi.html

I can vouch that it does work, but read it all through first to make sure you know what's coming up.

Re: How do you delete postgres from a Nagios server?

Posted: Tue Nov 14, 2017 10:11 am
by kyang
Thanks @eloyd!

@brandondash, Let us know if you have any more questions!