How do you delete postgres from a Nagios server?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
brandondash
Posts: 48
Joined: Fri Jan 27, 2017 9:02 am

How do you delete postgres from a Nagios server?

Post 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?
dwasswa

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

Post 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.
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

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

Post 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.
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
kyang

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

Post by kyang »

Thanks @eloyd!

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