Offloading database to MySQL server

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
lce411
Posts: 41
Joined: Thu Jun 07, 2012 1:28 pm

Offloading database to MySQL server

Post by lce411 »

Hi
I am trying to implement a MySQL server into my environment and have Nagios write to it. I am using this document: http://assets.nagios.com/downloads/nagi ... Server.pdf but since it's for Nagios XI, it references cfg files that I do not have. Can someone tell me (or point me in the right direction) how to configure the Nagios-side? The MySQL database is on a separate server, so I need Nagios to send its data to it. Any help would be much appreciated. feel free to respond through the forum or email me directly at [email protected].

Thanks,
James
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: Offloading database to MySQL server

Post by agriffin »

The steps should be the same, but in place of steps 2 b) and 2 c) just run these commands:

Code: Select all

# service ndo2db start
# service nagios start
lce411
Posts: 41
Joined: Thu Jun 07, 2012 1:28 pm

Re: Offloading database to MySQL server

Post by lce411 »

agriffin wrote:The steps should be the same, but in place of steps 2 b) and 2 c) just run these commands:

Code: Select all

# service ndo2db start
# service nagios start
The ndo2db service was unrecognized. I thought I installed NDOutils correctly on my Nagios server. Are there documented steps for that, so I can verify I did it correctly? I'm having a hard time finding any documentation that describes pointing Nagios to a MySQL database, that is not installed on the same server as Nagios.
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: Offloading database to MySQL server

Post by agriffin »

The NDOUtils manual can be found here. You can look through that to verify you set things up correctly.
Locked