![]() */5 * * * * sudo nano /etc/apache2/sites-available/nf sudo nano /etc/cron.d/cactiĪdd the following scheduler entry in the crontab so that Cacti can poll every five minutes. ![]() * make sure these values reflect your actual database/host/user/password */Ĭreate a crontab file to schedule the polling job. sudo mysql -u root -p cacti < /opt/cacti/cacti.sqlĮdit the Cacti configuration file to specify the database type, database name, hostname, user, and password information. Import the default Cacti database data to the newly created cacti database. Tar command and move the extracted files to /opt directory. Latest version of the Cacti using the wget command. GRANT SELECT ON mysql.time_zone_name TO privileges sudo mysql -u root -p mysql < /usr/share/mysql/mysql_test_data_timezone.sql So, we will import the mysql_test_data_timezone.sql to mysql database first. The newly created user (cactiuser) should have access to the mysql.time_zone_name table.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |