Nectar V0.22 released

Announcements concerning Plugins for Cacti

Moderators: Developers, Moderators

torstentfk
Cacti User
Posts: 367
Joined: Tue Apr 05, 2005 9:52 am
Location: Munich, Germany

Post by torstentfk »

TheWitness wrote:That's interesting. When you goto Plugini Management, what version does it show?

TheWitness
0.24...
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

torstentfk wrote:
TheWitness wrote:That's interesting. When you goto Plugini Management, what version does it show?

TheWitness
0.24...
Remember to simply copy the file to <path_cacti/lib. No patching required. Otherwise, I need to know where this is happening as it will have to be fixed. I'm running this version too and have no such errors. So, let me know the steps to reproduce.

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?
torstentfk
Cacti User
Posts: 367
Joined: Tue Apr 05, 2005 9:52 am
Location: Munich, Germany

Post by torstentfk »

TheWitness wrote:
torstentfk wrote:
TheWitness wrote:That's interesting. When you goto Plugini Management, what version does it show?

TheWitness
0.24...
Remember to simply copy the file to <path_cacti/lib. No patching required. Otherwise, I need to know where this is happening as it will have to be fixed. I'm running this version too and have no such errors. So, let me know the steps to reproduce.

TheWitness
Hard to reproduce:
clicked in cacti - nothing went wrong;
edited a report + save clicking -> now I get this error.
(Warning: Cannot modify header information - headers already sent by (output started at /var/www/cacti/lib/html_utility.php:513) in /var/www/cacti/plugins/nectar/nectar_webapi.php on line 89)
...
SjoerdvW
Posts: 9
Joined: Fri Nov 30, 2007 4:16 am

Post by SjoerdvW »

Great plugin!
I have a problem however.....

Im running Cacti Version 0.8.7b (installed from CactiEZ)
After updating my html_utility.php i got all kind of errors in monitoring my Windows devices.

The log shows these kind of messages:
03/19/2010 09:14:13 AM - SPINE: Poller[0] Host[38] DS[178] SS[0] WARNING: Result from SERVER not valid. Partial Result: ...
03/19/2010 09:14:13 AM - SPINE: Poller[0] ERROR: SS[999] Script Server did not start properly return message was: ''

Each poll the same error occured on the same device with an diffrent datasource. Disabling the device results in the next device giving the same errors.

Placing back the original html_utlity solved this issue, but then im not able to select a graph in nectar. Already created report items (with the new html_utility) works fine....
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

You need to let us see your Apache Log. Likely some PHP issues. I have not tested this with 0.8.7c, but it should work.

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?
SjoerdvW
Posts: 9
Joined: Fri Nov 30, 2007 4:16 am

Post by SjoerdvW »

Checked the appache log (error_log right?) but there's nothing relevant in it.

when running spine from the cli i get this output:
[root@cacti spine]# ./spine --verbosity=debug
SPINE: Using spine config file [spine.conf]
SPINE: Version 0.8.7a starting
03/19/2010 02:49:49 PM - SPINE: Poller[0] ERROR: SS[999] Script Server did not start properly return message was: ''
03/19/2010 02:49:49 PM - SPINE: Poller[0] Host[14] DS[114] SS[0] WARNING: Result from SERVER not valid. Partial Result: ...
SPINE: Time: 21.3264 s, Threads: 1, Hosts: 85

After replacing the original html_utility it gives me this output (still notthing in the error_log)

[root@cacti spine]# ./spine --verbosity=debug
SPINE: Using spine config file [spine.conf]
SPINE: Version 0.8.7a starting
SPINE: Time: 21.2940 s, Threads: 1, Hosts: 85
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

The other option is to start the script server manually from the command line with this new file in place and see what's going on. Make sure you are using SVN of course.

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?
SjoerdvW
Posts: 9
Joined: Fri Nov 30, 2007 4:16 am

Post by SjoerdvW »

Thnx for you're help, but can you please explain?

start the script server manually from the command line with this new file in place: What scipt (command) should i run?

Make sure you are using SVN. What do you mean?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

I'm sorry, I think that everyone that posts on the forums have been using Cacti for a long time. My apologies. What version of Cacti are you running?

Then, if your read the manual, you will learn how to use the script server. Also, if you goto http://www.cacti.net, there is a section, plain as day on what SVN is all about and how to get to it.

In general, to start the script server:

Code: Select all

cd <cacti_root>
php -q script_server.php
<paste something from the poller cache>
quit
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?
Locked

Who is online

Users browsing this forum: No registered users and 0 guests