HI!
We have two nagios servers for monitoring network devices and servers respectively..Is it possible to have these two in single machine with different path , so that i can have individual configurations and map details...
It should be like this below.
http://10.10.10.1/servers
http://10.10.10.1/network
Is it possible..?
Multiple Nagios in one Server
-
- Posts: 6
- Joined: Wed May 29, 2013 10:52 pm
Re: Multiple Nagios in one Server
Install nagios under 2 different directory. Then in Apache server setup path corresponding to each path. As long as your server can handle the load, this should be achievable
-
- Posts: 15
- Joined: Wed May 22, 2013 3:38 am
Re: Multiple Nagios in one Server
Ok..How about the service...will have only /etc/init.d/nagios . so how do we restart the service if we doing any changes in one nagios.
Re: Multiple Nagios in one Server
The init script should start, stop, restart, and reload all copies of Nagios.
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Multiple Nagios in one Server
You can either use the default one, or you could create your own init script, or service.One last thing you should check is your init script (if you're using one). The init script should start, stop, restart, and reload all copies of Nagios (if that's what you want it to do).
-
- Posts: 15
- Joined: Wed May 22, 2013 3:38 am
Re: Multiple Nagios in one Server
I know basic scripts only not much more...Can you help me to create the script..
First nagios i have installed in the path, /usr/local/nagios, this will have default service /etc/init.d/nagios. let it be, dont have any issue...but for the
Second nagios, i will install in the path , /usr/local/selva, how do we create service script for this as /etc/init.d/selva.
First nagios i have installed in the path, /usr/local/nagios, this will have default service /etc/init.d/nagios. let it be, dont have any issue...but for the
Second nagios, i will install in the path , /usr/local/selva, how do we create service script for this as /etc/init.d/selva.
-
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Multiple Nagios in one Server
You will have to look at how service init scripts work in the distro you are using, either Debain based, or RHEL based.
RHEL/CENTOS example:
http://support.suso.com/supki/CentOS_In ... up_scripts
RHEL/CENTOS example:
http://support.suso.com/supki/CentOS_In ... up_scripts