Nectar V0.25 released

Announcements concerning Plugins for Cacti

Moderators: Developers, Moderators

Locked
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Nectar V0.25 released

Post by gandalf »

Please find Nectar V0.25 released at http://docs.cacti.net/plugin:nectar

Changelog:
--- v0.25 ---
bug: update procedure for nectar_items failed update
bug: minor fix for displaying nectar_item columns

--- v0.24 ---
feature: Allow an administrator to set a preset image type
feature: Allow control of the maximum e-mail message size
feature: Place Items on a separate tab
feature: Allow e-mail send during edit
feature: Allow adding Graphs to Report from Graph Management
feature: Display messages during send/save
feature: Don't allow e-mail sends with insufficient information
bug: Nectar users could see and send others reports
bug: If you pointed your browser to nectar.php or nectar_user.php and wern't logged in errors flowed
bug: Empty branches would attempt to be reported on
bug: Session variables were not always set
bug: If the poller interval is not set, don't assume it is.
Most (All?) code was contributed by Larry "TheWitness" Adams

R.
shd
Cacti User
Posts: 96
Joined: Mon Apr 09, 2007 1:33 pm
Location: Nizhnevartovsk, Russia

Re: Nectar V0.25 released

Post by shd »

gandalf wrote:--- v0.24 ---
bug: Empty branches would attempt to be reported on
That one wasn't fixed. I've upgraded to nectar-v0.26.tgz, and that version shows empty branches.

Oh, I've found the reason. $sql_where is reinitialized after assigning $search_key, so search regexp is simply missed.

Patch attached.
Attachments
nectar_functions_php.patch
$sql_where fix
(1.34 KiB) Downloaded 233 times
CentOS 64-bit, 20Gb RAM, 8xCPU, some virtual datastore. 600+ hosts, 200k+ datasources, avg polltime 45 sec
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

patch is in SVN/trunk. Thanks for sharing
R.
User avatar
zoemu
Cacti User
Posts: 287
Joined: Fri Jul 10, 2009 1:38 pm
Location: Toronto, Canada

Post by zoemu »

I upgraded to the latest version and everything work except for the emailing portion.

This is the error that I get...Did I Missied anything


Problems sending Nectar Report 'ICS Graph Report Test'. Problem with e-mail Subsystem Error is 'SMTP Host rejected from address: 501 5.5.4 Invalid Address '


Thanks

Zoemu
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

zoemu wrote:I upgraded to the latest version and everything work except for the emailing portion.

This is the error that I get...Did I Missied anything


Problems sending Nectar Report 'ICS Graph Report Test'. Problem with e-mail Subsystem Error is 'SMTP Host rejected from address: 501 5.5.4 Invalid Address '


Thanks

Zoemu
That error has nothing to do with Cacti. It's your system configuration.

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?
User avatar
zoemu
Cacti User
Posts: 287
Joined: Fri Jul 10, 2009 1:38 pm
Location: Toronto, Canada

Post by zoemu »

worked with previous versions ....

this is test mail from the cacti system

Code: Select all

Checking Configuration...
Method: SMTP
Creating Message Text...


This is a test message generated from Cacti. This message was sent to test the configuration of your Mail Settings.

Your email settings are currently set as follows

Method: SMTP
Host: mailserver
Port: 25
Authenication: false
 

 


Sending Message...


Success! 

 
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

If you back off, does the problem go away.

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?
User avatar
zoemu
Cacti User
Posts: 287
Joined: Fri Jul 10, 2009 1:38 pm
Location: Toronto, Canada

Post by zoemu »

I was just requesting for some help or advised to the problem, but thank you very much anyways

If your not willing to help, no need to be an ass!

LA :-? :-?
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Post by phalek »

Hi Zoemu,

The error message actually comes from your mail system not cacti. But it looks like somehow it rejects the "FROM" email address, so either you did set something that your mail system does not like, or there's nothing at al set.

By default ( without anything else set ) the settings ( and therefore nectar ) plugin will use either 'Cacti@cactiusers.org' or 'Cacti@' . $_SERVER['HOSTNAME']

Can you check your settings plugin settings to make sure there's a "from" email address set ?


Btw.: As a non-native speaker I would have assumed that TheWitness means to revert/go back to the older version to make sure it is still working there, in case someone changed something with your mail system. Meaning to back off to the older version ...
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
User avatar
zoemu
Cacti User
Posts: 287
Joined: Fri Jul 10, 2009 1:38 pm
Location: Toronto, Canada

Post by zoemu »

Thank you.

Since my last post I have deleted the previous nectar install and replace it with 2.6 clean.

I finally got the reports sent via "Sent report" link. tomorrow I will know if the events are actually sending..

Thank u very much

LA
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

zoemu wrote:I was just requesting for some help or advised to the problem, but thank you very much anyways

If your not willing to help, no need to be an ass!

LA :-? :-?
Phalek is correct. You misunderstand. I asked you to "backoff" the earlier version. I'm generally not an ass (unless you ask my kids).

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?
User avatar
zoemu
Cacti User
Posts: 287
Joined: Fri Jul 10, 2009 1:38 pm
Location: Toronto, Canada

Post by zoemu »

Witness

please accept my deep apologies, :oops: :oops: :oops:

BTW: after re-installing Nectar from the svn folders, it is working ok
Locked

Who is online

Users browsing this forum: No registered users and 0 guests