Nectar plugin won't work correct [Solved]

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
stefanb89
Cacti User
Posts: 84
Joined: Thu Feb 03, 2011 5:41 am
Location: Germany

Nectar plugin won't work correct [Solved]

Post by stefanb89 »

HI,

after 2 hours testing to fix it on my own... i need help.

I have Installed:

0.8.7g Cacti
settings 0.71-1(req for nectar)
pia 2.9

-normally installed then nectar like any other plugin(cp in plugins... installed/enabled)

Now it is said:
1. i have to patch the settings plugin using the attached file (settings_include_functions.php.patch)
1.1 : did this by typing patch -p1 -N < settings_include_functions.php.patch
1.2 : it trhough out following:

Code:
[root@routerback cacti]# patch -p1 -N < plugins/nectar/settings_include_functions.php.patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- plugins/settings/include/functions.php 2009-10-29 23:46:43.000000000 +0100
|+++ plugins/settings/include/functions.php 2009-12-05 22:23:07.000000000 +0100
--------------------------
File to patch:
Skip this patch? [y] y
Skipping patch.
2 out of 2 hunks ignored


2. i get shown the nectar button at top (besides the graph button)
2.1 : if i click on it, only the details are shown to me, so the other tabs are missing
2.2. = Resulsts on error messages cause i can not define the input
Last edited by stefanb89 on Tue Jan 17, 2012 3:10 am, edited 1 time in total.
Cacti: 0.8.7g
PIA: 2.8
rrdtool: 1.2.x
Plugins: Realtime, RRDcleaner
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Nectar plugin won't work correct

Post by gandalf »

stefanb89 wrote: 0.8.7g Cacti
Now it is said:
1. i have to patch the settings plugin using the attached file (settings_include_functions.php.patch)
1.1 : did this by typing patch -p1 -N < settings_include_functions.php.patch
1.2 : it trhough out following:
You are using 087g but try to install a patch that was provided for cacti087e. You should not do so. Please only use patches from the 0.8.7g patch folder. Or, better, use cacti 087i; there's no need for any patch with that release.
R.
stefanb89
Cacti User
Posts: 84
Joined: Thu Feb 03, 2011 5:41 am
Location: Germany

Re: Nectar plugin won't work correct

Post by stefanb89 »

Okay patch did not worked so no porblem,

but still i got the Problem, that Nectar is not working corretly.

1. in 0.87g folder is only the mail.php file
2. i hae installed settings 0.71 so not needed to replace it
3. still if i click on nectar and click add
- it is only showing me Details (not any of the other tabs)

have no errors in my httpd_error_logs

do not know where could be the problem for this.

I also tried an older version but still the same problem

I had disabled and uninstalled all other plugins (except settings and nectar) still the same problem.
Cacti: 0.8.7g
PIA: 2.8
rrdtool: 1.2.x
Plugins: Realtime, RRDcleaner
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Nectar plugin won't work correct

Post by gandalf »

Please show a screenshot of that issue.
Then, there are specific debugging settings under "Settings". Please activate them and find (hopefully) more hints in log/cacti.log
R.
stefanb89
Cacti User
Posts: 84
Joined: Thu Feb 03, 2011 5:41 am
Location: Germany

Re: Nectar plugin won't work correct

Post by stefanb89 »

attached the img file , with my current problem

The debug log does not say much but if needed say and i will send it to you
Attachments
NectarCase.png
NectarCase.png (83.5 KiB) Viewed 3551 times
Cacti: 0.8.7g
PIA: 2.8
rrdtool: 1.2.x
Plugins: Realtime, RRDcleaner
stefanb89
Cacti User
Posts: 84
Joined: Thu Feb 03, 2011 5:41 am
Location: Germany

Re: Nectar plugin won't work correct

Post by stefanb89 »

I think it might be good to know what exactly i have doen to install nectar (in docu like any other plugin 2.8..)

1.download Nectar0.34
2. extract it
3. mv nectar to cacti/plugins/.
3. logged in in cacti pia installed enabled
I do have installed settings 0.71 (so no need to replace mailer.php
4. the existing problem (above img) is given......
Cacti: 0.8.7g
PIA: 2.8
rrdtool: 1.2.x
Plugins: Realtime, RRDcleaner
noname
Cacti Guru User
Posts: 1566
Joined: Thu Aug 05, 2010 2:04 am
Location: Japan

Re: Nectar plugin won't work correct

Post by noname »

>> attached the img file , with my current problem

Tabs except "Details" will be shown after clicked "Create" button..
stefanb89
Cacti User
Posts: 84
Joined: Thu Feb 03, 2011 5:41 am
Location: Germany

Re: Nectar plugin won't work correct

Post by stefanb89 »

Do not know what your post means?!

what do u want to say to me?

I said only Details are shown(look at the img above).

I could need help! plz
Cacti: 0.8.7g
PIA: 2.8
rrdtool: 1.2.x
Plugins: Realtime, RRDcleaner
noname
Cacti Guru User
Posts: 1566
Joined: Thu Aug 05, 2010 2:04 am
Location: Japan

Re: Nectar plugin won't work correct

Post by noname »

stefanb89 wrote:Do not know what your post means?!

what do u want to say to me?

I said only Details are shown(look at the img above).
The image you attached shows:
"you have started creating new report (nectar -> Add), but you don't click 'Create' button yet".

After saved it, you can see all mini-tabs ("Details", "Items", "Preview" and "Events").
stefanb89
Cacti User
Posts: 84
Joined: Thu Feb 03, 2011 5:41 am
Location: Germany

Re: Nectar plugin won't work correct

Post by stefanb89 »

okay my fault , if i click create this is shown.
Attachments
NectarCase2.png
NectarCase2.png (115.43 KiB) Viewed 3513 times
Cacti: 0.8.7g
PIA: 2.8
rrdtool: 1.2.x
Plugins: Realtime, RRDcleaner
stefanb89
Cacti User
Posts: 84
Joined: Thu Feb 03, 2011 5:41 am
Location: Germany

Re: Nectar plugin won't work correct

Post by stefanb89 »

OKAY I GOT MY MIND CLEAR ^^ ..... all works fine , my fault was that i did not have filled any email , name or something else (only clicked create).

Hope i might not have make much trouble ..........


have a nice weekend to al and a happy new year ^^

i will go now and wash my brain xD
Cacti: 0.8.7g
PIA: 2.8
rrdtool: 1.2.x
Plugins: Realtime, RRDcleaner
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest