upgrading from 3.4.1 to 4.0.1
-
vivithemage
- Posts: 102
- Joined: Tue May 21, 2013 2:52 pm
Re: upgrading from 3.4.1 to 4.0.1
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?
Is there an easy way to check what plugins I am using, like RRD?
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: upgrading from 3.4.1 to 4.0.1
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.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
-
vivithemage
- Posts: 102
- Joined: Tue May 21, 2013 2:52 pm
Re: upgrading from 3.4.1 to 4.0.1
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.
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.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: upgrading from 3.4.1 to 4.0.1
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."
-
vivithemage
- Posts: 102
- Joined: Tue May 21, 2013 2:52 pm
Re: upgrading from 3.4.1 to 4.0.1
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.
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.
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: upgrading from 3.4.1 to 4.0.1
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
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
-
vivithemage
- Posts: 102
- Joined: Tue May 21, 2013 2:52 pm
Re: upgrading from 3.4.1 to 4.0.1
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/
[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
Lets find your rrds. Install mlocate if you do not have it:
Code: Select all
which locate
yum install mlocate
updatedb
locate *.rrdFormer Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
vivithemage
- Posts: 102
- Joined: Tue May 21, 2013 2:52 pm
Re: upgrading from 3.4.1 to 4.0.1
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.
/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
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?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.