Jei forume lankaisi pirmą kartą, kviečiame registruotis ir prisijungti prie diskusijų.
PrisijungtiRegistruotisJei forume lankaisi pirmą kartą, kviečiame registruotis ir prisijungti prie diskusijų.
apt-get update
1.2. Įdiegiame snmpd ir cacti:
apt-get install snmpd cacti cacti-spine
...
----------------------------
While not mandatory, it is highly recommended that you set a password for the
MySQL administrative "root" user.
If this field is left blank, the password will not be changed.
New password for the MySQL "root" user: <root_vartotojo_MySQL_slaptažodis>
Repeat password for the MySQL "root" user: <root_vartotojo_MySQL_slaptažodis>
Configuring libphp-adodb
------------------------
WARNING: include path for php has changed!
libphp-adodb is no longer installed in /usr/share/adodb. New installation path
is now /usr/share/php/adodb.
Please update your php.ini file. Maybe you must also change your web-server
configuraton.
Configuring cacti
-----------------
Please select the web server for which Cacti should be automatically configured.
Select "None" if you would like to configure the web server manually.
1. apache2 2. lighttpd 3. None
Web server: 1
...
Configuring cacti
-----------------
The cacti package must have a database installed and configured before it can be used.
This can be optionally handled with dbconfig-common.
If you are an advanced database administrator and know that you want to perform this
configuration manually, or if your database has already been installed and configured, you
should refuse this option. Details on what needs to be done should most likely be
provided in /usr/share/doc/cacti.
Otherwise, you should probably choose this option.
Configure database for cacti with dbconfig-common?
Configure database for cacti with dbconfig-common? yes
Please provide the password for the administrative account with which this package should
create its MySQL database and user.
Password of the database's administrative user: <root_vartotojo_MySQL_slaptažodis>
Please provide a password for cacti to register with the database server. If left blank,
a random password will be generated.
MySQL application password for cacti: <cacti_vartotojo_slaptažodis>
Password confirmation: <cacti_vartotojo_slaptažodis>
...
nano /etc/snmp/snmpd.conf
# Listen for connections from the local system only
#agentAddress udp:127.0.0.1:161
# Listen for connections on all interfaces (both IPv4 *and* IPv6)
agentAddress udp:161,udp6:[::1]:161
rocommunity secret <Cacti_serverio_IP_adresas>
2. Cacti konfigūravimas per naršyklęhttp://Mūsų_serverio_IP_adresas/cacti
http://Domenas.lt/cacti
User Name: admin
Password: admin
SNMP Version: Version 2
SNMP Community: secret
Poller Type: spine
Poller Interval: Every Minute
service snmpd restart