Menu

#4 Poller

open
nobody
5
2014-07-13
2011-05-26
ATGMBH
No

I have all installed as follow:
Installation
To install FAN central
This lets you enter :

fan-centralat the CD’s boot

To install FAN poller
This lets you enter :

fan-pollerat the CD’s boot

To install FAN database
This lets you enter :

fan-databaseat the CD’s boot

Configuration
Permit root login by ssh
We need to temporarily allow root to login via ssh on fan poller and database.

Connect to fan-poller and modify this file /etc/ssh/sshd_config

PermitRootLogin yesRestart sshd service

# service sshd restartMake the same operation on fan-database.

Configure FAN central
Connect to fan-central and run system-config-distributed-monitoring script

First configure acces fan-central to fan-database and answer questions

# system-config-distributed-monitoring
Choose an action to do (addpoller or configdatabase):configdatabase
Give me the IP address of database server :192.168.56.5
Give me the root password of database server :
What's the IP address of fan-central (default 192.168.56.3) :[enter] <== Modify if necessary
[INFO] You must enable root user to login by ssh to database server "192.168.56.5" by ssh.
If this is not the case, edit /etc/ssh/sshd_config on database server and add "PermitRootLogin yes"
Do you want continu ? [y/n], default to [n]:y
Stopping ndo2db: done.
Starting ndo2db: done.
Stopping Centcore
Waiting for centcore to exit . done.
Starting Centcore
Stopping centreon data collector Collector : centstorage
Waiting for centstorage to exit . done.
Starting centstorage Collector : centstorageCheck Centreon on fan-central :

•Connect to http://fan-central/centreon/
•and try to login to nagiosadmin/nagiosadmin
Second add poller fan-poller into fan-central

# system-config-distributed-monitoring
Choose an action to do (addpoller or configdatabase):addpoller
Give me the new Poller Name ? (no space) :fan-poller <== Add a description
Give me the IP address of "fan-poller" :192.168.56.4 <== Add the ip address
Give me the root password of "fan-poller" :
What's the IP address of fan-central (default 192.168.56.3) :[enter] <== Modify if necessary
[INFO] You must enable root user to login by ssh to "fan-poller" by ssh.
If this is not the case, edit /etc/ssh/sshd_config on "fan-poller" and add "PermitRootLogin yes"
Do you want continu ? [y/n], default to [n]:y
Check if nagios user has a ssh key
Nagios user has a ssh key
Create a random password for nagios user on "fan-poller"
Copy ssh key to poller "fan-poller"
Add configuration poller in to centreon database
Stopping Centcore
Waiting for centcore to exit . done.
Starting CentcoreDisable root login by ssh
Connect to fan-poller and modify this file /etc/ssh/sshd_config

PermitRootLogin noRestart sshd service

# service sshd restartMake the same operation on fan-database.

Add a new poller
If you want to add a new poller :

•Install a FAN poller
•Permit root login by ssh
•Run configure_distributed_monitoring script
# system-config-distributed-monitoring addpoller•Disable root login

But after this i can't connect clients to this poller. What is wrong?

Discussion


Log in to post a comment.