Page 1 of 1

Offloading database to MySQL server

Posted: Wed Jun 20, 2012 9:14 am
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

Re: Offloading database to MySQL server

Posted: Wed Jun 20, 2012 9:35 am
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

Re: Offloading database to MySQL server

Posted: Wed Jun 20, 2012 12:28 pm
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.

Re: Offloading database to MySQL server

Posted: Wed Jun 20, 2012 2:29 pm
by agriffin
The NDOUtils manual can be found here. You can look through that to verify you set things up correctly.