Now, we need to access the Cacti server dashboard and add the Linux computer as a Host.
Open your browser and enter the IP address of your web server plus /cacti.
In our example, the following URL was entered in the Browser:
On the login screen, use the default username and default password.
• Default Username: admin
• Default Password: admin
After a successful login, you will be sent to the Cacti Dashboard.
On the Cacti dashboard screen, access the Configuration menu and select the Settings option.
On the Settings screen, you need to access the Mail/Reporting/DNS tab.
On the Emailing Options, perform the following configuration and click on the Save button.
• Notify Primary Admin of Issues - Yes
• Test Email - An email address to test if the Cacti email feature is working.
• Mail Services - SMTP
• Ping Mail Server - No
• From Email Address - Your Gmail address
• From Name - A name or a description.
• Word Wrap - 120
On the SMTP Options area, perform the following configuration and click on the Save button.
• SMTP Hostname - smtp.gmail.com
• SMTP Port - 587
• SMTP Username - The username of the e-mail account that will send Cacti notifications.
• SMTP Password - The password of the e-mail account that will send Cacti notifications.
• SMTP Security - TLS
• SMTP Timeout - 10
On the Emailing Options, click on the Send a Test email option.
Cacti will now try to send a test message.
Here is an example of the message sent by Cacti.
Congratulations! You have configured the Cacti server e-mail notification