Hello All,
I have a question regarding best practice when installing Nagios xi on a system that is running Nagios Core.
should I go thru the configuration wizard and install the linux-nrpe-agent to set up a server that is running Core???
or should I use the "import core config files" process the add that to Nagios xi ??
or is there another way I should be monitoring my servers that are running Core now.
I was going to install using the Configuration wizard but I recieved this warning message when I got to the end of the agent install
IMPORTANT: This script should only be used on a clean installed system:
RedHat Enterprise, CentOS, Fedora, or Oracle
OpenSUSE or SUSE Enterprise
Ubuntu or Debian
Do NOT use this on a system running any other distro or that
does not allow additional package installation.
Thanks for your help
Paul.
Installing Nagios xi on nagios core system
-
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
Re: Installing Nagios xi on nagios core system
I am not sure if this is actually what you mean, but xi needs to be installed on a clean server. Here's the document on migrating from Core: https://assets.nagios.com/downloads/nag ... ios_xi.pdfpnorth wrote: I have a question regarding best practice when installing Nagios xi on a system that is running Nagios Core.
The agent should be a separate thread, unless you mean NRPE when you are talking about Core.
xi can only be installed on Red Hat or CentOS 6/7.
-
- Posts: 5
- Joined: Thu Jul 27, 2017 10:01 am
Re: Installing Nagios xi on nagios core system
Sorry for the confusing post.
So we have a Nagios Core install that has been here for some time. It seems whoever set this up did not do a standard install and things are all over the place.
I installed the nagios xi appliance and wanted to import the old nagios core servers onto the xi server for monitoring.
in the doc it is clear as to where the files are but on my nagios core server the files are not the same and some files are even missing such as hosts.cfg
I went thru some of the steps only to abandon it when I was not seeing all the files I should be seeing.
just about all the servers we need to monitor are on a ESX cluster, should I set up the "monitoring VMware with Nagios xi" or is there another "Best Practice" install I should be doing??
I'm new to nagios and new to the company I am working at so this is a little challenging for me.
thanks
Paul.
So we have a Nagios Core install that has been here for some time. It seems whoever set this up did not do a standard install and things are all over the place.
I installed the nagios xi appliance and wanted to import the old nagios core servers onto the xi server for monitoring.
in the doc it is clear as to where the files are but on my nagios core server the files are not the same and some files are even missing such as hosts.cfg
I went thru some of the steps only to abandon it when I was not seeing all the files I should be seeing.
just about all the servers we need to monitor are on a ESX cluster, should I set up the "monitoring VMware with Nagios xi" or is there another "Best Practice" install I should be doing??
I'm new to nagios and new to the company I am working at so this is a little challenging for me.
thanks
Paul.
-
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
Re: Installing Nagios xi on nagios core system
On Core the files can be called whatever and be whatever.
You could try the following find / -name *cfg. It may find more than you want, but it may give a clue.
There is certainly more than one way to do it, but I would stick to the documents until you have a better understanding of your environment and where you could/should deviant: https://assets.nagios.com/downloads/nag ... ios-xi.pdf
One thing about Nagios (Core or xi), is that things are very environment-specific. Our VMWare documentation, for example, uses perl. What if your organization forbids perl? It may sound strange, but organizations have strange (perhaps outdated) rules sometimes, so people have to find other ways. I wouldn't worry about that until you run into it though. I hope you never do!
You could try the following find / -name *cfg. It may find more than you want, but it may give a clue.
There is certainly more than one way to do it, but I would stick to the documents until you have a better understanding of your environment and where you could/should deviant: https://assets.nagios.com/downloads/nag ... ios-xi.pdf
One thing about Nagios (Core or xi), is that things are very environment-specific. Our VMWare documentation, for example, uses perl. What if your organization forbids perl? It may sound strange, but organizations have strange (perhaps outdated) rules sometimes, so people have to find other ways. I wouldn't worry about that until you run into it though. I hope you never do!
-
- Posts: 5
- Joined: Thu Jul 27, 2017 10:01 am
Re: Installing Nagios xi on nagios core system
Thanks so much for the reply.
so should I add all the .cfg files I find on the old core environment to the new xi environment??
in the directions it had me add certain files first, but as I stated some of the files it was saying to add first did not exist on the old core env..
Part of me wants to just start from scratch and do a clean config, but I know some of the servers were set up a specific way to monitor specific applications.
thanks again for all the help.
so should I add all the .cfg files I find on the old core environment to the new xi environment??
in the directions it had me add certain files first, but as I stated some of the files it was saying to add first did not exist on the old core env..
Part of me wants to just start from scratch and do a clean config, but I know some of the servers were set up a specific way to monitor specific applications.
thanks again for all the help.
-
- Posts: 5
- Joined: Thu Jul 27, 2017 10:01 am
Re: Installing Nagios xi on nagios core system
So I ran the find for any .cfg files and a bunch came up.
Not sure if I should be importing all of these to xi
Not sure if I should be importing all of these to xi
Code: Select all
./usr/local/nagios/etc/objects/windows.cfg
./usr/local/nagios/etc/objects/switch.cfg
./usr/local/nagios/etc/objects/nrpe.cfg
./usr/local/nagios/etc/objects/templates.cfg
./usr/local/nagios/etc/objects/timeperiods.cfg
./usr/local/nagios/etc/objects/printer.cfg
./usr/local/nagios/etc/objects/contacts.cfg
./usr/local/nagios/etc/objects/localhost.cfg
./usr/local/nagios/etc/objects/commands.cfg
./usr/local/nagios/etc/nagios.cfg
./usr/local/nagios/etc/nrpe.cfg
./usr/local/nagios/etc/services/FL-WCS-WASDEV.cfg
./usr/local/nagios/etc/services/FL-WCS-WAS1.cfg
./usr/local/nagios/etc/services/FL-TEST-MULE1.cfg
./usr/local/nagios/etc/services/FL-FTP-NEWHIRE2.cfg
./usr/local/nagios/etc/services/FL-WEB-IHS1.cfg
./usr/local/nagios/etc/services/FL-WCS-WAS6.cfg
./usr/local/nagios/etc/services/FL-APP-MULE4.cfg
./usr/local/nagios/etc/services/FL-WEB-SOLR-DEV.cfg
./usr/local/nagios/etc/services/FL-WCS-INTEG1.cfg
./usr/local/nagios/etc/services/SOLR.cfg
./usr/local/nagios/etc/services/FL-MON-NESSUS.cfg
./usr/local/nagios/etc/services/FL_VANTIV-RTE.cfg
./usr/local/nagios/etc/services/FL-WCS-WAS5.cfg
./usr/local/nagios/etc/services/FL-WEB-IHS3.cfg
./usr/local/nagios/etc/services/FL-WEB-PROXY2.cfg
./usr/local/nagios/etc/services/FL-WCS-WAS2.cfg
./usr/local/nagios/etc/services/FL-WEB-IHS2.cfg
./usr/local/nagios/etc/services/FL-APP-MULE2.cfg
./usr/local/nagios/etc/services/FL-WCS-WAS3.cfg
./usr/local/nagios/etc/services/FL-WCS-WAS7.cfg
./usr/local/nagios/etc/services/fl-web-isproxy.cfg
./usr/local/nagios/etc/services/FL-FTP-EDI.cfg
./usr/local/nagios/etc/services/FL-DEV-MULE1.cfg
./usr/local/nagios/etc/services/FL-WCS-INTEG2.cfg
./usr/local/nagios/etc/services/FL-MMC-MULE1.cfg
./usr/local/nagios/etc/services/FL-WEB-IHSSTAGE.cfg
./usr/local/nagios/etc/services/FL-WCS-WASSTAGE.cfg
./usr/local/nagios/etc/services/FL-WEB-SOLR-STAGE.cfg
./usr/local/nagios/etc/services/FL-WAS-DEPMGR.cfg
./usr/local/nagios/etc/services/FL-WEB-IHSDEV.cfg
./usr/local/nagios/etc/services/FL-WCS-WAS4.cfg
./usr/local/nagios/etc/services/FL-WCS-DEV-INTEG.cfg
./usr/local/nagios/etc/services/FL-MSX-CSRELAY.cfg
./usr/local/nagios/etc/resource.cfg
./usr/local/nagios/etc/cgi.cfg
./usr/local/nagios/etc/servers/servers.cfg
./usr/local/nagios/etc/groups/mule_esb_servers.cfg
./usr/local/nagios/etc/groups/was_nodes.cfg
./usr/local/nagios/nagiosql/serviceescalations.cfg
./usr/local/nagios/nagiosql/contacttemplates.cfg
./usr/local/nagios/nagiosql/serviceextinfo.cfg
./usr/local/nagios/nagiosql/hostdependencies.cfg
./usr/local/nagios/nagiosql/hostescalations.cfg
./usr/local/nagios/nagiosql/services/imp_fl-web-isproxy.cfg
./usr/local/nagios/nagiosql/services/imp_localhost.cfg
./usr/local/nagios/nagiosql/services/rootlog_FL-WEB-SKYDEV.cfg
./usr/local/nagios/nagiosql/services/imp_FL-WEB-SOLR-STAGE.cfg
./usr/local/nagios/nagiosql/services/imp_FL-WEB-IHSSTAGE.cfg
./usr/local/nagios/nagiosql/services/imp_FL-WCS-WAS1.cfg
./usr/local/nagios/nagiosql/services/imp_FL-TEST-MULE1.cfg
./usr/local/nagios/nagiosql/services/imp_FL-WEB-RSR4.cfg
./usr/local/nagios/nagiosql/services/imp_NY-WEB-PROXY2.cfg
./usr/local/nagios/nagiosql/services/imp_FL-WCS-WAS3.cfg
./usr/local/nagios/nagiosql/services/imp_FL-FTP-NEWHIRE2.cfg
./usr/local/nagios/nagiosql/services/imp_NY-APP-MULE4.cfg
./usr/local/nagios/nagiosql/services/imp_FL-WEB-RSR2.cfg
./usr/local/nagios/nagiosql/services/imp_FL-APP-MULE2.cfg
./usr/local/nagios/nagiosql/services/imp_FL-WEB-IHS1.cfg
./usr/local/nagios/nagiosql/services/imp_FL-WEB-SKYDEV.cfg
./usr/local/nagios/nagiosql/services/imp_FL-WCS-WAS4.cfg
./usr/local/nagios/nagiosql/services/imp_FL-WEB-PROXY2.cfg
./usr/local/nagios/nagiosql/services/imp_FL-MYSQL-RSR1.cfg
./usr/local/nagios/nagiosql/services/imp_FL-WAS-DEPMGR.cfg
./usr/local/nagios/nagiosql/services/imp_FL-DEV-MULE1.cfg
./usr/local/nagios/nagiosql/services/imp_FL-WCS-INTEG2.cfg
./usr/local/nagios/nagiosql/services/imp_FL-WEB-IHS2.cfg
./usr/local/nagios/nagiosql/services/imp_FL-WCS-WASDEV.cfg
./usr/local/nagios/nagiosql/services/imp_FL-WCS-DEV-INTEG.cfg
./usr/local/nagios/nagiosql/services/imp_FL-MSX-CSRELAY.cfg
./usr/local/nagios/nagiosql/services/imp_FL-MMC-MULE1.cfg
./usr/local/nagios/nagiosql/services/imp_FL-WEB-RSR3.cfg
./usr/local/nagios/nagiosql/services/Check_perfumaniaholdings.cfg
./usr/local/nagios/nagiosql/services/imp_FL-MON-NESSUS.cfg
./usr/local/nagios/nagiosql/services/imp_FL-WCS-WAS2.cfg
./usr/local/nagios/nagiosql/services/imp_NY-WEB-PROXY.cfg
./usr/local/nagios/nagiosql/services/imp_FL-WEB-RSR1.cfg
./usr/local/nagios/nagiosql/services/imp_FL-WEB-IHSDEV.cfg
./usr/local/nagios/nagiosql/services/imp_FL-WCS-WASSTAGE.cfg
./usr/local/nagios/nagiosql/services/imp_FL-FTP-EDI.cfg
./usr/local/nagios/nagiosql/services/imp_FL-WEB-SOLR-DEV.cfg
./usr/local/nagios/nagiosql/services/imp_FL-WEB-IHS3.cfg
./usr/local/nagios/nagiosql/services/imp_FL-WCS-WAS5.cfg
./usr/local/nagios/nagiosql/services/imp_FL-WCS-INTEG1.cfg
./usr/local/nagios/nagiosql/timeperiods.cfg
./usr/local/nagios/nagiosql/contactgroups.cfg
./usr/local/nagios/nagiosql/hostgroups.cfg
./usr/local/nagios/nagiosql/servicetemplates.cfg
./usr/local/nagios/nagiosql/hosttemplates.cfg
./usr/local/nagios/nagiosql/hosts/FL-WCS-WASDEV.cfg
./usr/local/nagios/nagiosql/hosts/FL-WCS-WAS1.cfg
./usr/local/nagios/nagiosql/hosts/FL-WEB-RSR3.cfg
./usr/local/nagios/nagiosql/hosts/FL-TEST-MULE1.cfg
./usr/local/nagios/nagiosql/hosts/FL-FTP-NEWHIRE2.cfg
./usr/local/nagios/nagiosql/hosts/FL-WEB-IHS1.cfg
./usr/local/nagios/nagiosql/hosts/NY-APP-MULE4.cfg
./usr/local/nagios/nagiosql/hosts/NY-WEB-PROXY2.cfg
./usr/local/nagios/nagiosql/hosts/FL-WEB-SOLR-DEV.cfg
./usr/local/nagios/nagiosql/hosts/FL-WCS-INTEG1.cfg
./usr/local/nagios/nagiosql/hosts/FL-WEB-RSR4.cfg
./usr/local/nagios/nagiosql/hosts/FL-WEB-SKYDEV.cfg
./usr/local/nagios/nagiosql/hosts/FL-MON-NESSUS.cfg
./usr/local/nagios/nagiosql/hosts/FL-WCS-WAS5.cfg
./usr/local/nagios/nagiosql/hosts/FL-WEB-IHS3.cfg
./usr/local/nagios/nagiosql/hosts/FL-WEB-PROXY2.cfg
./usr/local/nagios/nagiosql/hosts/FL-WCS-WAS2.cfg
./usr/local/nagios/nagiosql/hosts/FL-WEB-IHS2.cfg
./usr/local/nagios/nagiosql/hosts/FL-APP-MULE2.cfg
./usr/local/nagios/nagiosql/hosts/FL-WCS-WAS3.cfg
./usr/local/nagios/nagiosql/hosts/fl-web-isproxy.cfg
./usr/local/nagios/nagiosql/hosts/FL-FTP-EDI.cfg
./usr/local/nagios/nagiosql/hosts/FL-WEB-RSR2.cfg
./usr/local/nagios/nagiosql/hosts/FL-DEV-MULE1.cfg
./usr/local/nagios/nagiosql/hosts/FL-MYSQL-RSR1.cfg
./usr/local/nagios/nagiosql/hosts/FL-WCS-INTEG2.cfg
./usr/local/nagios/nagiosql/hosts/FL-MMC-MULE1.cfg
./usr/local/nagios/nagiosql/hosts/localhost.cfg
./usr/local/nagios/nagiosql/hosts/FL-WEB-RSR1.cfg
./usr/local/nagios/nagiosql/hosts/FL-WEB-IHSSTAGE.cfg
./usr/local/nagios/nagiosql/hosts/FL-WCS-WASSTAGE.cfg
./usr/local/nagios/nagiosql/hosts/FL-WEB-SOLR-STAGE.cfg
./usr/local/nagios/nagiosql/hosts/FL-WAS-DEPMGR.cfg
./usr/local/nagios/nagiosql/hosts/FL-WEB-IHSDEV.cfg
./usr/local/nagios/nagiosql/hosts/FL-WCS-WAS4.cfg
./usr/local/nagios/nagiosql/hosts/FL-WCS-DEV-INTEG.cfg
./usr/local/nagios/nagiosql/hosts/FL-MSX-CSRELAY.cfg
./usr/local/nagios/nagiosql/hosts/NY-WEB-PROXY.cfg
./usr/local/nagios/nagiosql/hostextinfo.cfg
./usr/local/nagios/nagiosql/contacts.cfg
./usr/local/nagios/nagiosql/servicegroups.cfg
./usr/local/nagios/nagiosql/commands.cfg
./usr/local/nagios/nagiosql/servicedependencies.cfg
./etc/qstat.cfg
./etc/nagios/objects/nrpe.cfg
./etc/nagios/nrpe.cfg
./etc/nagios/services/FL-WCS-WASDEV.cfg
./etc/nagios/services/FL-WCS-WAS1.cfg
./etc/nagios/services/FL-WEB-RSR3.cfg
./etc/nagios/services/FL-TEST-MULE1.cfg
./etc/nagios/services/FL-APP-MULE1.cfg
./etc/nagios/services/FL-FTP-NEWHIRE2.cfg
./etc/nagios/services/FL-WEB-IHS1.cfg
./etc/nagios/services/FL-WCS-WAS6.cfg
./etc/nagios/services/NY-WEB-PROXY2.cfg
./etc/nagios/services/FL-WEB-SOLR-DEV.cfg
./etc/nagios/services/FL-WCS-INTEG1.cfg
./etc/nagios/services/FL-WEB-RSR4.cfg
./etc/nagios/services/FL-MON-NESSUS.cfg
./etc/nagios/services/FL-WCS-WAS5.cfg
./etc/nagios/services/FL-WEB-IHS3.cfg
./etc/nagios/services/FL-WEB-PROXY2.cfg
./etc/nagios/services/FL-APP-MULE3.cfg
./etc/nagios/services/FL-WCS-WAS2.cfg
./etc/nagios/services/FL-WEB-IHS2.cfg
./etc/nagios/services/FL-APP-MULE2.cfg
./etc/nagios/services/FL-WCS-WAS3.cfg
./etc/nagios/services/FL-WCS-WAS7.cfg
./etc/nagios/services/fl-web-isproxy.cfg
./etc/nagios/services/FL-FTP-EDI.cfg
./etc/nagios/services/FL-WEB-RSR2.cfg
./etc/nagios/services/FL-DEV-MULE1.cfg
./etc/nagios/services/FL-MYSQL-RSR1.cfg
./etc/nagios/services/FL-WCS-INTEG2.cfg
./etc/nagios/services/FL-MMC-MULE1.cfg
./etc/nagios/services/FL-WEB-RSR1.cfg
./etc/nagios/services/FL-WEB-IHSSTAGE.cfg
./etc/nagios/services/FL-WCS-WASSTAGE.cfg
./etc/nagios/services/FL-WEB-SOLR-STAGE.cfg
./etc/nagios/services/FL-WAS-DEPMGR.cfg
./etc/nagios/services/FL-WEB-IHSDEV.cfg
./etc/nagios/services/FL-WCS-WAS4.cfg
./etc/nagios/services/FL-WCS-DEV-INTEG.cfg
./etc/nagios/services/FL-MSX-CSRELAY.cfg
./etc/nagios/services/NY-WEB-PROXY.cfg
./etc/nagios/servers/servers.cfg
Last edited by dwhitfield on Fri Aug 18, 2017 9:07 am, edited 1 time in total.
Reason: code blocks FTW
Reason: code blocks FTW
-
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
Re: Installing Nagios xi on nagios core system
It looks like some of these are duplicates. For example, FL-WCS-WASDEV.pnorth wrote: Not sure if I should be importing all of these to xi
If you post your nagios.cfg file, we should be able to point you to the correct directory. From there, it should be a matter of using the import document with the directory listed in nagios.cfg.