Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Nagios and MySQL support, I don't want it..
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Shirow
n00b
n00b


Joined: 30 Aug 2003
Posts: 23

PostPosted: Tue Apr 11, 2006 4:22 pm    Post subject: Nagios and MySQL support, I don't want it.. Reply with quote

I just updated Nagios on my server from 1.2 to 1.3. It's now compiled with MySQL support, which I don't want. There doesn't seem to be a way to get rid of it. emerge --vp doesn't show any USE flags for Nagios.

Now, none of my pages work because Nagios keeps trying to connect to a non-existent MySQL database. What's the best way to fix this?
Back to top
View user's profile Send private message
kashani
Advocate
Advocate


Joined: 02 Sep 2002
Posts: 2032
Location: San Francisco

PostPosted: Tue Apr 11, 2006 8:42 pm    Post subject: Reply with quote

nagios is a meta package for nagios-core, nagios-plugins, nagios-nsca, nagios-nrpe, and nagios-imagepack. nagios-core is where mysql is getting pulled in.

BTW Nagios 2.0 has been out for sometime and has been stable for me. I'd unmask it and skip right to 2.0 rather than taking the interim step to 1.3.

kashani
_________________
Will personally fix your server in exchange for motorcycle related shop tools in good shape.
Back to top
View user's profile Send private message
vad3r
Guru
Guru


Joined: 02 May 2004
Posts: 461
Location: Munich, Germany

PostPosted: Tue Apr 11, 2006 8:43 pm    Post subject: Reply with quote

I i try to donwgrade to Nagios 1.3 i see the mysql useflag:

Code:
deathstar ~ # emerge -pv =nagios-core-1.3

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     UD] net-analyzer/nagios-core-1.3 [2.0] +apache2 -debug -mysql -noweb +perl -postgres 1,589 kB


This is what you should see too. Please post again if problem still exists.
_________________
-- http://www.linuxaddicted.de/ | Please help to answer open questions
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum