Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 11-03-2006, 09:21 AM   #1 (permalink)
 
Junior Techie

Join Date: Nov 2005

Posts: 87

lbduballstrs

Default Nagios Network Monitor

I have had success with setting up nagios in text and sql. What I'm trying to do though is get NagMin to work. I think I hve set it up correctly but when I go to it's webmin module, it tells me that I need a version of MySQL newer that version 3. I have version 5 on there so I'm kind of stumped. Does anyone know how to get it to work with MySQL 5?? I'm doing this all on Ubuntu by the way.
lbduballstrs is offline  
Old 11-03-2006, 10:00 AM   #2 (permalink)
 
Master Techie

Join Date: Apr 2004

Posts: 2,534

horndude is on a distinguished road

Default

did you have to compile it form source? If so does it have an option in the config file to disable version checking?
horndude is offline  
Old 11-03-2006, 11:53 AM   #3 (permalink)
 
Junior Techie

Join Date: Nov 2005

Posts: 87

lbduballstrs

Default

no I actually ran ./setup. I have NagMin installed with MySQL 4 now but wheb I click on the nagios system database I get this error:

Error - Perl execution failed

Can't use an undefined value as a HASH reference at /usr/lib/perl5/DBD/mysql.pm line 115.

Any ideas??
lbduballstrs is offline  
Old 11-06-2006, 05:12 PM   #4 (permalink)
 
Master Techie

Join Date: Apr 2004

Posts: 2,534

horndude is on a distinguished road

Default

perl module for mysql? if so, they can be gotten for free from cpan.org

im guessing nagios has lots of dependencies, check its documentation then check that against whats on your system presently and add what isnt there

as far as the mysql version checking, dont know other than hacking the ./setup program a bit and see what happens, sometimes specific versions of apps or libraries are needed, sometimes not, and sometimes the version checking doesnt work right to begin with----a quick and dirty way would be to make a symlink and maybe fool it into thinking you have the version of mysql it is looking for

my advice, find an ubuntu forum like at linuxquestions.org and see what you can find out, this question is a bit specialized for the talent available here to be honest
horndude is offline  
Old 11-07-2006, 04:08 PM   #5 (permalink)
 
Junior Techie

Join Date: Nov 2005

Posts: 87

lbduballstrs

Default

I just upgraded the NagMin version from 2.1 to 2.2 and the error has gone away.
lbduballstrs is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On