Nectar Plugin

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

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

Post by gandalf »

Published v0.12, thanks to tontonitch
R.
User avatar
zoemu
Cacti User
Posts: 287
Joined: Fri Jul 10, 2009 1:38 pm
Location: Toronto, Canada

Post by zoemu »

zoemu wrote:Hi:

I have Nectar installed properly but whebn creating email report to be sent the following dates are being display on upcoming events 1970 ???

Code: Select all


08/01/1970 07:00:00 - Thursday 
15/01/1970 19:00:00 - Thursday 
23/01/1970 07:00:00 - Friday 
30/01/1970 19:00:00 - Friday 
07/02/1970 07:00:00 - Saturday 
14/02/1970 19:00:00 - Saturday 
22/02/1970 07:00:00 - Sunday 
01/03/1970 19:00:00 - Sunday 
09/03/1970 07:00:00 - Monday 
16/03/1970 19:00:00 - Monday 
24/03/1970 07:00:00 - Tuesday 
31/03/1970 19:00:00 - Tuesday 
08/04/1970 07:00:00 - Wednesday 
15/04/1970 19:00:00 - Wednesday 
Mi cacti is installed on Windows......
I have installed the new version 0.12 but my timing under Upcoming Events still is calculated for 1970.....Thank you....
User avatar
zoemu
Cacti User
Posts: 287
Joined: Fri Jul 10, 2009 1:38 pm
Location: Toronto, Canada

Post by zoemu »

zoemu wrote:
zoemu wrote:Hi:

I have Nectar installed properly but whebn creating email report to be sent the following dates are being display on upcoming events 1970 ???

Code: Select all


08/01/1970 07:00:00 - Thursday 
15/01/1970 19:00:00 - Thursday 
23/01/1970 07:00:00 - Friday 
30/01/1970 19:00:00 - Friday 
07/02/1970 07:00:00 - Saturday 
14/02/1970 19:00:00 - Saturday 
22/02/1970 07:00:00 - Sunday 
01/03/1970 19:00:00 - Sunday 
09/03/1970 07:00:00 - Monday 
16/03/1970 19:00:00 - Monday 
24/03/1970 07:00:00 - Tuesday 
31/03/1970 19:00:00 - Tuesday 
08/04/1970 07:00:00 - Wednesday 
15/04/1970 19:00:00 - Wednesday 
Mi cacti is installed on Windows......
I have installed the new version 0.12 but my timing under Upcoming Events still is calculated for 1970.....Thank you....
Hi Guys:

I've just Notice that even though Stamp date and time are showing 1970s for upcoming events. The emails with the report are being sent correctly after the Initial time is configure on the report page.

I had two daily reports emailed back to me at the same time. I think the problem is Unix format against Windows Format.

Anyways not a rush on this since now just became a cosmetic fix under windows.

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

Post by gandalf »

Which locale are you using?
R
User avatar
zoemu
Cacti User
Posts: 287
Joined: Fri Jul 10, 2009 1:38 pm
Location: Toronto, Canada

Post by zoemu »

What Do You mean locale....!

- One More Thing.... If you add 5 different graphs to the report. the preview mode shows all 5 differents graphs. But , when opening the email sent by the system, the first graph on the list is displayed 5 times...


LA
kevin_taco
Posts: 37
Joined: Fri Feb 11, 2005 5:32 pm

Post by kevin_taco »

Running v0.12 and having the same issue as well. When I setup a report with 3 graphs, the first graph is displayed three times in the email and the other two are as attachments.

The preview looks fine, this issue manifests itself in the emailed report.

Please let me know if you need further info.
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

The lastest versions has several "little" issues. I'm working on a project that will allow me to make several fixes for this while Gandalf focuses on 088.

When a new release is ready, I'll work with him to publish.

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 »

zoemu wrote:
zoemu wrote:
zoemu wrote:Hi:

I have Nectar installed properly but whebn creating email report to be sent the following dates are being display on upcoming events 1970 ???

Code: Select all


08/01/1970 07:00:00 - Thursday 
15/01/1970 19:00:00 - Thursday 
23/01/1970 07:00:00 - Friday 
30/01/1970 19:00:00 - Friday 
07/02/1970 07:00:00 - Saturday 
14/02/1970 19:00:00 - Saturday 
22/02/1970 07:00:00 - Sunday 
01/03/1970 19:00:00 - Sunday 
09/03/1970 07:00:00 - Monday 
16/03/1970 19:00:00 - Monday 
24/03/1970 07:00:00 - Tuesday 
31/03/1970 19:00:00 - Tuesday 
08/04/1970 07:00:00 - Wednesday 
15/04/1970 19:00:00 - Wednesday 
Mi cacti is installed on Windows......
I have installed the new version 0.12 but my timing under Upcoming Events still is calculated for 1970.....Thank you....
Hi Guys:

I've just Notice that even though Stamp date and time are showing 1970s for upcoming events. The emails with the report are being sent correctly after the Initial time is configure on the report page.

I had two daily reports emailed back to me at the same time. I think the problem is Unix format against Windows Format.

Anyways not a rush on this since now just became a cosmetic fix under windows.

Thanks
OMG duh! I figured out the problem with the dates on the Upcoming events. I had the date format setup backards under cacti settings

I was using dd/mm/yyyy once I changed to yyyy/mm/date.. it was fine

what a "brain gas" that was ......

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

Post by gandalf »

Oops. I was under the impression to take that setting into account (but without testing, as is obvious now). So this should change with a next, fixed version
R.
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

I believe that I have resolved the root cause of the multiple images issue. However, still testing.

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
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Ok, I have confirmed the issue. Still doing other testing before a commit.

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
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Someone please test this out and provide feedback. I'm not done yet, but closer.

TheWitness
Attachments
nectar.tar.gz
(25.2 KiB) Downloaded 135 times
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 »

It took me a while to get used to the new fomat .. but it seems to be working fine, except for the following notice that pops up after saving a Report under the details TAB.
Notice: Undefined index: tab in G:\cacti\plugins\nectar\nectar.php on line 523
You can solved it by adding the following entry right above line 523..and the closing bracket right after the end of the case statement roughly line 572

Code: Select all

 if (isset ($_GET["tab"])) {
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

zoemu wrote:It took me a while to get used to the new fomat .. but it seems to be working fine, except for the following notice that pops up after saving a Report under the details TAB.
Notice: Undefined index: tab in G:\cacti\plugins\nectar\nectar.php on line 523
You can solved it by adding the following entry right above line 523..and the closing bracket right after the end of the case statement roughly line 572

Code: Select all

 if (isset ($_GET["tab"])) {
Is the new format better/worse?
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 »

it's better, just take a few moments to get used to
Locked

Who is online

Users browsing this forum: No registered users and 1 guest