Nectar V0.22 released

Announcements concerning Plugins for Cacti

Moderators: Developers, Moderators

trevorj
Posts: 10
Joined: Thu May 14, 2009 1:19 pm

Post by trevorj »

Figured it out. Great plugin. Thanks!
shd
Cacti User
Posts: 96
Joined: Mon Apr 09, 2007 1:33 pm
Location: Nizhnevartovsk, Russia

Post by shd »

Great plugin, thank you!

Especially the tree items feature.

But I think it lacks ability to skip nodes where no graphs are found. We don't need to see headers without graphs in our reports.

Here are patches which add this feature. You need to upgrade nectar tables after applying these patches.

Patches are made for nectar-v022.
Attachments
nectar_functions.php.patch
(4.01 KiB) Downloaded 189 times
nectar_webapi.php.patch
(3.15 KiB) Downloaded 364 times
setup.php.patch
(1.65 KiB) Downloaded 195 times
CentOS 64-bit, 20Gb RAM, 8xCPU, some virtual datastore. 600+ hosts, 200k+ datasources, avg polltime 45 sec
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Oops. Oversight noted. Reviewing the patches, we don't need an option for skipping empty, we'll just skip them. Updates will be in 0.23. So, the new column is not required. I have a much better way of handling this.

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?
shd
Cacti User
Posts: 96
Joined: Mon Apr 09, 2007 1:33 pm
Location: Nizhnevartovsk, Russia

Post by shd »

TheWitness wrote:Oops. Oversight noted. Reviewing the patches, we don't need an option for skipping empty, we'll just skip them. Updates will be in 0.23.
ok. some notes:
1. unauthorized users can see full reports list. they cannot see or edit any report, but they can send it, duplicate it and so on. i think you should either give access to view it (but with attention to user rights - no edit, but with ability to duplicate it), or hide it completely from those who are not authorized.

2. utf-8 is hardcoded for reports. you should pay attention to codepage settings in "settings" plugin.
CentOS 64-bit, 20Gb RAM, 8xCPU, some virtual datastore. 600+ hosts, 200k+ datasources, avg polltime 45 sec
User avatar
lcano
Cacti User
Posts: 190
Joined: Thu Oct 09, 2008 5:46 pm
Location: Spain

Post by lcano »

Sorry if repeated, but after all changes in this pluging I'm not sure if i get lost.

Downloaded and installed v022 of the pluging. Also readed the doc, and:

1.- Patched aplied:

lognet54:/aplicaciones/cacti-0.8.7e # patch -p1 -N < /aplicaciones/cacti-0.8.7e/plugins/nectar/settings_include_functions.php.patch
patching file plugins/settings/include/functions.php

2.- File html_utility.php updated as I'm running 0.8.7e

Then, I tried to set up the first report, but now images when i try to see the preview tab :-(

Am I missing something?

Anyway, I selected the report and issue SEND IT NOW. I received the email, but no attached :-(

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

Post by mcutting »

Still also not working for me using POSTFIX > Outlook.

Odd thing is:

MSExchange SMTP > Outlook = works fine
POSTFIX > Google Mail = works fine

POSTFIX > Outlook = no dice :(

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

Post by TheWitness »

PM me the email source for your report.

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

Post by TheWitness »

lcano wrote:Sorry if repeated, but after all changes in this pluging I'm not sure if i get lost.

Downloaded and installed v022 of the pluging. Also readed the doc, and:

1.- Patched aplied:

lognet54:/aplicaciones/cacti-0.8.7e # patch -p1 -N < /aplicaciones/cacti-0.8.7e/plugins/nectar/settings_include_functions.php.patch
patching file plugins/settings/include/functions.php

2.- File html_utility.php updated as I'm running 0.8.7e

Then, I tried to set up the first report, but now images when i try to see the preview tab :-(

Am I missing something?

Anyway, I selected the report and issue SEND IT NOW. I received the email, but no attached :-(

Thanks...
Please grab html_utility.php from our SVN repository. There was an issue with the released version relative to a PREG_MATCH.
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: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

shd wrote:
TheWitness wrote:Oops. Oversight noted. Reviewing the patches, we don't need an option for skipping empty, we'll just skip them. Updates will be in 0.23.
ok. some notes:
1. unauthorized users can see full reports list. they cannot see or edit any report, but they can send it, duplicate it and so on. i think you should either give access to view it (but with attention to user rights - no edit, but with ability to duplicate it), or hide it completely from those who are not authorized.

2. utf-8 is hardcoded for reports. you should pay attention to codepage settings in "settings" plugin.
The first one's a bug. The second one you can control in your format file. However, I'll take a look. You might want to update settings to 0.6.

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?
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

TheWitness wrote:PM me the email source for your report.

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

Post by TheWitness »

Your email message includes some injected html that is messing with the format of the HTML. Don't know if that's the issue, but the HTML is way off.

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?
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

TheWitness wrote:Your email message includes some injected html that is messing with the format of the HTML. Don't know if that's the issue, but the HTML is way off.

TheWitness
Yes - we have a signature in Outlook, however, it works fine if I use MSExchange as the SMTP. If I use Postfix, it all falls apart.
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: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

The encoding looks fine now. I think the issue "may" be the html formatting. Let me know if you figure it out.

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?
luckenbach
Posts: 31
Joined: Thu May 07, 2009 9:21 am

Post by luckenbach »

Where does this error stem from

NECTAR: Poller[0] Unable to attach file, all attachments will exceed Max Size

I have reviewed my MTA settings and relay server and neither of which seem to complain, and I have done some digging around inside of the nectar stuff and cannot seem to find any limitations (although it could be looking at me in the face)
luckenbach
Posts: 31
Joined: Thu May 07, 2009 9:21 am

Post by luckenbach »

Also, might want to consider that if the servers status is "disabled" inside of cacti, to not report on it. or atleast give us an option to not report on it :)
Locked

Who is online

Users browsing this forum: No registered users and 3 guests