Need help in setting up distributed monitoirng
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Need help in setting up distributed monitoirng
Are there any further items showing up in the Admin -> Unconfigured Objects.
It could be possible that some of them were added and additional items send their data after the initial run of the wizard.
It could be possible that some of them were added and additional items send their data after the initial run of the wizard.
Re: Need help in setting up distributed monitoirng
Run the following to change ownership of the passiveobject wizard to nagios
Code: Select all
chown -R nagios:nagios /usr/local/nagiosxi/html/includes/configwizards/passiveobject/
completed the above command
then try removing the hosts from Nagios and re-add from unconfigured objects
In master i have remove these from unconfigured objects and not getting new data under it from slave.Moreover I could see the same hosts in home screen in host details and servcie details.
Code: Select all
chown -R nagios:nagios /usr/local/nagiosxi/html/includes/configwizards/passiveobject/
completed the above command
then try removing the hosts from Nagios and re-add from unconfigured objects
In master i have remove these from unconfigured objects and not getting new data under it from slave.Moreover I could see the same hosts in home screen in host details and servcie details.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Need help in setting up distributed monitoirng
If you add a new service to the slave, it will appear in unconfigured objects because that particular service doesn't exist on the master yet.ravish78 wrote:Moreover I could see the same hosts in home screen in host details and servcie details.
Re: Need help in setting up distributed monitoirng
I am not getting all the servers and services in unconfigured objects in master.It is missing about 60% of servers and services .
Can you help me in getting all of them.
These are existing services which are working fine in master but could not get the data into slave.
Can you help me in getting all of them.
These are existing services which are working fine in master but could not get the data into slave.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Need help in setting up distributed monitoirng
Depending on the amount of data we are sending you could be hitting a per_source_limit in xinetd
I would run the following for a bit to see if you are seeing any errors
What you will need to do is edit the /etc/xinetd.d/nsca file on the XI server to include the following lines
add them between { and }
Then restart xinetd
I would run the following for a bit to see if you are seeing any errors
Code: Select all
tail -f /var/log/messages|grep nscaWhat you will need to do is edit the /etc/xinetd.d/nsca file on the XI server to include the following lines
Code: Select all
per_source = UNLIMITED
instances = UNLIMITEDThen restart xinetd
Code: Select all
service xinetd restartRe: Need help in setting up distributed monitoirng
Still it doent show all the data.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Need help in setting up distributed monitoirng
do you have an only_from directive in the /etc/xinetd.d/nsca ?
And if so, are all the sending servers in the list?
Also, are there currently any items in Admin -> Unconfigured Objects?
And if so, are all the sending servers in the list?
Also, are there currently any items in Admin -> Unconfigured Objects?
Re: Need help in setting up distributed monitoirng
Post we have around 200+ servers in slave and that might be the cause of getting all the data to master.It is taking lot of time to add all services .
So we to change setting to make this slave as master now and other servers which contains few servers as slave.Later we figured out that nsca version is different in these two.
Can you please let me know how to uninstall nsca or updagrade nsca so that we will match both of them and try.
Slave is 2.7.2 and master is 2.9.1.
So we to change setting to make this slave as master now and other servers which contains few servers as slave.Later we figured out that nsca version is different in these two.
Can you please let me know how to uninstall nsca or updagrade nsca so that we will match both of them and try.
Slave is 2.7.2 and master is 2.9.1.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Need help in setting up distributed monitoirng
I would recommend running the following on the master
There is some known backwards compatibility issues with 2.9.1 that we are trying to work out...
Code: Select all
wget http://assets.nagios.com/downloads/nagiosxi/agents/nsca-downgrade.tar.gz
tar xvf nsca-downgrade.tar.gz
cd nsca
./upgradeRe: Need help in setting up distributed monitoirng
Downgraded and verified all the settings.now bith are having same version.
We still cannot see any servers in unconfigured objects.
in messages file on slave server we see that connections are happening but it prompts an error
automount[19795]: key "nagios" not found in map source(s)
We still cannot see any servers in unconfigured objects.
in messages file on slave server we see that connections are happening but it prompts an error
automount[19795]: key "nagios" not found in map source(s)