Nectar not generating graph
Moderators: Developers, Moderators
Nectar not generating graph
posted on right place
Last edited by linux83 on Fri Oct 14, 2011 2:46 pm, edited 1 time in total.
Cisco Networking
*LeArN To KnOw*
*LeArN To KnOw*
Re: Nectar not generating graph
Last edited by linux83 on Fri Oct 14, 2011 2:47 pm, edited 1 time in total.
Cisco Networking
*LeArN To KnOw*
*LeArN To KnOw*
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Nectar not generating graph
Run this:
Code: Select all
select * from settings where name='path_webroot';
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?
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?
Re: Nectar not generating graph
sorry i repost this in http://forums.cacti.net/viewtopic.php?f=19&t=44865 as plugin place, could you pleaseTheWitness wrote:Run this:
Code: Select all
select * from settings where name='path_webroot';
cancel one.
i don't get this:
select * from settings where name='path_webroot';
which setting, there no path under setting for Nectar, which file i should modified.
thanks alot.
linux83
Cisco Networking
*LeArN To KnOw*
*LeArN To KnOw*
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Nectar not generating graph
You need not modify any files, just correct your settings. This issue is strange, like you have some jailed install or something.
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?
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?
Re: Nectar not generating graph
i reboot the the Server and re-create the report again but the same result i got this error from apache error log:
[Fri Oct 14 23:04:26 2011] [error] [client 192.168.0.6] PHP Warning: include_once(/var/www/cacti/plugins/settings/include/mailer.php): failed to open stream: No such file or directory in /var/www/cacti/plugins/nectar/nectar_functions.php on line 1051, referer: http://192.168.0.7/cacti/plugins/nectar ... ab=preview
[Fri Oct 14 23:04:26 2011] [error] [client 192.168.0.6] PHP Warning: include_once(): Failed opening '/var/www/cacti/plugins/settings/include/mailer.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/cacti/plugins/nectar/nectar_functions.php on line 1051, referer: http://192.168.0.7/cacti/plugins/nectar ... ab=preview
[Fri Oct 14 23:04:26 2011] [error] [client 192.168.0.6] PHP Fatal error: Class 'Mailer' not found in /var/www/cacti/plugins/nectar/nectar_functions.php on line 1064, referer: http://192.168.0.7/cacti/plugins/nectar ... ab=preview
in Prerequisite it mention that " You must patch the settings plugin using the attached patch"
i don't find any patch there as well.
linux83
[Fri Oct 14 23:04:26 2011] [error] [client 192.168.0.6] PHP Warning: include_once(/var/www/cacti/plugins/settings/include/mailer.php): failed to open stream: No such file or directory in /var/www/cacti/plugins/nectar/nectar_functions.php on line 1051, referer: http://192.168.0.7/cacti/plugins/nectar ... ab=preview
[Fri Oct 14 23:04:26 2011] [error] [client 192.168.0.6] PHP Warning: include_once(): Failed opening '/var/www/cacti/plugins/settings/include/mailer.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/cacti/plugins/nectar/nectar_functions.php on line 1051, referer: http://192.168.0.7/cacti/plugins/nectar ... ab=preview
[Fri Oct 14 23:04:26 2011] [error] [client 192.168.0.6] PHP Fatal error: Class 'Mailer' not found in /var/www/cacti/plugins/nectar/nectar_functions.php on line 1064, referer: http://192.168.0.7/cacti/plugins/nectar ... ab=preview
in Prerequisite it mention that " You must patch the settings plugin using the attached patch"
i don't find any patch there as well.
linux83
Cisco Networking
*LeArN To KnOw*
*LeArN To KnOw*
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Nectar not generating graph
Have you installed Settings?
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?
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?
Re: Nectar not generating graph
TheWitness wrote:Have you installed Settings?
sorry, which settings i don't get it.
Cisco Networking
*LeArN To KnOw*
*LeArN To KnOw*
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Nectar not generating graph
'pluign'
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?
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?
Re: Nectar not generating graph
yes plugin is already installed and running and the top tab is already there.TheWitness wrote:'pluign'
i found this http://forums.cacti.net/viewtopic.php?f=14&t=36695
then try to apply the patch:
1.i copy the file settings_include_functions.php.patch from /nectar/0.8.7e to main nectar directory then
2.from terminal i'm at /cacti/ directory i issue:
patch -p1 -N < plugins/nectar/settings_include_functions.php.patch
i got this error:
cacti@cacti:/var/www/cacti$ patch -p1 -N < plugins/nectar/settings_include_functions.php.patch
patching file plugins/settings/include/functions.php
Hunk #1 FAILED at 22.
Hunk #2 FAILED at 107.
patch: **** Can't create file plugins/settings/include/functions.php.orig : No such file or directory
-------------------------
then i create both files inside plugins /settings/include
then i got this error after apply the patch:
patching file plugins/settings/include/functions.php
Hunk #1 FAILED at 22.
Hunk #2 FAILED at 107.
2 out of 2 hunks FAILED -- saving rejects to file plugins/settings/include/functions.php.rej
cacti@cacti:/var/www/cacti$
help please.
Cisco Networking
*LeArN To KnOw*
*LeArN To KnOw*
Re: Nectar not generating graph
is it necessary to apply the patch' i'm running Version 0.8.7h. ?
under settings -->Misc --> Nectar Report Presets
it's there also.
linux83
under settings -->Misc --> Nectar Report Presets
it's there also.
linux83
Cisco Networking
*LeArN To KnOw*
*LeArN To KnOw*
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Nectar not generating graph
You just don't know what you are doing. You need to install the 'settings' plugin.
TheWitness
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?
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?
Re: Nectar not generating graph
TheWitness wrote:You just don't know what you are doing. You need to install the 'settings' plugin.
TheWitness
ok i got it,but my mail server is Exchange,the options is SMTP,Sendmail and PHPmail. is this mean it will not work with me?
linux83
Cisco Networking
*LeArN To KnOw*
*LeArN To KnOw*
Re: Nectar not generating graph
Hi,
i'm able to get it to work using Gmail account, however i'm unable to send to exchange account i get errors
on /var/log/mail.log.
the service account is smtp but i'm trying send to exchange also it's not working, only gmail to gamil is ok.
is it normal or i can send to exchange account.
linux83
i'm able to get it to work using Gmail account, however i'm unable to send to exchange account i get errors
on /var/log/mail.log.
the service account is smtp but i'm trying send to exchange also it's not working, only gmail to gamil is ok.
is it normal or i can send to exchange account.
linux83
Cisco Networking
*LeArN To KnOw*
*LeArN To KnOw*
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Nectar not generating graph
Your exchange server has to be setup with an smtp gateway. Research it...
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?
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?
Who is online
Users browsing this forum: No registered users and 2 guests