Page 2 of 5
Re: upgrading from 3.4.1 to 4.0.1
Posted: Mon Nov 04, 2013 11:20 am
by vivithemage
I would just want to keep the uptime historical data, and configs. I do know where the configurations are.
Is there an easy way to check what plugins I am using, like RRD?
Re: upgrading from 3.4.1 to 4.0.1
Posted: Mon Nov 04, 2013 12:23 pm
by sreinhardt
Well plugins should be in your libexec directory, but they do not control your rrds. The performance data or rrds would be contained in share/perfdata. They should be transferable, however if you are making a change from x32 to x64, there are additional steps that need to be taken, to reformat them. Provided you are keeping the same configs\service names transferring this data should not be an issue.
Re: upgrading from 3.4.1 to 4.0.1
Posted: Mon Nov 04, 2013 12:52 pm
by vivithemage
we're doing 64bit to 64bit, same redhat5.9 OS as well.
I just want to make sure we add the same plugins. How do we know if we have RRDS setup? I am guessing we don't.
Re: upgrading from 3.4.1 to 4.0.1
Posted: Mon Nov 04, 2013 4:23 pm
by slansing
The RRDs would be in the location noted above, you should have the same plugins if you used the standard nagios plugins package. If you did add custom plugins you can just download them from the exchange again, or bring them over from your old system "provided they are not compiled plugins but rather scripts."
Re: upgrading from 3.4.1 to 4.0.1
Posted: Tue Nov 05, 2013 12:30 pm
by vivithemage
I found this guide:
http://www.geekpeek.net/nagios-migration/
Looks like it might be a little helpful. I am still wondering though, where are the stats? I don't see any check_rrd in my libexec directory.
Re: upgrading from 3.4.1 to 4.0.1
Posted: Tue Nov 05, 2013 2:59 pm
by sreinhardt
You don't need check_rrd, thats for checking rrds as an additional check, it has nothing to do with performance data. The data for each check should be in /usr/local/nagios/share/perfdata
Re: upgrading from 3.4.1 to 4.0.1
Posted: Tue Nov 05, 2013 3:02 pm
by vivithemage
looks like that does not exist:
[root@vmmgtnagios libexec]# cd /usr/local/nagios/share/
config.inc.php docs/ index.html main.html nagiosbpi/ not_allowed.html rss-newsfeed.php side.php
config.js images/ index.php.off main.php nagiosgraph.css robots.txt side/ ssi/
contexthelp/ includes/ js/ media/ nagiosgraph.js rss-corefeed.php side.html stylesheets/
Re: upgrading from 3.4.1 to 4.0.1
Posted: Tue Nov 05, 2013 5:36 pm
by abrist
Lets find your rrds. Install mlocate if you do not have it:
Code: Select all
which locate
yum install mlocate
updatedb
locate *.rrd
Re: upgrading from 3.4.1 to 4.0.1
Posted: Wed Nov 06, 2013 11:04 am
by vivithemage
yup, we have a bunch of rrd stuff:
/u01/app/nagiosgraph/var/rrd/uat601/Node%20check%20of%20RNJ___case1.rrd
/u01/app/nagiosgraph/var/rrd/uat601/Node%20check%20of%20RNJ___case2.rrd
/u01/app/nagiosgraph/var/rrd/uat601/Node%20check%20of%20RNJ___case3.rrd
/u01/app/nagiosgraph/var/rrd/uat601/Node%20check%20of%20RNJ___time.rrd
/u01/app/nagiosgraph/var/rrd/uat601/PING___pl.rrd
lots more then that, just snipped it.
Re: upgrading from 3.4.1 to 4.0.1
Posted: Wed Nov 06, 2013 11:27 am
by abrist
So it looks like you have a large number of rrds, and it seems like they were generated using nagiosgraph. Have you installed nagiosgraph on the new server yet?