Search found 7 matches

by jamesb
Fri May 12, 2017 4:43 pm
Forum: Plugin Announcements
Topic: Cacti THOLD alerts to Slack
Replies: 15
Views: 32129

Re: Cacti THOLD alerts to Slack

I may be in over my head here..............how do you forward as an attachment with Sendmail? I'm sorry, I'm a n00b with Sendmail. Not in Sendmail, are you sending THOLD alerts to your email now? Many programs such as Microsoft Outlook allow you to forward as an attachment. If you can save an exist...
by jamesb
Tue May 09, 2017 3:33 pm
Forum: Plugin Announcements
Topic: Cacti THOLD alerts to Slack
Replies: 15
Views: 32129

Re: Cacti THOLD alerts to Slack

@MissouriSpartan, can you forward one of your THOLD alert emails to yourself as an attachment, then open the attachment in a text editor? You should see some lines that have "image" content type. I just want to make sure it's in there somewhere, my guess is it's A) not in there or B) it is...
by jamesb
Tue May 09, 2017 2:59 pm
Forum: Plugin Announcements
Topic: Cacti THOLD alerts to Slack
Replies: 15
Views: 32129

Re: Cacti THOLD alerts to Slack

MissouriSpartan wrote: Still no graphs appearing on the alerts. There are URLs showing up, which we can click on, but the /data/tmp/img directory is not being written to with graph PNG images.
Can you navigate to your Settings tab, Thresholds, and scroll down and confirm Send Alerts as Text is NOT checked?
by jamesb
Mon May 01, 2017 2:15 pm
Forum: Plugin Announcements
Topic: Cacti THOLD alerts to Slack
Replies: 15
Views: 32129

Re: Cacti THOLD alerts to Slack

I am still having issues with the graph's.. as you may have noticed I submitted an issue on your github page. On my server the images are not even showing up in the directory, so I don't know what the issue is there. And from what I just read you wrote it just links to the graph.. so does that link...
by jamesb
Mon May 01, 2017 1:42 pm
Forum: Plugin Announcements
Topic: Cacti THOLD alerts to Slack
Replies: 15
Views: 32129

Re: Cacti THOLD alerts to Slack

This is great!! anyone know if you can use sendmail and SMTP notification? I am using SMTP right now, but would have to switch to sendmail to implement this. Update: never mind I got SendMail installed and working with all my notifications with no problem. Now working on getting the graph's in the ...
by jamesb
Mon May 01, 2017 1:40 pm
Forum: Plugin Announcements
Topic: Cacti THOLD alerts to Slack
Replies: 15
Views: 32129

Re: Cacti THOLD alerts to Slack

I know this is a couple years old, but your script works perfectly!!!! However, I'm trying to figure out how to implement putting graphs directly into the THOLD messages in Slack. I'm a little confused as to what you mean by mapping a directory to Apache. N00b at this, I guess. Help? You need to co...
by jamesb
Mon Jul 04, 2016 6:41 pm
Forum: Plugin Announcements
Topic: Cacti THOLD alerts to Slack
Replies: 15
Views: 32129

Cacti THOLD alerts to Slack

I've written a Python script that will turn THOLD email alerts into Slack rich messages with graph. The script leverages Sendmail aliases and the sendmail restricted shell (smrsh) to pipe the default THOLD email message in. You will need to edit set some global variables (within the script). Please ...