Nectar 0.21 Released - Major Enhancement

Announcements concerning Plugins for Cacti

Moderators: Developers, Moderators

spoonman
Cacti User
Posts: 305
Joined: Tue May 03, 2005 8:54 am
Location: GA

Post by spoonman »

Ok...just checking on the nectar settings...tab is perfect. No I was asking about the user management portion really. I setup the guest acct with the settings i want to give out to other people loggin in. I had just the nectar plugin user checked and anyone using nectar could hit the tab but anything in the tab would get access denied immediately and get logged out of cacti. I am using LDAP auth. for all guests loggin in. If I give them the admin rights to the nectar plugin everthing is cool.
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Ok. Going to have to look into it.

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
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

I'm dropping in again. Going to commit at least V0.21+
R.
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Was waiting on JP to make some commits.

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
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Linegod wrote:I still don't like my changes to Settings ...
Didn't he want to go for "Settings"? That's perfectly fine, no collision to be expected. Going to commit quite soon.
R.
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Fine.
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
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

TheWitness wrote:Fine.
Committed. The permission issue was not tackled. Please tell me when you suppose it's complete; I'll publish it then
R.
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Waiting on Jeff. I'll bug him and see if he just wants me to address the html e-mail issue. If so, I'll fix both.

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
Linegod
Developer
Posts: 1626
Joined: Thu Feb 20, 2003 10:16 am
Location: Canada
Contact:

Post by Linegod »

Change to Settings wasn't required.

Skipped changing text format, decided to drop it completely:

r668 in trunk.

Code: Select all

Index: nectar_functions.php                                                               
===================================================================                       
--- nectar_functions.php        (revision 667)                                            
+++ nectar_functions.php        (working copy)                                            
@@ -886,14 +886,15 @@                                                                     
                $text['text'] = strip_tags($message);                                     
        } else {                                                                          
                $text['html'] = $message;                                                 
-               $text['text'] = strip_tags(str_replace('<br>', "\n", $message));          
-       }                                                                                 
+        $message_text = "An HTML capable email reader is required to view Nectar emails";
+        $text['text'] = $message_text;                                                   
+}                                                                                        

        /* send the e-mail */
        $v = nectar_version();
        $Mailer->header_set('X-Mailer', 'Cacti-Nectar-v' . $v['version']);
        $Mailer->header_set('User-Agent', 'Cacti-Nectar-v' . $v['version']);
-       if ($Mailer->send($text) == false) {
+    if ($Mailer->send($text) == false) {
                print "ERROR: " . $Mailer->error() . "\n";
                return $Mailer->error();
        }
Index: formats/cacti_group.format
===================================================================
--- formats/cacti_group.format  (revision 667)
+++ formats/cacti_group.format  (working copy)
@@ -1,5 +1,8 @@
 # Description: Cacti Group Format
 <html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+</head>
 <body>
 <style type='text/css'>
--
Live fast, die young
You're sucking up my bandwidth.

J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
Locked

Who is online

Users browsing this forum: No registered users and 0 guests