Customization for syslog plugin emails

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
User avatar
egarnel
Cacti Pro User
Posts: 708
Joined: Thu Nov 21, 2002 8:55 am
Location: Austin, TX

Customization for syslog plugin emails

Post by egarnel »

I have several alerts coming in from 3 different Cacti servers and it became too hard to tell them apart.

Here is a quick edit to change the email sender & subject in syslog ver 0.4

in <cacti dir>/plugins/haloe/functions.php

edit lines 83 & 84 to reflect your email

Code: Select all

$mail->From = "EventAlert@monitor2.yoursite.com";
                $mail->FromName = "Monitor2 Event Alerter";
Cacti1 OS: CentOS 5.6 | 300+ devices
Cacti2 OS: CentOS 5.6 | 300+ devices
King of the Elves
Local Anarchists Union #427
"Anarchism is founded on the observation that since few men are wise enough to rule themselves, even fewer are wise enough to rule others." -Edward Abbey
User avatar
streaker69
Cacti Pro User
Posts: 712
Joined: Mon Mar 27, 2006 10:35 am
Location: Psychic Amish Network Administrator

Post by streaker69 »

Thank you, I was just looking for how to do that this morning and got distracted with another issue.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests