Migrating Nagios core 4.0.8 open source to Nagios XI 5.6.10
Posted: Tue Feb 18, 2020 5:03 pm
Hello,
I'm migrating our monitoring system from Nagios core 4.0.8 open source version to Nagios XI 5.6.10 supported version.
In the open source version we define all the services on the server on which Nagios is installed. Whereas in the Nagios XI version I have to create multiple .cfg files one foe each type of service on each and every server that we monitor. Instead I'm looking for a way to consolidate all these services into one single and place it on the server where Nagios is installed and manage the files from there similar to Nagios core version.
To make it simple below is what I have in current system and what I want to do in the supported version.
Current System setup:-
1) Nagios installed on acmutil server
2) Configuration file for all types of services is placed on acmutil as shown below. For each service we define the list of hosts to be monitored.
define service{
use cms-generic-service-ops
hosts ecmeventsvc2,ecmtasksrchapp2,ecmp8opssvc2,ecmdocsvc2,ecmtaskopssvc2,ecmdocapijboss2,ecmdocopssvc2,content3jboss5,content3jboss6,ecmdocsconvsvc1,ecmdocsconvsvc2,ecmcasecreationsvc1,ecmcasecreationsvc2,ecmfsbdocopsapi1,ecmfsbdocopsapi2
#servicegroups http-check
service_description http status
check_command check_web_ping_wrapper
}
define service{
use cms-generic-service-nopage
hosts fstroycmscmx01,fstroycmscmx02,fstroycmscmx03,fstroycmscmx04,fstroycmscmx05,fstroycmscmx06,fstroycmscmx07,fstroytimgcmx11
#servicegroups http-check
service_description http status
check_command check_web_ping_wrapper
}
3) Nothing is defined are no .cfg files are placed on the hosts.
Nagios XI 5.6.10 setup:-
1) Nagios is installed on unagt01
2) Inorder to monitor /export and /export/logs file systems I have to place the .cfg files on each of the hosts that we want to monitor.
To eliminate adding same config files on multiple hosts, please suggest me how can I do this migration process without editing multiple files. Also please suggest me if there is a way that to create only one config file and make it accessible from all the hosts.
If possible I would like to have a WebEx on this.
Thank you,
Supriya
I'm migrating our monitoring system from Nagios core 4.0.8 open source version to Nagios XI 5.6.10 supported version.
In the open source version we define all the services on the server on which Nagios is installed. Whereas in the Nagios XI version I have to create multiple .cfg files one foe each type of service on each and every server that we monitor. Instead I'm looking for a way to consolidate all these services into one single and place it on the server where Nagios is installed and manage the files from there similar to Nagios core version.
To make it simple below is what I have in current system and what I want to do in the supported version.
Current System setup:-
1) Nagios installed on acmutil server
2) Configuration file for all types of services is placed on acmutil as shown below. For each service we define the list of hosts to be monitored.
define service{
use cms-generic-service-ops
hosts ecmeventsvc2,ecmtasksrchapp2,ecmp8opssvc2,ecmdocsvc2,ecmtaskopssvc2,ecmdocapijboss2,ecmdocopssvc2,content3jboss5,content3jboss6,ecmdocsconvsvc1,ecmdocsconvsvc2,ecmcasecreationsvc1,ecmcasecreationsvc2,ecmfsbdocopsapi1,ecmfsbdocopsapi2
#servicegroups http-check
service_description http status
check_command check_web_ping_wrapper
}
define service{
use cms-generic-service-nopage
hosts fstroycmscmx01,fstroycmscmx02,fstroycmscmx03,fstroycmscmx04,fstroycmscmx05,fstroycmscmx06,fstroycmscmx07,fstroytimgcmx11
#servicegroups http-check
service_description http status
check_command check_web_ping_wrapper
}
3) Nothing is defined are no .cfg files are placed on the hosts.
Nagios XI 5.6.10 setup:-
1) Nagios is installed on unagt01
2) Inorder to monitor /export and /export/logs file systems I have to place the .cfg files on each of the hosts that we want to monitor.
To eliminate adding same config files on multiple hosts, please suggest me how can I do this migration process without editing multiple files. Also please suggest me if there is a way that to create only one config file and make it accessible from all the hosts.
If possible I would like to have a WebEx on this.
Thank you,
Supriya