Nectar Plugin

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Locked
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Nectar Plugin

Post by mcutting »

Looks like I may be the first to officially try this :)

Found it in the new plugins section, and thought I'd give it a whirl. I think I have found a bug.....:(

I use Exchange and Outlook, and the inline images don't get displayed. All I get is a text attachment of the HTML, and other stuff that can't be displayed. However, images sent by THOLD seem to work fine.

Also, the older "REPORTS" plugin seems to have no issues with the inline images. Any thoughts ??

Thanks
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please post settings of the reports (e.g. PNG or JPEG, timespan etc.)
Is the mail broken even if SEND NOW is used?
What does the preview look like?
The plugin is very chatty currently. So you may find log entries tagged "NECTAR" that will help debugging.
R.
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

gandalf wrote:Please post settings of the reports (e.g. PNG or JPEG, timespan etc.)
Is the mail broken even if SEND NOW is used?
What does the preview look like?
The plugin is very chatty currently. So you may find log entries tagged "NECTAR" that will help debugging.
R.
Email is broken no matter if the poller_bottom hook sends it, or if I choose "SEND NOW" - see enclosed
Preview looks fine - see enclosed
Settings of REPORTS also enclosed
Email appears to have an attachment - was this tested on Lotus Notes ?
Attachments
ATT2031317.txt
(36.74 KiB) Downloaded 261 times
Report Selection.JPG
Report Selection.JPG (127.39 KiB) Viewed 9354 times
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

mcutting wrote:Email is broken no matter if the poller_bottom hook sends it, or if I choose "SEND NOW" - see enclosed
Preview looks fine - see enclosed
Settings of REPORTS also enclosed
Email appears to have an attachment - was this tested on Lotus Notes ?
Please verify using a _working_ email program :x
In fact, we are facing the same issues with Notes in my company. Did it work with notes before, using REPORTS?
R.
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

We don't use Notes..

Can confirm that NECTAR doesn't work with Exchange, but the older REPORTS plugin does.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
User avatar
lcano
Cacti User
Posts: 190
Joined: Thu Oct 09, 2008 5:46 pm
Location: Spain

Post by lcano »

Not sure if this can give you more information.

I am also checking the pluging, and I am able to send reports via email. I receive the report perfectly with Exchange protocol and Outlook mail program.

The only thing is that images are attached in the email, not inline the mail. Having a look to the source code of the email received, I can see this:

Code: Select all

<h3><center>Test REPORT Nectar 1</center></h3><ul><br>
Is this the correct behaviour? I mean, images are sent only as attached files or they should also be inline the mail?

--------------------

Cacti 0.8.7e - SPINE - PA 2.5
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

lcano wrote:Is this the correct behaviour? I mean, images are sent only as attached files or they should also be inline the mail?
No, except on a BlackBerry.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
jhe
Posts: 3
Joined: Wed Dec 23, 2009 3:57 pm

can not download this plugin

Post by jhe »

TheWitness wrote:
lcano wrote:Is this the correct behaviour? I mean, images are sent only as attached files or they should also be inline the mail?
No, except on a BlackBerry.

TheWitness

Can someone check why this link stuck?

http://docs.cacti.net/_media/plugin:nec ... ache=cache
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Linked fine for me. tgz file with all the trimmings.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
jhe
Posts: 3
Joined: Wed Dec 23, 2009 3:57 pm

Strange

Post by jhe »

TheWitness wrote:Linked fine for me. tgz file with all the trimmings.
I can only get 25K data, here are details


[root@domU-12-31-39-07-8E-02 plugins]# wget http://docs.cacti.net/_media/plugin:nec ... 3Anectar&c ache=cache
[1] 24665
[root@domU-12-31-39-07-8E-02 plugins]# --2009-12-23 16:15:21-- http://docs.cacti.net/_media/plugin:nectar-v0.11.tgz? id=plugin%3Anectar
Resolving docs.cacti.net... 209.124.60.170
Connecting to docs.cacti.net|209.124.60.170|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 25570 (25K) [application/octet-stream]
Saving to: `plugin:nectar-v0.11.tgz?id=plugin:nectar'

100%[===========================================================================>] 25,570 --.-K/s in 0.05s

2009-12-23 16:15:22 (470 KB/s) - `plugin:nectar-v0.11.tgz?id=plugin:nectar' saved [25570/25570]


[1]+ Done wget http://docs.cacti.net/_media/plugin:nec ... n%3Anectar
[root@domU-12-31-39-07-8E-02 plugins]#
[root@domU-12-31-39-07-8E-02 plugins]#
[root@domU-12-31-39-07-8E-02 plugins]# ls -l
total 600
-rw-r--r-- 1 root root 44 Dec 3 17:58 index.php
-rw-r--r-- 1 root root 94 Dec 3 18:10 index.php.rej
-rw-r--r-- 1 root root 25570 Dec 21 09:55 plugin:nectar-v0.11.tgz?id=plugin:nectar
drwxr-xr-x 10 root root 4096 May 3 2009 reportit
-rw-r--r-- 1 root root 528636 May 3 2009 reportit_0.7.1.tar.gz
drwxr-xr-x 2 root root 4096 Dec 22 18:06 reportlog
drwxr-xr-x 6 root root 4096 Dec 22 12:54 reports
drwxr-xr-x 3 root root 4096 Dec 3 19:48 settings
-rw-r--r-- 1 root root 16823 Nov 13 15:01 settings-0.5.tar.gz
drwxr-xr-x 5 root root 4096 Dec 3 19:03 thold
[root@domU-12-31-39-07-8E-02 plugins]#
[root@domU-12-31-39-07-8E-02 plugins]#
[root@domU-12-31-39-07-8E-02 plugins]#
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Pllugin seems to work with Exchange and Outlook, but images are sent as attachments, and not inline. Am using Postfix on my Cacti box, which doesn't seem to work too well at all
I get the same results I posted earlier :(
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
jhe
Posts: 3
Joined: Wed Dec 23, 2009 3:57 pm

Does this plugin works with SMTP?

Post by jhe »

I wonder if this plugin can only use PHP Mailer to send email? I tried to run SMTP and no luck.
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Tried already - didn't seem to work for me
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

I will audit, but right now I have lot's of other priorities.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Ok. I can confirm that this plugin does "work" when using MSExchange. However, as a previous poster commented, the images are sent as attachments, and not inline.

Plugin doesn't seem to work too well at all using POSTFIX, which is what I use on my *nix based CACTI host.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
Locked

Who is online

Users browsing this forum: No registered users and 2 guests